FFmpeg
|
#include <codec.h>
Data Fields | |
const char * | name |
Name of the codec implementation. More... | |
const char * | long_name |
Descriptive name for the codec, meant to be more human readable than name. More... | |
enum AVMediaType | type |
enum AVCodecID | id |
int | capabilities |
Codec capabilities. More... | |
uint8_t | max_lowres |
maximum value for lowres supported by the decoder More... | |
const AVRational * | supported_framerates |
array of supported framerates, or NULL if any, array is terminated by {0,0} More... | |
enum AVPixelFormat * | pix_fmts |
array of supported pixel formats, or NULL if unknown, array is terminated by -1 More... | |
const int * | supported_samplerates |
array of supported audio samplerates, or NULL if unknown, array is terminated by 0 More... | |
enum AVSampleFormat * | sample_fmts |
array of supported sample formats, or NULL if unknown, array is terminated by -1 More... | |
const AVClass * | priv_class |
AVClass for the private context. More... | |
const AVProfile * | profiles |
array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} More... | |
const char * | wrapper_name |
Group name of the codec implementation. More... | |
const AVChannelLayout * | ch_layouts |
Array of supported channel layouts, terminated with a zeroed layout. More... | |
const char* AVCodec::name |
Name of the codec implementation.
The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name). This is the primary way to find a codec from the user perspective.
Definition at line 191 of file codec.h.
Referenced by convert_from_tensorflow.Operand::__str__(), avcodec_get_name(), avcodec_open2(), avcodec_string(), choose_pixel_fmt(), context_to_name(), cuvid_test_capabilities(), dshow_cycle_formats(), find_codec_by_name(), find_codec_or_die(), get_compliance_normal_pix_fmts(), hw_device_setup_for_decode(), init(), main(), new_output_stream(), print_codecs(), print_codecs_for_id(), show_codecs(), thread_set_name(), transcode_init(), and video_decode().
const char* AVCodec::long_name |
Descriptive name for the codec, meant to be more human readable than name.
You should use the NULL_IF_CONFIG_SMALL() macro to define it.
Definition at line 196 of file codec.h.
Referenced by print_codecs().
enum AVMediaType AVCodec::type |
Definition at line 197 of file codec.h.
Referenced by avcodec_decode_subtitle2(), avcodec_open2(), choose_decoder(), decode_packet(), decode_simple_internal(), encode_receive_packet_internal(), encode_send_frame_internal(), ff_decode_frame_props(), ff_encode_alloc_frame(), ff_encode_encode_cb(), ff_frame_thread_init(), find_codec_or_die(), init_context_defaults(), init_output_stream(), init_output_stream_encode(), LLVMFuzzerTestOneInput(), main(), and mf_create().
enum AVCodecID AVCodec::id |
Definition at line 198 of file codec.h.
Referenced by a64multi_encode_init(), adpcm_compress_trellis(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_init(), amf_copy_buffer(), amf_init_encoder(), avcodec_open2(), binkaudio_receive_frame(), choose_decoder(), compute_dar(), cuvid_decode_init(), decode_init(), dpcm_decode_frame(), dpcm_decode_init(), eightsvx_decode_init(), encode_init(), ff_amf_receive_packet(), ff_aptx_init(), ff_h263_decode_init(), ff_mjpeg_decode_init(), ff_mpv_decode_init(), ff_mpv_encode_init(), ff_print_debug_info2(), ff_wma_init(), find_codec(), find_probe_decoder(), get_nb_samples(), ifile_open(), init(), init_context_defaults(), init_output_stream_encode(), LLVMFuzzerTestOneInput(), main(), map_auto_subtitle(), mf_create(), nvdec_mpeg4_start_frame(), nvenc_check_capabilities(), nvenc_codec_specific_pic_params(), nvenc_setup_codec_config(), nvenc_setup_device(), nvenc_setup_encoder(), omx_component_init(), omx_encode_init(), pcm_decode_frame(), pcm_encode_frame(), pcm_encode_init(), prepare_sei_data_array(), set_constqp(), set_vbr(), siren_init(), stream_component_open(), transcode_init(), vaapi_mpeg4_start_frame(), vdpau_mpeg4_start_frame(), vp78_decode_init(), and wma_decode_init().
int AVCodec::capabilities |
Codec capabilities.
see AV_CODEC_CAP_*
Definition at line 203 of file codec.h.
Referenced by apply_param_change(), av1_init_static(), avcodec_decode_subtitle2(), avcodec_flush_buffers(), avcodec_open2(), decode_receive_frame_internal(), decode_simple_internal(), encode_send_frame_internal(), encode_simple_internal(), ff_encode_encode_cb(), ff_encode_preinit(), ff_frame_thread_encoder_init(), ff_mpv_encode_init(), ff_mpv_encode_picture(), find_codec(), find_probe_decoder(), init_output_stream(), main(), print_codecs(), reap_filters(), submit_packet(), try_decode_frame(), vaapi_encode_output(), and validate_thread_parameters().
uint8_t AVCodec::max_lowres |
maximum value for lowres supported by the decoder
Definition at line 204 of file codec.h.
Referenced by ff_decode_preinit(), and stream_component_open().
const AVRational* AVCodec::supported_framerates |
array of supported framerates, or NULL if any, array is terminated by {0,0}
Definition at line 205 of file codec.h.
Referenced by init_output_stream_encode(), and main().
enum AVPixelFormat* AVCodec::pix_fmts |
array of supported pixel formats, or NULL if unknown, array is terminated by -1
Definition at line 206 of file codec.h.
Referenced by av1_init_static(), choose_pix_fmts(), choose_pixel_fmt(), encode_preinit_video(), ff_vp9_init_static(), ffmmal_init_decoder(), h263_get_format(), libx265_encode_init_csp(), main(), open_output_file(), vc1_decode_init(), vc1_get_format(), and X264_init_static().
const int* AVCodec::supported_samplerates |
array of supported audio samplerates, or NULL if unknown, array is terminated by 0
Definition at line 207 of file codec.h.
Referenced by encode_preinit_audio(), main(), sbc_encode_init(), and select_sample_rate().
enum AVSampleFormat* AVCodec::sample_fmts |
array of supported sample formats, or NULL if unknown, array is terminated by -1
Definition at line 208 of file codec.h.
Referenced by check_sample_fmt(), encode_preinit_audio(), main(), open_output_file(), and pcm_decode_init().
const AVClass* AVCodec::priv_class |
AVClass for the private context.
Definition at line 216 of file codec.h.
Referenced by avcodec_close(), avcodec_open2(), ff_frame_thread_encoder_init(), ff_frame_thread_free(), filter_codec_opts(), init_context_defaults(), init_thread(), priv_data_size_wrong(), and show_stream().
const AVProfile* AVCodec::profiles |
array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
Definition at line 217 of file codec.h.
Referenced by av_get_profile_name().
const char* AVCodec::wrapper_name |
Group name of the codec implementation.
This is a short symbolic name of the wrapper backing this codec. A wrapper uses some kind of external implementation for the codec, such as an external library, or a codec implementation provided by the OS or the hardware. If this field is NULL, this is a builtin, libavcodec native codec. If non-NULL, this will be the suffix in AVCodec.name in most cases (usually AVCodec.name will be of the form "<codec_name>_<wrapper_name>").
const AVChannelLayout* AVCodec::ch_layouts |
Array of supported channel layouts, terminated with a zeroed layout.
Definition at line 234 of file codec.h.
Referenced by encode_preinit_audio(), main(), and select_channel_layout().