You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc: add codec ID and profiles for ProRes RAW
This commit is contained in:
@@ -1992,6 +1992,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Advanced Professional Video"),
|
||||
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
|
||||
},
|
||||
{
|
||||
.id = AV_CODEC_ID_PRORES_RAW,
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.name = "prores_raw",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Apple ProRes RAW"),
|
||||
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
|
||||
.profiles = NULL_IF_CONFIG_SMALL(ff_prores_raw_profiles),
|
||||
},
|
||||
|
||||
/* various PCM "codecs" */
|
||||
{
|
||||
|
@@ -330,6 +330,7 @@ enum AVCodecID {
|
||||
AV_CODEC_ID_RV60,
|
||||
AV_CODEC_ID_JPEGXL_ANIM,
|
||||
AV_CODEC_ID_APV,
|
||||
AV_CODEC_ID_PRORES_RAW,
|
||||
|
||||
/* various PCM "codecs" */
|
||||
AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
|
||||
|
@@ -185,6 +185,9 @@
|
||||
#define AV_PROFILE_PRORES_4444 4
|
||||
#define AV_PROFILE_PRORES_XQ 5
|
||||
|
||||
#define AV_PROFILE_PRORES_RAW 0
|
||||
#define AV_PROFILE_PRORES_RAW_HQ 1
|
||||
|
||||
#define AV_PROFILE_ARIB_PROFILE_A 0
|
||||
#define AV_PROFILE_ARIB_PROFILE_C 1
|
||||
|
||||
|
@@ -182,6 +182,12 @@ const AVProfile ff_prores_profiles[] = {
|
||||
{ AV_PROFILE_UNKNOWN }
|
||||
};
|
||||
|
||||
const AVProfile ff_prores_raw_profiles[] = {
|
||||
{ AV_PROFILE_PRORES_RAW, "RAW" },
|
||||
{ AV_PROFILE_PRORES_RAW_HQ, "RAW HQ" },
|
||||
{ AV_PROFILE_UNKNOWN }
|
||||
};
|
||||
|
||||
const AVProfile ff_mjpeg_profiles[] = {
|
||||
{ AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT, "Baseline" },
|
||||
{ AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT, "Sequential" },
|
||||
|
@@ -74,6 +74,7 @@ extern const AVProfile ff_vp9_profiles[];
|
||||
extern const AVProfile ff_av1_profiles[];
|
||||
extern const AVProfile ff_sbc_profiles[];
|
||||
extern const AVProfile ff_prores_profiles[];
|
||||
extern const AVProfile ff_prores_raw_profiles[];
|
||||
extern const AVProfile ff_mjpeg_profiles[];
|
||||
extern const AVProfile ff_arib_caption_profiles[];
|
||||
extern const AVProfile ff_evc_profiles[];
|
||||
|
@@ -240,6 +240,10 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
|
||||
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', 'c', 'o') }, /* Apple ProRes 422 Proxy */
|
||||
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', '4', 'h') }, /* Apple ProRes 4444 */
|
||||
{ AV_CODEC_ID_PRORES, MKTAG('a', 'p', '4', 'x') }, /* Apple ProRes 4444 XQ */
|
||||
|
||||
{ AV_CODEC_ID_PRORES_RAW, MKTAG('a', 'p', 'r', 'n') }, /* Apple ProRes RAW */
|
||||
{ AV_CODEC_ID_PRORES_RAW, MKTAG('a', 'p', 'r', 'h') }, /* Apple ProRes RAW HQ */
|
||||
|
||||
{ AV_CODEC_ID_FLIC, MKTAG('f', 'l', 'i', 'c') },
|
||||
|
||||
{ AV_CODEC_ID_AIC, MKTAG('i', 'c', 'o', 'd') },
|
||||
|
Reference in New Issue
Block a user