forked from FFmpeg/FFmpeg
lavc: AV-prefix a few left out capabilities
This commit is contained in:
parent
9ef748173a
commit
2d59159508
6 changed files with 6 additions and 6 deletions
|
@ -786,7 +786,7 @@ AVCodec ff_libx262_encoder = {
|
||||||
.init = X264_init,
|
.init = X264_init,
|
||||||
.encode2 = X264_frame,
|
.encode2 = X264_frame,
|
||||||
.close = X264_close,
|
.close = X264_close,
|
||||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
|
||||||
.priv_class = &X262_class,
|
.priv_class = &X262_class,
|
||||||
.defaults = x264_defaults,
|
.defaults = x264_defaults,
|
||||||
.pix_fmts = pix_fmts_8bit,
|
.pix_fmts = pix_fmts_8bit,
|
||||||
|
|
|
@ -2753,7 +2753,7 @@ AVCodec ff_mpeg_xvmc_decoder = {
|
||||||
.close = mpeg_decode_end,
|
.close = mpeg_decode_end,
|
||||||
.decode = mpeg_decode_frame,
|
.decode = mpeg_decode_frame,
|
||||||
.capabilities = AV_CODEC_CAP_DRAW_HORIZ_BAND | AV_CODEC_CAP_DR1 |
|
.capabilities = AV_CODEC_CAP_DRAW_HORIZ_BAND | AV_CODEC_CAP_DR1 |
|
||||||
AV_CODEC_CAP_TRUNCATED | CODEC_CAP_HWACCEL |
|
AV_CODEC_CAP_TRUNCATED | AV_CODEC_CAP_HWACCEL |
|
||||||
AV_CODEC_CAP_DELAY,
|
AV_CODEC_CAP_DELAY,
|
||||||
.flush = flush,
|
.flush = flush,
|
||||||
};
|
};
|
||||||
|
|
|
@ -241,7 +241,7 @@ AVCodec ff_hevc_qsv_decoder = {
|
||||||
.decode = qsv_decode_frame,
|
.decode = qsv_decode_frame,
|
||||||
.flush = qsv_decode_flush,
|
.flush = qsv_decode_flush,
|
||||||
.close = qsv_decode_close,
|
.close = qsv_decode_close,
|
||||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
|
||||||
.priv_class = &hevc_class,
|
.priv_class = &hevc_class,
|
||||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
||||||
AV_PIX_FMT_QSV,
|
AV_PIX_FMT_QSV,
|
||||||
|
|
|
@ -173,7 +173,7 @@ AVCodec ff_mpeg2_qsv_decoder = {
|
||||||
.decode = qsv_decode_frame,
|
.decode = qsv_decode_frame,
|
||||||
.flush = qsv_decode_flush,
|
.flush = qsv_decode_flush,
|
||||||
.close = qsv_decode_close,
|
.close = qsv_decode_close,
|
||||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
|
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
||||||
AV_PIX_FMT_QSV,
|
AV_PIX_FMT_QSV,
|
||||||
|
|
|
@ -263,7 +263,7 @@ AVCodec ff_hevc_qsv_encoder = {
|
||||||
.init = qsv_enc_init,
|
.init = qsv_enc_init,
|
||||||
.encode2 = qsv_enc_frame,
|
.encode2 = qsv_enc_frame,
|
||||||
.close = qsv_enc_close,
|
.close = qsv_enc_close,
|
||||||
.capabilities = CODEC_CAP_DELAY,
|
.capabilities = AV_CODEC_CAP_DELAY,
|
||||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
||||||
AV_PIX_FMT_QSV,
|
AV_PIX_FMT_QSV,
|
||||||
AV_PIX_FMT_NONE },
|
AV_PIX_FMT_NONE },
|
||||||
|
|
|
@ -108,7 +108,7 @@ AVCodec ff_mpeg2_qsv_encoder = {
|
||||||
.init = qsv_enc_init,
|
.init = qsv_enc_init,
|
||||||
.encode2 = qsv_enc_frame,
|
.encode2 = qsv_enc_frame,
|
||||||
.close = qsv_enc_close,
|
.close = qsv_enc_close,
|
||||||
.capabilities = CODEC_CAP_DELAY,
|
.capabilities = AV_CODEC_CAP_DELAY,
|
||||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
|
||||||
AV_PIX_FMT_QSV,
|
AV_PIX_FMT_QSV,
|
||||||
AV_PIX_FMT_NONE },
|
AV_PIX_FMT_NONE },
|
||||||
|
|
Loading…
Add table
Reference in a new issue