|
|
|
@ -229,7 +229,7 @@ const FFCodec ff_pgm_encoder = { |
|
|
|
|
CODEC_LONG_NAME("PGM (Portable GrayMap) image"), |
|
|
|
|
.p.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.p.id = AV_CODEC_ID_PGM, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, |
|
|
|
|
FF_CODEC_ENCODE_CB(pnm_encode_frame), |
|
|
|
|
.p.pix_fmts = (const enum AVPixelFormat[]){ |
|
|
|
|
AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY16BE, AV_PIX_FMT_NONE |
|
|
|
@ -243,7 +243,7 @@ const FFCodec ff_pgmyuv_encoder = { |
|
|
|
|
CODEC_LONG_NAME("PGMYUV (Portable GrayMap YUV) image"), |
|
|
|
|
.p.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.p.id = AV_CODEC_ID_PGMYUV, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, |
|
|
|
|
FF_CODEC_ENCODE_CB(pnm_encode_frame), |
|
|
|
|
.p.pix_fmts = (const enum AVPixelFormat[]){ |
|
|
|
|
AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV420P16BE, AV_PIX_FMT_NONE |
|
|
|
@ -257,7 +257,7 @@ const FFCodec ff_ppm_encoder = { |
|
|
|
|
CODEC_LONG_NAME("PPM (Portable PixelMap) image"), |
|
|
|
|
.p.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.p.id = AV_CODEC_ID_PPM, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, |
|
|
|
|
FF_CODEC_ENCODE_CB(pnm_encode_frame), |
|
|
|
|
.p.pix_fmts = (const enum AVPixelFormat[]){ |
|
|
|
|
AV_PIX_FMT_RGB24, AV_PIX_FMT_RGB48BE, AV_PIX_FMT_NONE |
|
|
|
@ -271,7 +271,7 @@ const FFCodec ff_pbm_encoder = { |
|
|
|
|
CODEC_LONG_NAME("PBM (Portable BitMap) image"), |
|
|
|
|
.p.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.p.id = AV_CODEC_ID_PBM, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, |
|
|
|
|
FF_CODEC_ENCODE_CB(pnm_encode_frame), |
|
|
|
|
.p.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_MONOWHITE, |
|
|
|
|
AV_PIX_FMT_NONE }, |
|
|
|
@ -284,7 +284,7 @@ const FFCodec ff_pfm_encoder = { |
|
|
|
|
CODEC_LONG_NAME("PFM (Portable FloatMap) image"), |
|
|
|
|
.p.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.p.id = AV_CODEC_ID_PFM, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, |
|
|
|
|
FF_CODEC_ENCODE_CB(pnm_encode_frame), |
|
|
|
|
.p.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_GBRPF32LE, |
|
|
|
|
AV_PIX_FMT_GRAYF32LE, |
|
|
|
@ -309,7 +309,7 @@ const FFCodec ff_phm_encoder = { |
|
|
|
|
CODEC_LONG_NAME("PHM (Portable HalfFloatMap) image"), |
|
|
|
|
.p.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.p.id = AV_CODEC_ID_PHM, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, |
|
|
|
|
.priv_data_size = sizeof(PHMEncContext), |
|
|
|
|
.init = phm_enc_init, |
|
|
|
|
FF_CODEC_ENCODE_CB(pnm_encode_frame), |
|
|
|
|