|
|
@ -199,6 +199,7 @@ AVCodec pgm_decoder = { |
|
|
|
pnm_decode_frame, |
|
|
|
pnm_decode_frame, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE}, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE}, |
|
|
|
|
|
|
|
.max_lowres = 5, |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"), |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"), |
|
|
|
}; |
|
|
|
}; |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -215,6 +216,7 @@ AVCodec pgmyuv_decoder = { |
|
|
|
pnm_decode_frame, |
|
|
|
pnm_decode_frame, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, |
|
|
|
|
|
|
|
.max_lowres = 5, |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"), |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"), |
|
|
|
}; |
|
|
|
}; |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -231,6 +233,7 @@ AVCodec ppm_decoder = { |
|
|
|
pnm_decode_frame, |
|
|
|
pnm_decode_frame, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE}, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE}, |
|
|
|
|
|
|
|
.max_lowres = 5, |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"), |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"), |
|
|
|
}; |
|
|
|
}; |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -247,6 +250,7 @@ AVCodec pbm_decoder = { |
|
|
|
pnm_decode_frame, |
|
|
|
pnm_decode_frame, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_MONOWHITE, PIX_FMT_NONE}, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_MONOWHITE, PIX_FMT_NONE}, |
|
|
|
|
|
|
|
.max_lowres = 5, |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"), |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"), |
|
|
|
}; |
|
|
|
}; |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -263,6 +267,7 @@ AVCodec pam_decoder = { |
|
|
|
pnm_decode_frame, |
|
|
|
pnm_decode_frame, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
CODEC_CAP_DR1, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_NONE}, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_NONE}, |
|
|
|
|
|
|
|
.max_lowres = 5, |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"), |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"), |
|
|
|
}; |
|
|
|
}; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|