Revert "all: Don't set AVClass.item_name to its default value"

Some callers assume that item_name is always set, so this may be
considered an API break.

This reverts commit 0c6203c97a.
This commit is contained in:
Anton Khirnov 2024-01-19 13:33:28 +01:00
parent a8bc79c3fd
commit 08bebeb1be
363 changed files with 408 additions and 0 deletions

View File

@ -2218,6 +2218,7 @@ static int of_parse_group_token(Muxer *mux, const char *token, char *ptr)
};
const AVClass class = {
.class_name = "StreamGroupType",
.item_name = av_default_item_name,
.option = opts,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -335,6 +335,7 @@ static int opt_abort_on(void *optctx, const char *opt, const char *arg)
};
static const AVClass class = {
.class_name = "",
.item_name = av_default_item_name,
.option = opts,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -776,6 +776,7 @@ static void destroy(VkRenderer *renderer)
static const AVClass vulkan_renderer_class = {
.class_name = "Vulkan Renderer",
.item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1069,6 +1069,7 @@ int opt_cpucount(void *optctx, const char *opt, const char *arg)
};
static const AVClass class = {
.class_name = "cpucount",
.item_name = av_default_item_name,
.option = opts,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -3447,6 +3447,7 @@ static const AVOption options[] = {
static const AVClass aac_decoder_class = {
.class_name = "AAC decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1407,6 +1407,7 @@ static const AVOption aacenc_options[] = {
static const AVClass aacenc_class = {
.class_name = "AAC encoder",
.item_name = av_default_item_name,
.option = aacenc_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -165,6 +165,7 @@ static const AVOption options[] = {
static const AVClass ac3_decoder_class = {
.class_name = "Fixed-Point AC-3 Decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -56,6 +56,7 @@ static const AVOption options[] = {
static const AVClass ac3_eac3_decoder_class = {
.class_name = "(E-)AC3 decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -130,6 +130,7 @@ const AVOption ff_ac3_enc_options[] = {
const AVClass ff_ac3enc_class = {
.class_name = "AC-3 Encoder",
.item_name = av_default_item_name,
.option = ff_ac3_enc_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -989,6 +989,7 @@ static const AVOption options[] = {
static const AVClass adpcm_encoder_class = {
.class_name = "ADPCM encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -611,6 +611,7 @@ static const AVOption options[] = {
static const AVClass alac_class = {
.class_name = "alac",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -643,6 +643,7 @@ static const AVOption options[] = {
static const AVClass alacenc_class = {
.class_name = "alacenc",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -465,6 +465,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass av1_amf_class = {
.class_name = "av1_amf",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -518,6 +518,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass h264_amf_class = {
.class_name = "h264_amf",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -433,6 +433,7 @@ static const FFCodecDefault defaults[] = {
};
static const AVClass hevc_amf_class = {
.class_name = "hevc_amf",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1744,6 +1744,7 @@ static const AVOption options[] = {
static const AVClass ape_decoder_class = {
.class_name = "APE decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -610,6 +610,7 @@ static const AVOption options[] = {
#define FFAT_ENC_CLASS(NAME) \
static const AVClass ffat_##NAME##_enc_class = { \
.class_name = "at_" #NAME "_enc", \
.item_name = av_default_item_name, \
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
};

View File

@ -211,6 +211,7 @@ static const AVOption av1_metadata_options[] = {
static const AVClass av1_metadata_class = {
.class_name = "av1_metadata_bsf",
.item_name = av_default_item_name,
.option = av1_metadata_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1485,6 +1485,7 @@ static const AVOption av1_options[] = {
static const AVClass av1_class = {
.class_name = "AV1 decoder",
.item_name = av_default_item_name,
.option = av1_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1277,6 +1277,7 @@ static const AVOption cbs_av1_options[] = {
static const AVClass cbs_av1_class = {
.class_name = "cbs_av1",
.item_name = av_default_item_name,
.option = cbs_av1_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -934,6 +934,7 @@ static const AVOption options[] = {
static const AVClass ccaption_dec_class = {
.class_name = "Closed caption Decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -849,6 +849,7 @@ static const AVOption options[] = {
static const AVClass cfhd_class = {
.class_name = "cfhd",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -148,6 +148,7 @@ static const AVOption options[] = {
static const AVClass cinepak_class = {
.class_name = "cinepak",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -103,6 +103,7 @@ static const AVOption options[] = {
static const AVClass cljr_class = {
.class_name = "cljr encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -778,6 +778,7 @@ static int crystalhd_receive_frame(AVCodecContext *avctx, AVFrame *frame)
#define DEFINE_CRYSTALHD_DECODER(x, X, bsf_name) \
static const AVClass x##_crystalhd_class = { \
.class_name = #x "_crystalhd", \
.item_name = av_default_item_name, \
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
}; \

View File

@ -1155,6 +1155,7 @@ static const AVCodecHWConfigInternal *const cuvid_hw_configs[] = {
#define DEFINE_CUVID_CODEC(x, X, bsf_name) \
static const AVClass x##_cuvid_class = { \
.class_name = #x "_cuvid", \
.item_name = av_default_item_name, \
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
}; \

View File

@ -410,6 +410,7 @@ static const AVOption dcadec_options[] = {
static const AVClass dcadec_class = {
.class_name = "DCA decoder",
.item_name = av_default_item_name,
.option = dcadec_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DECODER,

View File

@ -1300,6 +1300,7 @@ static const AVOption options[] = {
static const AVClass dcaenc_class = {
.class_name = "DCA (DTS Coherent Acoustics)",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -73,6 +73,7 @@ static const AVOption options[] = {
static const AVClass dnxhd_class = {
.class_name = "dnxhd",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1300,6 +1300,7 @@ static const AVOption options[] = {
static const AVClass dolby_e_decoder_class = {
.class_name = "Dolby E decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -93,6 +93,7 @@ static const AVOption options[] = {
static const AVClass dump_extradata_class = {
.class_name = "dump_extradata bsf",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -123,6 +123,7 @@ static const AVOption options[] = {
static const AVClass dv_error_marker_class = {
.class_name = "dv_error_marker",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1564,6 +1564,7 @@ static const AVOption options[] = {
};
static const AVClass dvbsubdec_class = {
.class_name = "DVB Sub Decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -701,6 +701,7 @@ static const AVOption options[] = {
};
static const AVClass dvdsub_class = {
.class_name = "dvdsubdec",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -496,6 +496,7 @@ static const AVOption options[] = {
static const AVClass dvdsubenc_class = {
.class_name = "VOBSUB subtitle encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1231,6 +1231,7 @@ static const AVOption dv_options[] = {
static const AVClass dvvideo_encode_class = {
.class_name = "dvvideo encoder",
.item_name = av_default_item_name,
.option = dv_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -35,6 +35,7 @@
static const AVClass eac3enc_class = {
.class_name = "E-AC-3 Encoder",
.item_name = av_default_item_name,
.option = &ff_ac3_enc_options[2], /* First two options are AC-3 only. */
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -924,6 +924,7 @@ static const AVOption options[] = {
static const AVClass evrcdec_class = {
.class_name = "evrc",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -2345,6 +2345,7 @@ static const AVOption options[] = {
static const AVClass exr_class = {
.class_name = "EXR",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -535,6 +535,7 @@ static const AVOption options[] = {
static const AVClass exr_class = {
.class_name = "exr",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -457,6 +457,7 @@ static const AVOption options[] = {
static const AVClass extract_extradata_class = {
.class_name = "extract_extradata",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1263,6 +1263,7 @@ static const AVOption options[] = {
static const AVClass ffv1_class = {
.class_name = "ffv1 encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -479,6 +479,7 @@ static const AVOption options[] = {
static const AVClass fic_decoder_class = {
.class_name = "FIC decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -268,6 +268,7 @@ static const AVOption filter_units_options[] = {
static const AVClass filter_units_class = {
.class_name = "filter_units",
.item_name = av_default_item_name,
.option = filter_units_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -316,6 +316,7 @@ static const AVOption fits_options[] = {
static const AVClass fits_decoder_class = {
.class_name = "FITS decoder",
.item_name = av_default_item_name,
.option = fits_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DECODER,

View File

@ -820,6 +820,7 @@ static const AVOption options[] = {
static const AVClass flac_decoder_class = {
.class_name = "FLAC decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1743,6 +1743,7 @@ static const AVOption options[] = {
static const AVClass flac_encoder_class = {
.class_name = "FLAC encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -110,6 +110,7 @@ static const AVOption frwu_options[] = {
static const AVClass frwu_class = {
.class_name = "frwu Decoder",
.item_name = av_default_item_name,
.option = frwu_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -51,6 +51,7 @@ static const AVOption options[] = {
static const AVClass g722_decoder_class = {
.class_name = "g722 decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1105,6 +1105,7 @@ static const AVOption options[] = {
static const AVClass g723_1dec_class = {
.class_name = "G.723.1 decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -388,6 +388,7 @@ static const AVOption options[] = {
static const AVClass g726_class = {
.class_name = "g726",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -542,6 +542,7 @@ static const AVOption gif_options[] = {
static const AVClass gif_class = {
.class_name = "GIF encoder",
.item_name = av_default_item_name,
.option = gif_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -542,6 +542,7 @@ static const AVOption options[] = {
static const AVClass decoder_class = {
.class_name = "gif decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DECODER,

View File

@ -703,6 +703,7 @@ static const AVOption h264_metadata_options[] = {
static const AVClass h264_metadata_class = {
.class_name = "h264_metadata_bsf",
.item_name = av_default_item_name,
.option = h264_metadata_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1104,6 +1104,7 @@ static const AVOption h264_options[] = {
static const AVClass h264_class = {
.class_name = "H264 Decoder",
.item_name = av_default_item_name,
.option = h264_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -483,6 +483,7 @@ static const AVOption h265_metadata_options[] = {
static const AVClass h265_metadata_class = {
.class_name = "h265_metadata_bsf",
.item_name = av_default_item_name,
.option = h265_metadata_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -130,6 +130,7 @@ static const AVOption h266_metadata_options[] = {
static const AVClass h266_metadata_class = {
.class_name = "h266_metadata_bsf",
.item_name = av_default_item_name,
.option = h266_metadata_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -341,6 +341,7 @@ static const AVOption options[] = {
static const AVClass hapenc_class = {
.class_name = "Hap encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -120,6 +120,7 @@ static const AVOption options[] = {
static const AVClass hapqa_extract_class = {
.class_name = "hapqa_extract_bsf",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -3676,6 +3676,7 @@ static const AVOption options[] = {
static const AVClass hevc_decoder_class = {
.class_name = "HEVC decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1066,12 +1066,14 @@ static const AVOption ff_options[] = {
static const AVClass normal_class = {
.class_name = "huffyuv",
.item_name = av_default_item_name,
.option = normal_options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVClass ff_class = {
.class_name = "ffvhuff",
.item_name = av_default_item_name,
.option = ff_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -896,6 +896,7 @@ static const AVOption h263_options[] = {
static const AVClass h263_class = {
.class_name = "H.263 encoder",
.item_name = av_default_item_name,
.option = h263_options,
.version = LIBAVUTIL_VERSION_INT,
};
@ -926,6 +927,7 @@ static const AVOption h263p_options[] = {
};
static const AVClass h263p_class = {
.class_name = "H.263p encoder",
.item_name = av_default_item_name,
.option = h263p_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1827,6 +1827,7 @@ static const AVOption options[] = {
static const AVClass j2k_class = {
.class_name = "jpeg 2000 encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -2543,6 +2543,7 @@ static const AVOption options[] = {
static const AVClass jpeg2000_class = {
.class_name = "jpeg2000",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -466,6 +466,7 @@ static const AVOption options[] = {
static const AVClass jpegls_class = {
.class_name = "jpegls",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1546,6 +1546,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass class_aom = {
.class_name = "libaom-av1 encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -387,6 +387,7 @@ static const AVOption options[] = {
static const AVClass aribb24_class = {
.class_name = "libaribb24 decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1161,6 +1161,7 @@ static const AVOption options[] = {
static const AVClass aribcaption_class = {
.class_name = "aribcaption decoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -43,6 +43,7 @@ static const AVOption options[] = {
static const AVClass libcodec2_enc_class = {
.class_name = "libcodec2 encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -682,6 +682,7 @@ static const AVOption libdav1d_options[] = {
static const AVClass libdav1d_class = {
.class_name = "libdav1d decoder",
.item_name = av_default_item_name,
.option = libdav1d_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -105,6 +105,7 @@ static const AVOption fdk_aac_dec_options[] = {
static const AVClass fdk_aac_dec_class = {
.class_name = "libfdk-aac decoder",
.item_name = av_default_item_name,
.option = fdk_aac_dec_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -86,6 +86,7 @@ static const AVOption aac_enc_options[] = {
static const AVClass aac_enc_class = {
.class_name = "libfdk_aac",
.item_name = av_default_item_name,
.option = aac_enc_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -62,6 +62,7 @@ static const AVOption ilbc_dec_options[] = {
static const AVClass ilbc_dec_class = {
.class_name = "libilbc",
.item_name = av_default_item_name,
.option = ilbc_dec_options,
.version = LIBAVUTIL_VERSION_INT,
};
@ -146,6 +147,7 @@ static const AVOption ilbc_enc_options[] = {
static const AVClass ilbc_enc_class = {
.class_name = "libilbc",
.item_name = av_default_item_name,
.option = ilbc_enc_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -471,6 +471,7 @@ static const AVOption libjxl_encode_options[] = {
static const AVClass libjxl_encode_class = {
.class_name = "libjxl",
.item_name = av_default_item_name,
.option = libjxl_encode_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -316,6 +316,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libkvazaar",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -321,6 +321,7 @@ static const AVOption options[] = {
static const AVClass libmp3lame_class = {
.class_name = "libmp3lame encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -190,6 +190,7 @@ static const AVOption options[] = {
static const AVClass amrnb_class = {
.class_name = "libopencore_amrnb",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -90,6 +90,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libopenh264enc",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -749,6 +749,7 @@ static const AVOption options[] = {
static const AVClass openjpeg_class = {
.class_name = "libopenjpeg",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -225,6 +225,7 @@ static const AVOption libopusdec_options[] = {
static const AVClass libopusdec_class = {
.class_name = "libopusdec",
.item_name = av_default_item_name,
.option = libopusdec_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -564,6 +564,7 @@ static const AVOption libopus_options[] = {
static const AVClass libopus_class = {
.class_name = "libopus",
.item_name = av_default_item_name,
.option = libopus_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -667,6 +667,7 @@ const enum AVPixelFormat librav1e_pix_fmts[] = {
static const AVClass class = {
.class_name = "librav1e",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -156,6 +156,7 @@ static const AVOption options[] = {
static const AVClass librsvg_decoder_class = {
.class_name = "Librsvg",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -330,6 +330,7 @@ static const AVOption options[] = {
static const AVClass speex_class = {
.class_name = "libspeex",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -671,6 +671,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libsvtav1",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -194,6 +194,7 @@ static const AVOption options[] = {
static const AVClass twolame_class = {
.class_name = "libtwolame encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -47,6 +47,7 @@ static const AVOption options[] = {
static const AVClass amrwb_class = {
.class_name = "libvo_amrwbenc",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -67,6 +67,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass vorbis_class = {
.class_name = "libvorbis",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -2023,6 +2023,7 @@ static av_cold int vp8_init(AVCodecContext *avctx)
static const AVClass class_vp8 = {
.class_name = "libvpx-vp8 encoder",
.item_name = av_default_item_name,
.option = vp8_options,
.version = LIBAVUTIL_VERSION_INT,
};
@ -2095,6 +2096,7 @@ static av_cold void vp9_init_static(FFCodec *codec)
static const AVClass class_vp9 = {
.class_name = "libvpx-vp9 encoder",
.item_name = av_default_item_name,
.option = vp9_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -53,6 +53,7 @@ static const AVOption options[] = {
const AVClass ff_libwebpenc_class = {
.class_name = "libwebp encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -1462,6 +1462,7 @@ static const FFCodecDefault x264_defaults[] = {
#if CONFIG_LIBX264_ENCODER
static const AVClass x264_class = {
.class_name = "libx264",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@ -1503,6 +1504,7 @@ FFCodec ff_libx264_encoder = {
#if CONFIG_LIBX264RGB_ENCODER
static const AVClass rgbclass = {
.class_name = "libx264rgb",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@ -1534,6 +1536,7 @@ const FFCodec ff_libx264rgb_encoder = {
#if CONFIG_LIBX262_ENCODER
static const AVClass X262_class = {
.class_name = "libx262",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -873,6 +873,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libx265",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -411,6 +411,7 @@ static const AVOption options[] = {
static const AVClass xavs_class = {
.class_name = "libxavs",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -274,6 +274,7 @@ static const AVOption options[] = {
static const AVClass libxavs2 = {
.class_name = "XAVS2EContext",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -517,6 +517,7 @@ static av_cold int libxevd_close(AVCodecContext *avctx)
static const AVClass libxevd_class = {
.class_name = "libxevd",
.item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -580,6 +580,7 @@ static const AVOption libxeve_options[] = {
static const AVClass libxeve_class = {
.class_name = "libxeve",
.item_name = av_default_item_name,
.option = libxeve_options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -892,6 +892,7 @@ static const AVOption options[] = {
static const AVClass xvid_class = {
.class_name = "libxvid",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -806,6 +806,7 @@ static const AVOption options[] = {
static const AVClass teletext_class = {
.class_name = "libzvbi_teletextdec",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -306,6 +306,7 @@ static const AVOption options[] = {
static const AVClass ljpeg_class = {
.class_name = "ljpeg",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

View File

@ -666,6 +666,7 @@ static const AVOption options[] = {
static const AVClass magicyuv_class = {
.class_name = "magicyuv",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};

Some files were not shown because too many files have changed in this diff Show More