diff options
author | Baptiste Coudurier | 2009-06-05 08:29:05 +0000 |
---|---|---|
committer | Baptiste Coudurier | 2009-06-05 08:29:05 +0000 |
commit | 5f27348bd3c9da38891487bfe21c2da4840db4e4 (patch) | |
tree | db50bccf259ee819fa7a9b3c3e737af9dcdadf66 /libavcodec/pnmenc.c | |
parent | 0cf0c5bfa848e6d02ecbcb1c87c061c39a5a6e0b (diff) |
pgm, pgmyuv, ppm, pbm and pam decoders use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19097 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pnmenc.c')
-rw-r--r-- | libavcodec/pnmenc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c index 2619d90c85..c60e4da2c0 100644 --- a/libavcodec/pnmenc.c +++ b/libavcodec/pnmenc.c @@ -373,6 +373,7 @@ AVCodec pgm_decoder = { NULL, NULL, pnm_decode_frame, + CODEC_CAP_DR1, .pix_fmts= (enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"), }; @@ -401,6 +402,7 @@ AVCodec pgmyuv_decoder = { NULL, NULL, pnm_decode_frame, + CODEC_CAP_DR1, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"), }; @@ -429,6 +431,7 @@ AVCodec ppm_decoder = { NULL, NULL, pnm_decode_frame, + CODEC_CAP_DR1, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"), }; @@ -457,6 +460,7 @@ AVCodec pbm_decoder = { NULL, NULL, pnm_decode_frame, + CODEC_CAP_DR1, .pix_fmts= (enum PixelFormat[]){PIX_FMT_MONOWHITE, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"), }; @@ -485,6 +489,7 @@ AVCodec pam_decoder = { NULL, NULL, pnm_decode_frame, + CODEC_CAP_DR1, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"), }; |