|
|
|
@ -1088,6 +1088,7 @@ static AVClass h264_class = { |
|
|
|
|
|
|
|
|
|
AVCodec ff_h264_crystalhd_decoder = { |
|
|
|
|
.name = "h264_crystalhd", |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (CrystalHD acceleration)"), |
|
|
|
|
.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.id = AV_CODEC_ID_H264, |
|
|
|
|
.priv_data_size = sizeof(CHDContext), |
|
|
|
@ -1096,7 +1097,6 @@ AVCodec ff_h264_crystalhd_decoder = { |
|
|
|
|
.decode = decode, |
|
|
|
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY, |
|
|
|
|
.flush = flush, |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (CrystalHD acceleration)"), |
|
|
|
|
.pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE}, |
|
|
|
|
.priv_class = &h264_class, |
|
|
|
|
}; |
|
|
|
@ -1112,6 +1112,7 @@ static AVClass mpeg2_class = { |
|
|
|
|
|
|
|
|
|
AVCodec ff_mpeg2_crystalhd_decoder = { |
|
|
|
|
.name = "mpeg2_crystalhd", |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-2 Video (CrystalHD acceleration)"), |
|
|
|
|
.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.id = AV_CODEC_ID_MPEG2VIDEO, |
|
|
|
|
.priv_data_size = sizeof(CHDContext), |
|
|
|
@ -1120,7 +1121,6 @@ AVCodec ff_mpeg2_crystalhd_decoder = { |
|
|
|
|
.decode = decode, |
|
|
|
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY, |
|
|
|
|
.flush = flush, |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-2 Video (CrystalHD acceleration)"), |
|
|
|
|
.pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE}, |
|
|
|
|
.priv_class = &mpeg2_class, |
|
|
|
|
}; |
|
|
|
@ -1136,6 +1136,7 @@ static AVClass mpeg4_class = { |
|
|
|
|
|
|
|
|
|
AVCodec ff_mpeg4_crystalhd_decoder = { |
|
|
|
|
.name = "mpeg4_crystalhd", |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 (CrystalHD acceleration)"), |
|
|
|
|
.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.id = AV_CODEC_ID_MPEG4, |
|
|
|
|
.priv_data_size = sizeof(CHDContext), |
|
|
|
@ -1144,7 +1145,6 @@ AVCodec ff_mpeg4_crystalhd_decoder = { |
|
|
|
|
.decode = decode, |
|
|
|
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY, |
|
|
|
|
.flush = flush, |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 (CrystalHD acceleration)"), |
|
|
|
|
.pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE}, |
|
|
|
|
.priv_class = &mpeg4_class, |
|
|
|
|
}; |
|
|
|
@ -1160,6 +1160,7 @@ static AVClass msmpeg4_class = { |
|
|
|
|
|
|
|
|
|
AVCodec ff_msmpeg4_crystalhd_decoder = { |
|
|
|
|
.name = "msmpeg4_crystalhd", |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 Microsoft variant version 3 (CrystalHD acceleration)"), |
|
|
|
|
.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.id = AV_CODEC_ID_MSMPEG4V3, |
|
|
|
|
.priv_data_size = sizeof(CHDContext), |
|
|
|
@ -1168,7 +1169,6 @@ AVCodec ff_msmpeg4_crystalhd_decoder = { |
|
|
|
|
.decode = decode, |
|
|
|
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_EXPERIMENTAL, |
|
|
|
|
.flush = flush, |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 Microsoft variant version 3 (CrystalHD acceleration)"), |
|
|
|
|
.pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE}, |
|
|
|
|
.priv_class = &msmpeg4_class, |
|
|
|
|
}; |
|
|
|
@ -1184,6 +1184,7 @@ static AVClass vc1_class = { |
|
|
|
|
|
|
|
|
|
AVCodec ff_vc1_crystalhd_decoder = { |
|
|
|
|
.name = "vc1_crystalhd", |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1 (CrystalHD acceleration)"), |
|
|
|
|
.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.id = AV_CODEC_ID_VC1, |
|
|
|
|
.priv_data_size = sizeof(CHDContext), |
|
|
|
@ -1192,7 +1193,6 @@ AVCodec ff_vc1_crystalhd_decoder = { |
|
|
|
|
.decode = decode, |
|
|
|
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY, |
|
|
|
|
.flush = flush, |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1 (CrystalHD acceleration)"), |
|
|
|
|
.pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE}, |
|
|
|
|
.priv_class = &vc1_class, |
|
|
|
|
}; |
|
|
|
@ -1208,6 +1208,7 @@ static AVClass wmv3_class = { |
|
|
|
|
|
|
|
|
|
AVCodec ff_wmv3_crystalhd_decoder = { |
|
|
|
|
.name = "wmv3_crystalhd", |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 (CrystalHD acceleration)"), |
|
|
|
|
.type = AVMEDIA_TYPE_VIDEO, |
|
|
|
|
.id = AV_CODEC_ID_WMV3, |
|
|
|
|
.priv_data_size = sizeof(CHDContext), |
|
|
|
@ -1216,7 +1217,6 @@ AVCodec ff_wmv3_crystalhd_decoder = { |
|
|
|
|
.decode = decode, |
|
|
|
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY, |
|
|
|
|
.flush = flush, |
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 (CrystalHD acceleration)"), |
|
|
|
|
.pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE}, |
|
|
|
|
.priv_class = &wmv3_class, |
|
|
|
|
}; |
|
|
|
|