comparison indeo5.c @ 12181:0885e7a93ed4 libavcodec

Fix Doxygen @param command attribute syntax. The [in] and [out] attributes have to be appended to the @param command.
author diego
date Sat, 17 Jul 2010 10:43:42 +0000
parents fdafbcef52f5
children
comparison
equal deleted inserted replaced
12180:b24153464669 12181:0885e7a93ed4
82 /** 82 /**
83 * Decode Indeo5 GOP (Group of pictures) header. 83 * Decode Indeo5 GOP (Group of pictures) header.
84 * This header is present in key frames only. 84 * This header is present in key frames only.
85 * It defines parameters for all frames in a GOP. 85 * It defines parameters for all frames in a GOP.
86 * 86 *
87 * @param ctx [in,out] ptr to the decoder context 87 * @param[in,out] ctx ptr to the decoder context
88 * @param avctx [in] ptr to the AVCodecContext 88 * @param[in] avctx ptr to the AVCodecContext
89 * @return result code: 0 = OK, -1 = error 89 * @return result code: 0 = OK, -1 = error
90 */ 90 */
91 static int decode_gop_header(IVI5DecContext *ctx, AVCodecContext *avctx) 91 static int decode_gop_header(IVI5DecContext *ctx, AVCodecContext *avctx)
92 { 92 {
93 int result, i, p, tile_size, pic_size_indx, mb_size, blk_size; 93 int result, i, p, tile_size, pic_size_indx, mb_size, blk_size;
296 296
297 297
298 /** 298 /**
299 * Skip a header extension. 299 * Skip a header extension.
300 * 300 *
301 * @param gb [in,out] the GetBit context 301 * @param[in,out] gb the GetBit context
302 */ 302 */
303 static inline void skip_hdr_extension(GetBitContext *gb) 303 static inline void skip_hdr_extension(GetBitContext *gb)
304 { 304 {
305 int i, len; 305 int i, len;
306 306
312 312
313 313
314 /** 314 /**
315 * Decode Indeo5 picture header. 315 * Decode Indeo5 picture header.
316 * 316 *
317 * @param ctx [in,out] ptr to the decoder context 317 * @param[in,out] ctx ptr to the decoder context
318 * @param avctx [in] ptr to the AVCodecContext 318 * @param[in] avctx ptr to the AVCodecContext
319 * @return result code: 0 = OK, -1 = error 319 * @return result code: 0 = OK, -1 = error
320 */ 320 */
321 static int decode_pic_hdr(IVI5DecContext *ctx, AVCodecContext *avctx) 321 static int decode_pic_hdr(IVI5DecContext *ctx, AVCodecContext *avctx)
322 { 322 {
323 if (get_bits(&ctx->gb, 5) != 0x1F) { 323 if (get_bits(&ctx->gb, 5) != 0x1F) {
364 364
365 365
366 /** 366 /**
367 * Decode Indeo5 band header. 367 * Decode Indeo5 band header.
368 * 368 *
369 * @param ctx [in,out] ptr to the decoder context 369 * @param[in,out] ctx ptr to the decoder context
370 * @param band [in,out] ptr to the band descriptor 370 * @param[in,out] band ptr to the band descriptor
371 * @param avctx [in] ptr to the AVCodecContext 371 * @param[in] avctx ptr to the AVCodecContext
372 * @return result code: 0 = OK, -1 = error 372 * @return result code: 0 = OK, -1 = error
373 */ 373 */
374 static int decode_band_hdr(IVI5DecContext *ctx, IVIBandDesc *band, 374 static int decode_band_hdr(IVI5DecContext *ctx, IVIBandDesc *band,
375 AVCodecContext *avctx) 375 AVCodecContext *avctx)
376 { 376 {
433 433
434 /** 434 /**
435 * Decode info (block type, cbp, quant delta, motion vector) 435 * Decode info (block type, cbp, quant delta, motion vector)
436 * for all macroblocks in the current tile. 436 * for all macroblocks in the current tile.
437 * 437 *
438 * @param ctx [in,out] ptr to the decoder context 438 * @param[in,out] ctx ptr to the decoder context
439 * @param band [in,out] ptr to the band descriptor 439 * @param[in,out] band ptr to the band descriptor
440 * @param tile [in,out] ptr to the tile descriptor 440 * @param[in,out] tile ptr to the tile descriptor
441 * @param avctx [in] ptr to the AVCodecContext 441 * @param[in] avctx ptr to the AVCodecContext
442 * @return result code: 0 = OK, -1 = error 442 * @return result code: 0 = OK, -1 = error
443 */ 443 */
444 static int decode_mb_info(IVI5DecContext *ctx, IVIBandDesc *band, 444 static int decode_mb_info(IVI5DecContext *ctx, IVIBandDesc *band,
445 IVITile *tile, AVCodecContext *avctx) 445 IVITile *tile, AVCodecContext *avctx)
446 { 446 {
557 557
558 558
559 /** 559 /**
560 * Decode an Indeo5 band. 560 * Decode an Indeo5 band.
561 * 561 *
562 * @param ctx [in,out] ptr to the decoder context 562 * @param[in,out] ctx ptr to the decoder context
563 * @param band [in,out] ptr to the band descriptor 563 * @param[in,out] band ptr to the band descriptor
564 * @param avctx [in] ptr to the AVCodecContext 564 * @param[in] avctx ptr to the AVCodecContext
565 * @return result code: 0 = OK, -1 = error 565 * @return result code: 0 = OK, -1 = error
566 */ 566 */
567 static int decode_band(IVI5DecContext *ctx, int plane_num, 567 static int decode_band(IVI5DecContext *ctx, int plane_num,
568 IVIBandDesc *band, AVCodecContext *avctx) 568 IVIBandDesc *band, AVCodecContext *avctx)
569 { 569 {
647 647
648 648
649 /** 649 /**
650 * Switch buffers. 650 * Switch buffers.
651 * 651 *
652 * @param ctx [in,out] ptr to the decoder context 652 * @param[in,out] ctx ptr to the decoder context
653 */ 653 */
654 static void switch_buffers(IVI5DecContext *ctx) 654 static void switch_buffers(IVI5DecContext *ctx)
655 { 655 {
656 switch (ctx->prev_frame_type) { 656 switch (ctx->prev_frame_type) {
657 case FRAMETYPE_INTRA: 657 case FRAMETYPE_INTRA: