Mercurial > libavcodec.hg
changeset 9801:7f15f8f14e97 libavcodec
pgm, pgmyuv, ppm, pbm and pam decoders use get_buffer, set CODEC_CAP_DR1
author | bcoudurier |
---|---|
date | Fri, 05 Jun 2009 08:29:05 +0000 |
parents | a9011e7defee |
children | aebbb6c631b6 |
files | pnmenc.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pnmenc.c Fri Jun 05 08:21:54 2009 +0000 +++ b/pnmenc.c Fri Jun 05 08:29:05 2009 +0000 @@ -373,6 +373,7 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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"), };