Libavcodec external API header. More...
#include <errno.h>
#include "libavutil/samplefmt.h"
#include "libavutil/attributes.h"
#include "libavutil/avutil.h"
#include "libavutil/buffer.h"
#include "libavutil/cpu.h"
#include "libavutil/channel_layout.h"
#include "libavutil/dict.h"
#include "libavutil/frame.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "version.h"
#include "libavutil/mem.h"
#include "old_codec_ids.h"
Go to the source code of this file.
Libavcodec external API header.
Definition in file avcodec.h.
Definition at line 1300 of file avcodec.h.
Referenced by alac_encode_init(), encode_frame(), encode_init(), mp3lame_encode_init(), and wavpack_encode_init().
Definition at line 1405 of file avcodec.h.
Referenced by decode_vol_header(), ff_h263_aspect_to_info(), ff_h263_decode_picture_header(), ff_h263_encode_picture_header(), and mpeg4_encode_vol_header().
Definition at line 1490 of file avcodec.h.
Referenced by ff_rate_control_init(), ff_rate_control_uninit(), and ff_rate_estimate_qscale().
Definition at line 1580 of file avcodec.h.
Referenced by utvideo_encode_init().
Definition at line 1623 of file avcodec.h.
Referenced by config_props(), ff_init_me(), ff_set_cmp(), and get_penalty_factor().
Definition at line 1624 of file avcodec.h.
Referenced by config_props(), ff_estimate_p_frame_motion(), ff_set_cmp(), and get_penalty_factor().
Definition at line 1625 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
Definition at line 1626 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
Definition at line 1627 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
Definition at line 1628 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
Definition at line 1629 of file avcodec.h.
Referenced by ff_set_cmp(), get_penalty_factor(), h263_mv4_search(), and interlaced_search().
Definition at line 1630 of file avcodec.h.
Referenced by ff_set_cmp().
Definition at line 1631 of file avcodec.h.
Referenced by ff_set_cmp().
Definition at line 1632 of file avcodec.h.
Referenced by encode_mb_internal(), and ff_set_cmp().
Definition at line 1633 of file avcodec.h.
Referenced by ff_set_cmp(), get_penalty_factor(), and sse_mb().
Definition at line 1634 of file avcodec.h.
Referenced by ff_set_cmp(), get_block_rd(), and get_penalty_factor().
Definition at line 1635 of file avcodec.h.
Referenced by ff_set_cmp(), get_block_rd(), and get_penalty_factor().
Definition at line 1636 of file avcodec.h.
Referenced by add_codec(), and ff_set_cmp().
Definition at line 1637 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
Definition at line 1638 of file avcodec.h.
Referenced by check_bidir_mv(), ff_init_me(), h263_mv4_search(), X264_init(), and XAVS_init().
Definition at line 1714 of file avcodec.h.
Referenced by dnxhd_encode_init(), and ff_MPV_encode_init().
draw_horiz_band() is called in coded order instead of display
Definition at line 1729 of file avcodec.h.
Referenced by ff_draw_horiz_band(), and ff_h264_draw_horiz_band().
allow draw_horiz_band() with field slices (MPEG2 field pics)
Definition at line 1730 of file avcodec.h.
Referenced by ff_draw_horiz_band(), ff_h264_draw_horiz_band(), and mpeg_field_start().
uses mb_cmp
Definition at line 1749 of file avcodec.h.
Referenced by clip_coeffs(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), and ff_MPV_encode_init().
chooses the one which needs the fewest bits
Definition at line 1750 of file avcodec.h.
Referenced by encode_thread(), and parse_ffconfig().
rate distortion
Definition at line 1751 of file avcodec.h.
Referenced by dnxhd_calc_bits_thread(), dnxhd_encode_picture(), dnxhd_init_rc(), encode_mb_hq(), ff_MPV_encode_init(), and MPV_decode_mb_internal().
Definition at line 2334 of file avcodec.h.
Referenced by libschroedinger_encode_init().
Definition at line 2335 of file avcodec.h.
Referenced by X264_init().
Definition at line 2336 of file avcodec.h.
Referenced by encode_frame(), sunrast_encode_init(), and targa_encode_frame().
Definition at line 2337 of file avcodec.h.
Referenced by sunrast_encode_init().
autodetection
Definition at line 2474 of file avcodec.h.
Referenced by decode_slice(), ff_mpeg4_workaround_bugs(), and get_bit_length().
Definition at line 2478 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and mpeg4_decode_mb().
Definition at line 2479 of file avcodec.h.
Referenced by decode_vop_header(), and ff_mpeg4_workaround_bugs().
Definition at line 2480 of file avcodec.h.
Referenced by decode_slice(), and mpeg4_is_resync().
Definition at line 2485 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and qpel_motion().
Definition at line 2486 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs().
Definition at line 2487 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and qpel_motion().
Definition at line 2488 of file avcodec.h.
Referenced by ff_mpeg4_set_direct_mv(), and ff_mpeg4_workaround_bugs().
Definition at line 2489 of file avcodec.h.
Referenced by decode_vop_header(), and ff_mpeg4_workaround_bugs().
Definition at line 2490 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and mpeg_motion_internal().
Definition at line 2491 of file avcodec.h.
Referenced by ff_mpeg4_pred_dc(), and ff_mpeg4_workaround_bugs().
Work around various bugs in Microsoft's broken decoders.
Definition at line 2492 of file avcodec.h.
Referenced by encode_init(), ff_mpeg4_encode_picture_header(), and mpeg4_encode_vol_header().
Definition at line 2493 of file avcodec.h.
Referenced by decode_slice(), and get_bit_length().
Strictly conform to an older more strict version of the spec or reference software.
Definition at line 2508 of file avcodec.h.
Referenced by ff_mpeg4_encode_picture_header().
Strictly conform to all the things in the spec no matter what consequences.
Definition at line 2509 of file avcodec.h.
Referenced by decode_postinit(), and set_default_channel_config().
Definition at line 2510 of file avcodec.h.
Referenced by decode_frame(), dvbsub_parse_clut_segment(), encode_init(), ff_fix_long_p_mvs(), ff_get_best_fcode(), ff_put_wav_header(), mkv_query_codec(), mov_get_codec_tag(), validate_codec_tag(), and yuv4_write_header().
Allow unofficial extensions.
Definition at line 2511 of file avcodec.h.
Referenced by amr_wb_encode_init(), amv_encode_picture(), avcodec_open2(), choose_pix_fmts(), choose_pixel_fmt(), encode_frame(), encode_init(), ff_MPV_encode_init(), find_frame_rate_index(), flv_write_header(), libgsm_encode_init(), and ljpeg_encode_init().
Allow nonstandardized experimental things.
Definition at line 2512 of file avcodec.h.
Referenced by avcodec_open2(), config(), config_props(), encode_init(), ff_MPV_encode_init(), libx265_encode_init(), and nut_write_header().
Definition at line 2520 of file avcodec.h.
Referenced by guess_mv().
Definition at line 2521 of file avcodec.h.
Referenced by ff_er_frame_end().
Definition at line 2522 of file avcodec.h.
Referenced by is_intra_more_likely().
Definition at line 2530 of file avcodec.h.
Referenced by decode_ext_header(), decode_fill(), decode_frame(), decode_frame_packing_arrangement(), decode_init(), decode_picture_timing(), decode_recovery_point(), decode_vol_header(), decode_vop_header(), ff_flv_decode_picture_header(), ff_h263_show_pict_info(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sos(), ff_msmpeg4_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), mjpeg_decode_app(), mjpeg_decode_com(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg_decode_gop(), mpeg_decode_picture_display_extension(), mpeg_decode_sequence_display_extension(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), parse_avid(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), read_extra_header(), rv10_decode_init(), rv20_decode_picture_header(), svq3_decode_frame(), truemotion1_decode_header(), and vc1_decode_frame().
Definition at line 2531 of file avcodec.h.
Referenced by ff_rate_estimate_qscale(), ff_vbv_update(), and modify_qscale().
Definition at line 2532 of file avcodec.h.
Referenced by decode_init(), ff_hevc_decode_nal_sps(), and pcm_bluray_decode_frame().
Definition at line 2533 of file avcodec.h.
Referenced by ff_print_debug_info2().
Definition at line 2534 of file avcodec.h.
Referenced by ff_mjpeg_decode_frame(), ff_print_debug_info2(), and mjpegb_decode_frame().
Definition at line 2541 of file avcodec.h.
Referenced by check_keyboard_interaction(), and MPV_decode_mb_internal().
Definition at line 2542 of file avcodec.h.
Referenced by ff_print_debug_info2().
Definition at line 2543 of file avcodec.h.
Referenced by decode_chunks(), decode_frame(), decode_nal_units(), dvbsub_decode(), ff_h264_decode_sei(), ff_mjpeg_decode_frame(), ff_mpeg4_decode_picture_header(), and mjpeg_decode_app().
Definition at line 2544 of file avcodec.h.
Referenced by decode_vop_header().
Definition at line 2545 of file avcodec.h.
Referenced by ff_er_frame_end().
Definition at line 2546 of file avcodec.h.
Referenced by ff_h264_execute_ref_pic_marking(), find_short(), print_long_term(), print_short_term(), and remove_short().
Definition at line 2547 of file avcodec.h.
Referenced by decode_unregistered_user_data(), and ff_mpeg4_workaround_bugs().
only access through AVOptions from outside libavcodec
Definition at line 2549 of file avcodec.h.
Referenced by check_keyboard_interaction(), ff_frame_thread_init(), and ff_print_debug_info2().
only access through AVOptions from outside libavcodec
Definition at line 2550 of file avcodec.h.
Referenced by check_keyboard_interaction(), ff_frame_thread_init(), and ff_print_debug_info2().
Definition at line 2552 of file avcodec.h.
Referenced by audio_get_buffer(), ff_thread_release_buffer(), and video_get_buffer().
Definition at line 2553 of file avcodec.h.
Referenced by ff_thread_await_progress(), and ff_thread_report_progress().
Definition at line 2554 of file avcodec.h.
Referenced by ff_dct_common_init(), and ff_MPV_frame_start().
Definition at line 2564 of file avcodec.h.
Referenced by ff_print_debug_info2().
Definition at line 2565 of file avcodec.h.
Referenced by ff_print_debug_info2().
Definition at line 2566 of file avcodec.h.
Referenced by ff_print_debug_info2().
Verify checksums embedded in the bitstream (could be of either encoded or decoded data, depending on the codec) and print an error message on mismatch.
If AV_EF_EXPLODE is also set, a mismatching checksum will result in the decoder returning an error.
Definition at line 2582 of file avcodec.h.
Referenced by ac3_decode_frame(), decode_frame(), decode_init(), flac_decode_frame(), hevc_decode_frame(), read_specific_config(), tak_decode_frame(), tta_decode_frame(), wv_unpack_mono(), and wv_unpack_stereo().
detect bitstream specification deviations
Definition at line 2583 of file avcodec.h.
Referenced by ff_mpeg4_pred_dc(), ff_msmpeg4_decode_block(), h261_decode_gob_header(), h263_decode_block(), huffman_decode(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg4_decode_block(), mpeg4_decode_dc(), and mpeg_decode_slice().
detect improper bitstream length
Definition at line 2584 of file avcodec.h.
Referenced by decode_slice(), and huffman_decode().
abort decoding on minor error detection
Definition at line 2585 of file avcodec.h.
Referenced by aac_decode_init(), ac3_decode_frame(), avcodec_decode_audio4(), avcodec_decode_video2(), avi_read_header(), decode(), decode_chunks(), decode_frame(), decode_nal_unit(), decode_nal_units(), decode_region_inter(), decode_region_masked(), decode_rle(), display_end_segment(), ebml_parse_id(), ff_ccitt_unpack(), ff_er_frame_end(), ff_flac_parse_picture(), ff_h263_decode_frame(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_hevc_decode_nal_sps(), ff_hevc_decode_nal_vps(), ff_mjpeg_decode_frame(), ff_rm_read_mdpr_codecdata(), flac_decode_frame(), hevc_decode_frame(), hls_slice_header(), init_dimensions(), matroska_read_header(), mjpegb_decode_frame(), mpeg_decode_frame(), mxpeg_decode_frame(), ogg_read_header(), opus_decode_frame(), opus_decode_subpacket(), parse_presentation_segment(), pcx_decode_frame(), read_header(), slice_decode_thread(), tak_decode_frame(), tak_read_header(), tiff_decode_tag(), tta_decode_frame(), v410_decode_init(), vc1_decode_frame(), wavpack_decode_block(), and wv_unpack_mono().
ignore errors and continue
Definition at line 2587 of file avcodec.h.
Referenced by decode_slice(), and mpeg4_decode_block().
consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors
Definition at line 2588 of file avcodec.h.
Referenced by ac3_decode_frame(), decode_frame(), decode_init(), and read_specific_config().
consider all spec non compliances as errors
Definition at line 2589 of file avcodec.h.
Referenced by ff_msmpeg4_decode_block(), flac_decode_frame(), h261_decode_gob_header(), h263_decode_block(), huffman_decode(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg4_decode_dc(), and tak_decode_frame().
consider things that a sane encoder should not do as an error
Definition at line 2590 of file avcodec.h.
Referenced by decode_slice(), ff_mpeg4_pred_dc(), huffman_decode(), mpeg4_decode_block(), mpeg4_decode_mb(), and mpeg_decode_slice().
Definition at line 2634 of file avcodec.h.
Referenced by ff_dct_encode_init_x86(), ff_fdctdsp_init_ppc(), ff_fdctdsp_init_x86(), and ff_MPV_common_init_ppc().
Definition at line 2635 of file avcodec.h.
Referenced by ff_fdctdsp_init(), and parse_ffconfig().
Definition at line 2637 of file avcodec.h.
Referenced by ff_dct_encode_init_x86(), and ff_fdctdsp_init_x86().
Definition at line 2638 of file avcodec.h.
Referenced by ff_fdctdsp_init_ppc(), and ff_MPV_common_init_ppc().
Definition at line 2639 of file avcodec.h.
Referenced by ff_fdctdsp_init().
Definition at line 2647 of file avcodec.h.
Referenced by decode_init(), ff_idctdsp_init_alpha(), ff_idctdsp_init_arm(), ff_idctdsp_init_armv5te(), ff_idctdsp_init_armv6(), ff_idctdsp_init_neon(), ff_idctdsp_init_ppc(), ff_idctdsp_init_x86(), ff_mpeg4_workaround_bugs(), and setup_hwaccel_for_pixfmt().
Definition at line 2648 of file avcodec.h.
Referenced by ff_idctdsp_init().
Definition at line 2649 of file avcodec.h.
Referenced by decode_init(), parse_ffconfig(), and setup_hwaccel_for_pixfmt().
Definition at line 2650 of file avcodec.h.
Referenced by ff_idctdsp_init_x86().
Definition at line 2651 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
Definition at line 2652 of file avcodec.h.
Referenced by ff_idctdsp_init_ppc().
Definition at line 2656 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
Definition at line 2658 of file avcodec.h.
Referenced by ff_idctdsp_init_x86(), and ff_mpeg4_workaround_bugs().
Definition at line 2659 of file avcodec.h.
Referenced by ff_idctdsp_init_armv5te().
Definition at line 2660 of file avcodec.h.
Referenced by ff_idctdsp_init_armv6().
Definition at line 2664 of file avcodec.h.
Referenced by ff_idctdsp_init().
Definition at line 2665 of file avcodec.h.
Referenced by ff_idctdsp_init_neon().
Definition at line 2667 of file avcodec.h.
Referenced by ff_idctdsp_init_alpha().
Definition at line 2669 of file avcodec.h.
Referenced by ff_idctdsp_init_armv5te(), ff_idctdsp_init_neon(), and ff_idctdsp_init_x86().
Decode more than one frame at once.
Definition at line 2720 of file avcodec.h.
Referenced by avcodec_decode_audio4(), avcodec_decode_video2(), avcodec_encode_video2(), avcodec_flush_buffers(), avcodec_open2(), await_reference_mb_row(), decode_nal_units(), dxva2_create_decoder(), ff_frame_thread_encoder_init(), ff_h264_decode_slice_header(), ff_h264_field_end(), ff_hevc_hls_filter(), ff_MPV_frame_start(), ff_rv34_decode_frame(), ff_thread_can_start_frame(), ff_thread_finish_setup(), ff_thread_free(), ff_thread_get_format(), ff_thread_init(), ff_thread_release_buffer(), finish_frame(), generate_missing_ref(), hevc_await_progress(), hevc_decode_init(), hevc_frame_start(), hl_motion(), mimic_decode_frame(), mpeg_field_start(), MPV_decode_mb_internal(), render_slice(), rv34_decode_mv(), rv34_decode_slice(), rv34_mc(), slice_end(), temporal_luma_motion_vector(), thread_get_buffer_internal(), validate_thread_parameters(), vp3_decode_frame(), vp3_draw_horiz_band(), vp78_decode_frame(), vp78_decode_mb_row_sliced(), and vp9_decode_frame().
Decode more than one part of a single frame at once.
Definition at line 2721 of file avcodec.h.
Referenced by decode_chunks(), decode_slice(), ff_alloc_entries(), ff_er_add_slice(), ff_mjpeg_encode_stuffing(), ff_MPV_common_init(), ff_thread_init(), h264_slice_header_init(), hevc_decode_init(), jpeg_table_header(), thread_execute(), update_dimensions(), validate_thread_parameters(), and X264_init().
Definition at line 2792 of file avcodec.h.
Referenced by aac_encode_init(), aacPlus_encode_init(), av_get_profile_name(), avcodec_string(), encode_init(), Faac_encode_init(), mpeg4_encode_visual_object_header(), prores_encode_init(), and vpx_init().
Definition at line 2795 of file avcodec.h.
Referenced by Faac_encode_init().
Definition at line 2796 of file avcodec.h.
Referenced by aac_encode_init(), aacPlus_encode_init(), and Faac_encode_init().
Definition at line 2797 of file avcodec.h.
Referenced by Faac_encode_init().
Definition at line 2798 of file avcodec.h.
Referenced by Faac_encode_init().
Definition at line 2799 of file avcodec.h.
Referenced by aac_encode_init(), and decode_extension_payload().
Definition at line 2800 of file avcodec.h.
Referenced by aac_encode_init(), decode_extension_payload(), and read_sbr_extension().
Definition at line 2802 of file avcodec.h.
Referenced by aac_encode_init().
Definition at line 2804 of file avcodec.h.
Referenced by aac_encode_init().
Definition at line 2806 of file avcodec.h.
Referenced by dca_decode_frame().
Definition at line 2807 of file avcodec.h.
Referenced by dca_decode_frame().
Definition at line 2808 of file avcodec.h.
Referenced by dca_decode_frame().
Definition at line 2809 of file avcodec.h.
Referenced by dca_exss_parse_asset_header().
Definition at line 2810 of file avcodec.h.
Referenced by dca_exss_parse_asset_header().
Definition at line 2816 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2817 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2819 of file avcodec.h.
Referenced by dxva2_init(), and ff_h264_get_profile().
Definition at line 2820 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and ff_h264_get_profile().
Definition at line 2822 of file avcodec.h.
Referenced by av_vdpau_get_profile(), ff_h264_get_profile(), and X264_init().
Definition at line 2823 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2824 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and X264_init().
Definition at line 2826 of file avcodec.h.
Referenced by av_vdpau_get_profile(), dxva2_init(), and X264_init().
Definition at line 2827 of file avcodec.h.
Referenced by ff_h264_get_profile(), and X264_init().
Definition at line 2829 of file avcodec.h.
Referenced by ff_h264_get_profile(), and X264_init().
Definition at line 2831 of file avcodec.h.
Referenced by X264_init().
Definition at line 2832 of file avcodec.h.
Referenced by ff_h264_get_profile().
Definition at line 2836 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2837 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2839 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2841 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2856 of file avcodec.h.
Referenced by av_vdpau_get_profile().
Definition at line 2865 of file avcodec.h.
Referenced by decode_profile_tier_level().
Definition at line 2866 of file avcodec.h.
Referenced by decode_profile_tier_level().
Definition at line 2867 of file avcodec.h.
Referenced by decode_profile_tier_level().
Definition at line 2868 of file avcodec.h.
Referenced by decode_profile_tier_level(), and ff_hevc_decode_nal_pps().
Definition at line 2876 of file avcodec.h.
Referenced by encode_init(), and mpeg4_encode_visual_object_header().
do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance)
Definition at line 3003 of file avcodec.h.
Referenced by avcodec_open2().
libavcodec will select the mode itself
Definition at line 3004 of file avcodec.h.
Referenced by avcodec_open2().
the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv
Definition at line 3005 of file avcodec.h.
Referenced by avcodec_open2(), and recode_subtitle().
Definition at line 4137 of file avcodec.h.
Referenced by av_parser_parse2(), and ff_fetch_timestamp().
Definition at line 4144 of file avcodec.h.
Referenced by avformat_find_stream_info(), cavsvideo_parse(), dca_parse(), dirac_parse(), dnxhd_parse(), flac_parse(), h261_parse(), h263_parse(), h264_parse(), hevc_parse(), init(), jpeg_parse(), latm_parse(), mpeg4video_parse(), mpegvideo_parse(), old_flac_header(), parse_packet(), read_frame_internal(), tak_parse(), and vc1_parse().
Definition at line 4145 of file avcodec.h.
Referenced by h264_parse(), and read_frame_internal().
Set if the parser has a valid file offset.
Definition at line 4147 of file avcodec.h.
Referenced by av_parser_parse2().
Definition at line 4148 of file avcodec.h.
Referenced by avformat_find_stream_info(), flac_parse(), flac_read_timestamp(), get_best_header(), mpeg4_decode_header(), and read_frame_internal().