Mercurial > libavcodec.hg
comparison h264.h @ 11556:b94e1810ce4c libavcodec
Replace @returns by @return.
author | benoit |
---|---|
date | Tue, 30 Mar 2010 15:50:57 +0000 |
parents | 2a4dc3c0b012 |
children | 44c5c540722c |
comparison
equal
deleted
inserted
replaced
11555:e603f624b03f | 11556:b94e1810ce4c |
---|---|
621 /** | 621 /** |
622 * Decodes a network abstraction layer unit. | 622 * Decodes a network abstraction layer unit. |
623 * @param consumed is the number of bytes used as input | 623 * @param consumed is the number of bytes used as input |
624 * @param length is the length of the array | 624 * @param length is the length of the array |
625 * @param dst_length is the number of decoded bytes FIXME here or a decode rbsp tailing? | 625 * @param dst_length is the number of decoded bytes FIXME here or a decode rbsp tailing? |
626 * @returns decoded bytes, might be src+1 if no escapes | 626 * @return decoded bytes, might be src+1 if no escapes |
627 */ | 627 */ |
628 const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src, int *dst_length, int *consumed, int length); | 628 const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src, int *dst_length, int *consumed, int length); |
629 | 629 |
630 /** | 630 /** |
631 * identifies the exact end of the bitstream | 631 * identifies the exact end of the bitstream |
683 av_cold int ff_h264_decode_end(AVCodecContext *avctx); | 683 av_cold int ff_h264_decode_end(AVCodecContext *avctx); |
684 av_cold void ff_h264_decode_init_vlc(void); | 684 av_cold void ff_h264_decode_init_vlc(void); |
685 | 685 |
686 /** | 686 /** |
687 * decodes a macroblock | 687 * decodes a macroblock |
688 * @returns 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed | 688 * @return 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed |
689 */ | 689 */ |
690 int ff_h264_decode_mb_cavlc(H264Context *h); | 690 int ff_h264_decode_mb_cavlc(H264Context *h); |
691 | 691 |
692 /** | 692 /** |
693 * decodes a CABAC coded macroblock | 693 * decodes a CABAC coded macroblock |
694 * @returns 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed | 694 * @return 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed |
695 */ | 695 */ |
696 int ff_h264_decode_mb_cabac(H264Context *h); | 696 int ff_h264_decode_mb_cabac(H264Context *h); |
697 | 697 |
698 void ff_h264_init_cabac_states(H264Context *h); | 698 void ff_h264_init_cabac_states(H264Context *h); |
699 | 699 |
1163 h->neighbor_transform_size= !!IS_8x8DCT(top_type) + !!IS_8x8DCT(left_type[0]); | 1163 h->neighbor_transform_size= !!IS_8x8DCT(top_type) + !!IS_8x8DCT(left_type[0]); |
1164 } | 1164 } |
1165 | 1165 |
1166 /** | 1166 /** |
1167 * | 1167 * |
1168 * @returns non zero if the loop filter can be skiped | 1168 * @return non zero if the loop filter can be skiped |
1169 */ | 1169 */ |
1170 static int fill_filter_caches(H264Context *h, int mb_type){ | 1170 static int fill_filter_caches(H264Context *h, int mb_type){ |
1171 MpegEncContext * const s = &h->s; | 1171 MpegEncContext * const s = &h->s; |
1172 const int mb_xy= h->mb_xy; | 1172 const int mb_xy= h->mb_xy; |
1173 int top_xy, left_xy[2]; | 1173 int top_xy, left_xy[2]; |