comparison h263dec.c @ 12108:c35d7bc64882 libavcodec

Add new decoder property max_lowres and do not init decoder if requested value is higher.
author cehoyos
date Wed, 07 Jul 2010 21:23:36 +0000
parents 9c35a3dbea9b
children 3fc4c625b6f3
comparison
equal deleted inserted replaced
12107:1e4996a88ca5 12108:c35d7bc64882
736 NULL, 736 NULL,
737 ff_h263_decode_end, 737 ff_h263_decode_end,
738 ff_h263_decode_frame, 738 ff_h263_decode_frame,
739 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, 739 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
740 .flush= ff_mpeg_flush, 740 .flush= ff_mpeg_flush,
741 .max_lowres= 3,
741 .long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), 742 .long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"),
742 .pix_fmts= ff_hwaccel_pixfmt_list_420, 743 .pix_fmts= ff_hwaccel_pixfmt_list_420,
743 }; 744 };