FFmpeg
|
common internal and external API header More...
#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "attributes.h"
#include "macros.h"
#include "version.h"
#include "libavutil/avconfig.h"
#include "config.h"
#include "intmath.h"
#include "common.h"
#include "mem.h"
#include "internal.h"
Go to the source code of this file.
Macros | |
#define | AV_NE(be, le) (le) |
#define | RSHIFT(a, b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b)) |
#define | ROUNDED_DIV(a, b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b)) |
#define | AV_CEIL_RSHIFT(a, b) |
#define | FF_CEIL_RSHIFT AV_CEIL_RSHIFT |
#define | FFUDIV(a, b) (((a)>0 ?(a):(a)-(b)+1) / (b)) |
#define | FFUMOD(a, b) ((a)-(b)*FFUDIV(a,b)) |
#define | FFABS(a) ((a) >= 0 ? (a) : (-(a))) |
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable as absolute values of their type. More... | |
#define | FFSIGN(a) ((a) > 0 ? 1 : -1) |
#define | FFNABS(a) ((a) <= 0 ? (a) : (-(a))) |
Negative Absolute value. More... | |
#define | FFDIFFSIGN(x, y) (((x)>(y)) - ((x)<(y))) |
Comparator. More... | |
#define | FFMAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | FFMAX3(a, b, c) FFMAX(FFMAX(a,b),c) |
#define | FFMIN(a, b) ((a) > (b) ? (b) : (a)) |
#define | FFMIN3(a, b, c) FFMIN(FFMIN(a,b),c) |
#define | FFSWAP(type, a, b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) |
#define | FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0])) |
#define | MKTAG(a, b, c, d) ((a) | ((b) << 8) | ((c) << 16) | ((unsigned)(d) << 24)) |
#define | MKBETAG(a, b, c, d) ((d) | ((c) << 8) | ((b) << 16) | ((unsigned)(a) << 24)) |
#define | GET_UTF8(val, GET_BYTE, ERROR) |
Convert a UTF-8 character (up to 4 bytes) to its 32-bit UCS-4 encoded form. More... | |
#define | GET_UTF16(val, GET_16BIT, ERROR) |
Convert a UTF-16 character (2 or 4 bytes) to its 32-bit UCS-4 encoded form. More... | |
#define | PUT_UTF8(val, tmp, PUT_BYTE) |
Convert a 32-bit Unicode character to its UTF-8 encoded form (up to 4 bytes long). More... | |
#define | PUT_UTF16(val, tmp, PUT_16BIT) |
Convert a 32-bit Unicode character to its UTF-16 encoded form (2 or 4 bytes). More... | |
Functions | |
static av_always_inline av_const int | av_clip_c (int a, int amin, int amax) |
Clip a signed integer value into the amin-amax range. More... | |
static av_always_inline av_const int64_t | av_clip64_c (int64_t a, int64_t amin, int64_t amax) |
Clip a signed 64bit integer value into the amin-amax range. More... | |
static av_always_inline av_const uint8_t | av_clip_uint8_c (int a) |
Clip a signed integer value into the 0-255 range. More... | |
static av_always_inline av_const int8_t | av_clip_int8_c (int a) |
Clip a signed integer value into the -128,127 range. More... | |
static av_always_inline av_const uint16_t | av_clip_uint16_c (int a) |
Clip a signed integer value into the 0-65535 range. More... | |
static av_always_inline av_const int16_t | av_clip_int16_c (int a) |
Clip a signed integer value into the -32768,32767 range. More... | |
static av_always_inline av_const int32_t | av_clipl_int32_c (int64_t a) |
Clip a signed 64-bit integer value into the -2147483648,2147483647 range. More... | |
static av_always_inline av_const int | av_clip_intp2_c (int a, int p) |
Clip a signed integer into the -(2^p),(2^p-1) range. More... | |
static av_always_inline av_const unsigned | av_clip_uintp2_c (int a, int p) |
Clip a signed integer to an unsigned power of two range. More... | |
static av_always_inline av_const unsigned | av_mod_uintp2_c (unsigned a, unsigned p) |
Clear high bits from an unsigned integer starting with specific bit position. More... | |
static av_always_inline int | av_sat_add32_c (int a, int b) |
Add two signed 32-bit values with saturation. More... | |
static av_always_inline int | av_sat_dadd32_c (int a, int b) |
Add a doubled value to another value with saturation at both stages. More... | |
static av_always_inline av_const float | av_clipf_c (float a, float amin, float amax) |
Clip a float value into the amin-amax range. More... | |
static av_always_inline av_const double | av_clipd_c (double a, double amin, double amax) |
Clip a double value into the amin-amax range. More... | |
static av_always_inline av_const int | av_ceil_log2_c (int x) |
Compute ceil(log2(x)). More... | |
static av_always_inline av_const int | av_popcount_c (uint32_t x) |
Count number of bits set to one in x. More... | |
static av_always_inline av_const int | av_popcount64_c (uint64_t x) |
Count number of bits set to one in x. More... | |
static av_always_inline av_const int | av_parity_c (uint32_t v) |
common internal and external API header
Definition in file common.h.
Definition at line 50 of file common.h.
Referenced by av_get_pcm_codec(), get_al_format_info(), get_format_from_sample_fmt(), init_multbl2(), and read_header_gme().
Definition at line 54 of file common.h.
Referenced by get_amv(), unpack_vectors(), and vp56_decode_4mv().
Definition at line 56 of file common.h.
Referenced by add_peak(), adx_encode(), apply_delogo(), decide_ac_pred(), decode_ppc(), draw_arrow(), ff_convert_matrix(), ff_mpeg4_pred_ac(), filter_frame(), flush_frame(), get_dc(), initFilter(), mov_write_tmcd_tag(), mpeg4_decode_sprite_trajectory(), and vect_division().
Definition at line 58 of file common.h.
Referenced by alloc_picture(), apply_unsharp_c(), av_image_copy(), blend_frame(), blend_image(), blur(), calc_combed_score(), calc_diffs(), chr_convert(), chr_h_scale(), chr_planar_vscale(), config_input(), config_input_ref(), config_out_props(), config_output(), config_props(), copy_picture_field(), cover_rect(), decimate_frame(), decode_slice(), encode_frame(), ff_color_frame(), ff_copy_rectangle(), ff_copy_rectangle2(), ff_draw_rectangle(), ff_fill_line_with_color(), ff_fill_rectangle(), ff_h263_decode_frame(), ff_libwebp_get_frame(), ff_mjpeg_decode_frame(), ff_mpv_frame_start(), ff_opencl_apply_unsharp(), ff_opencl_deshake_process_inout_buf(), ff_opencl_unsharp_process_inout_buf(), ff_rtp_send_jpeg(), ff_set_dimensions(), ff_snow_alloc_blocks(), ff_snow_common_init_after_header(), ff_sws_alphablendaway(), ff_video_frame_pool_init(), filter(), filter_frame(), filter_slice(), filter_slice_chroma(), geq_filter_frame(), get_buffer_internal(), get_height(), get_video_buffer(), get_width(), getpix(), gray_frame(), halfpel_interpol(), horizontal_frame_pack(), lowpass(), lowpass16(), mimic_decode_frame(), mjpeg_decode_scan(), opengl_get_plane_pointer(), opengl_init_context(), output_single_frame(), planarCopyWrapper(), process_frame(), request_frame(), rgb2yuv(), rgb2yuv_fsb(), smv_img_pnt(), sws_init_context(), swscale(), txd_decode_frame(), uyvytoyuv420_c(), uyvytoyuv420_TMPL(), uyvytoyuv422_c(), uyvytoyuv422_TMPL(), video_frame_cksum(), write_packet(), X264_init(), yuv2rgb(), yuv2yuv(), yuv4_write_packet(), yuyvtoyuv420_c(), yuyvtoyuv420_TMPL(), yuyvtoyuv422_c(), and yuyvtoyuv422_TMPL().
#define FF_CEIL_RSHIFT AV_CEIL_RSHIFT |
Definition at line 61 of file common.h.
Referenced by cfhd_decode(), and filter_frame().
Definition at line 63 of file common.h.
Referenced by ff_mpeg4_encode_picture_header(), ff_set_mpeg4_time(), and mpeg4_encode_gop_header().
Definition at line 64 of file common.h.
Referenced by ff_hevc_set_qPy(), ff_mpeg4_encode_picture_header(), and mpeg4_encode_gop_header().
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable as absolute values of their type.
This is the same as with *abs()
Definition at line 72 of file common.h.
Referenced by acb_search(), add_8x8basis_TMPL(), alloc_scratch_buffers(), apply_channel_coupling(), apply_tilt_comp(), asf_read_stream_properties(), autocorr_calc(), av_compare_ts(), av_normalize_sf(), av_reduce(), av_resample(), avi_read_header(), await_reference_row(), boundary_strength(), build_abs_diff_mask(), check_mv(), choose_rct_params(), chroma(), chroma16(), codebook_sanity_check_for_rate_quarter(), comp_harmonic_coeff(), compute_network0new(), config_video_output(), count_hq_slice(), D(), dct_error(), dct_max8x8_c(), dct_quantize_refine(), dct_quantize_trellis_c(), dct_single_coeff_elimination(), deband_16_c(), deband_8_c(), decode_bmv_frame(), decode_cblk(), decode_dc_coeffs(), decode_dct(), decode_fixed_vector(), decode_frame(), decode_frame_header(), decode_pic(), decode_q_branch(), decode_tones_amplitude(), dering_TMPL(), dirac_decode_data_unit(), dirac_decode_picture_header(), do_a_deblock_C(), do_apply_filter(), doHorizDefFilter_C(), doHorizLowPass_C(), doVertDefFilter_TMPL(), doVertLowPass_TMPL(), dpcm_predict(), draw_line(), draw_rline(), dss_sp_get_normalize_bits(), dss_sp_vector_sum(), dts_probe(), dv_init_enc_block(), elliott(), encode_acs(), encode_block(), encode_header(), encode_picture_ls(), encode_q_branch(), encode_q_branch2(), encode_subband(), encode_subband_c0run(), estimate_acs(), estimate_dcs(), estimate_stereo_mode(), estimate_timings_from_pts(), ff_emulated_edge_mc(), ff_g723_1_scale_vector(), ff_generate_window_func(), ff_h263_encode_picture_header(), ff_h264_direct_ref_list_init(), ff_idet_filter_line_c(), ff_idet_filter_line_c_16bit(), ff_init_me(), ff_jpegls_update_state_regular(), ff_mpeg1_encode_init(), ff_mpeg4_encode_mb(), ff_mpeg_framesize_alloc(), ff_msmpeg4_decode_block(), ff_nelly_get_sample_bits(), ff_ps_read_data(), ff_vc1_pred_b_mv(), ff_vc1_pred_mv(), ffserver_set_int_param(), filter_frame(), filter_slice16(), filter_slice8(), flashsv_encode_frame(), flat(), flat16(), flv_read_packet(), generate_noise(), get_block_bits(), get_diff_limited_q(), get_fcb_param(), get_lin_h2(), get_log_h(), get_log_h2(), get_needed_flags(), get_qminmax(), get_rrp(), get_sae(), get_scale_factor(), get_shift(), get_tilt_comp(), guess_mv(), gxf_seek(), h263_h_loop_filter_c(), h263_v_loop_filter_c(), h264_loop_filter_chroma(), h264_loop_filter_chroma_intra(), h264_loop_filter_luma(), h264_loop_filter_luma_intra(), h_block_filter(), hadamard8_intra8x8_c(), hadamard_func(), headroom(), hev(), horizX1Filter(), implicit_weight_table(), init(), init_uni_ac_vlc(), initFilter(), interpol(), intra_pred(), inv_predict_11(), levinson_durbin(), long_term_filter(), loop_filter(), lpc2lsp(), ls_decode_line(), ls_encode_line(), ls_encode_regular(), ls_get_code_runterm(), main(), make_glyphs(), mode05(), mode06(), mode07(), mode08(), mode10(), mode1314(), mode1516(), mode18(), mov_find_next_sample(), mp3_update_xing(), mp3_write_xing(), mpc8_decode_frame(), mpeg1_encode_sequence_header(), mpeg4_decode_block(), msrle_decode_8_16_24_32(), mss4_decode_dct(), noise_scale(), nsse16_c(), nsse8_c(), packed_16bpc_bswap(), packedCopyWrapper(), paf_video_decode(), postProcess_TMPL(), pp_postprocess(), pred_spatial_direct_motion(), print_report(), put_alpha_diff(), put_s(), put_symbol(), put_symbol_inline(), render_line(), reverse_dc_prediction(), rtcp_update_jitter(), rv40_loop_filter_strength(), rv40_strong_loop_filter(), rv40_weak_loop_filter(), sab_diamond_search(), sad_8x8_16(), sbr_sum_square_c(), scaleforopp_x(), scaleforopp_y(), scaleforsame_x(), scaleforsame_y(), select_from_pts_buffer(), seq_unpack_rle_block(), silk_is_lpc_stable(), silk_lsf2lpc(), skip_check(), sobel(), subband_scale(), sum_abs_dctelem_c(), swap_channel_layouts_on_filter(), swri_rematrix_init(), sws_getShiftedVec(), sws_scale(), test_dwt(), test_dwtf(), try_8x8basis_TMPL(), ts_str(), update_qscale(), update_vlc_state(), v_block_filter(), vc1_filter_line(), vectorscope16(), vectorscope8(), vertX1Filter_TMPL(), vorbis_floor1_decode(), vp6_filter(), vp7_simple_limit(), vp8_simple_limit(), w_c(), weighted_avg_elliott_mul5_m16(), wmv2_pred_motion(), wv_unpack_stereo(), x8_loop_filter(), and xan_wc3_copy_pixel_run().
Definition at line 73 of file common.h.
Referenced by alac_linear_predictor(), buffer_needs_copy(), dequant_and_decompand(), do_a_deblock_C(), doHorizDefFilter_C(), doVertDefFilter_TMPL(), filter_frame(), get_log_h(), horizX1Filter(), ivi_decode_coded_blocks(), reap_filters(), sign_only(), twinvq_mulawinv(), and vertX1Filter_TMPL().
Negative Absolute value.
this works for all integers of all types. As with many macros, this evaluates its argument twice, it thus must not have a sideeffect, that is FFNABS(x++) has undefined behavior.
Definition at line 81 of file common.h.
Referenced by mov_read_ctts().
#define FFDIFFSIGN | ( | x, | |
y | |||
) | (((x)>(y)) - ((x)<(y))) |
Comparator.
For two numerical expressions x and y, gives 1 if x > y, -1 if x < y, and 0 if x == y. This is useful for instance in a qsort comparator callback. Furthermore, compilers are able to optimize this to branchless code, and there is no risk of overflow with signed types. As with many macros, this evaluates its argument multiple times, it thus must not have a side-effect.
Definition at line 92 of file common.h.
Referenced by cmp(), cmp_color(), cmp_int(), cmp_intervals(), cmp_pkt_sub_ts_pos(), compare_codec_desc(), compare_int64(), compare_ocl_device_desc(), and main().
Definition at line 94 of file common.h.
Referenced by aac_encode_frame(), ac3_bit_alloc_calc_bap_c(), ac3_eac3_probe(), acb_search(), adaptive_quantization(), add_codec(), add_file(), add_tonal_components(), adjust_frame_information(), adpcm_compress_trellis(), adpcm_decode_frame(), adts_aac_probe(), alloc_array_elem(), alloc_picture(), alloc_sequence_buffers(), allocate_buffers(), analyze(), any_vscale(), append_packet_chunked(), apply_8x8(), apply_channel_coupling(), apply_delogo(), apply_lpc(), apply_tns(), asf_build_simple_index(), asf_write_packet(), audio_open(), auto_matrix(), auxiliary_info_alloc_size(), av_d2q(), av_fast_realloc(), av_fifo_grow(), av_image_copy(), av_image_copy_to_buffer(), av_match_name(), av_probe_input_buffer2(), av_probe_input_format3(), av_resample(), av_resample_init(), av_rescale_rnd(), avcodec_align_dimensions(), avcodec_align_dimensions2(), avfilter_graph_dump_to_buf(), avformat_find_stream_info(), avi_add_ientry(), avi_read_header(), avi_read_seek(), avi_write_counters(), avpriv_ac3_parse_header(), avresample_build_matrix(), avresample_get_delay(), avresample_open(), await_reference_row(), bidir_refine(), bink_decode_plane(), bit_allocation(), blend_image(), blur_pixel(), bmp_parse(), build_diff_map(), build_feed_streams(), build_filter(), build_table(), cache_read(), cache_seek(), calc_bit_demand(), calc_input_response(), calc_lowcomp(), calc_lowcomp1(), calc_reduced_thr_3gpp(), calc_reduction_3gpp(), calc_slice_sizes(), calc_stereo_peak(), calculate_bitrate(), calculate_display_rect(), calculate_scales(), cavs_decode_frame(), cdg_scroll(), celt_decode_allocation(), celt_decode_bands(), celt_decode_coarse_energy(), check(), check_external_clock_speed(), check_stream_max_drift(), checkasm_report(), chr_planar_vscale(), chroma_4mv_motion(), chroma_4mv_motion_lowres(), cmap_read_palette(), codec_reinit(), comp_harmonic_coeff(), comp_ppf_coeff(), compare_fields(), compressor(), compute_affinity(), compute_frame_rms(), compute_frame_std_dev(), compute_network0(), compute_network0_i16(), compute_target_delay(), config_input(), config_output(), config_props(), convert_sub_to_old_ass_form(), copy(), copy_backptr(), copy_chapters(), count_hq_slice(), create(), create_vorbis_context(), D(), dash_write_packet(), dc_test(), dct_error(), dct_max8x8_c(), decode(), decode_audio_block(), decode_b(), decode_channel_residues(), decode_channel_sound_unit(), decode_chunks(), decode_component(), decode_entropy_coded_image(), decode_entropy_image(), decode_frame(), decode_frame_header(), decode_hq_slice(), decode_init(), decode_lowdelay_slice(), decode_lspf(), decode_p_frame(), decode_postinit(), decode_scale_factors(), decode_var_block_data(), decorrelation(), deflate(), dilation(), dirac_decode_frame_internal(), dirac_unpack_prediction_parameters(), direct_search(), dnxhd_encode_rdo(), dnxhd_find_qscale(), do_a_deblock_C(), do_psnr(), do_streamcopy(), doHorizDefFilter_C(), doVertDefFilter_TMPL(), draw_text(), dts_probe(), dv_decode_video_segment(), encode_block(), encode_cblk(), encode_dvd_subtitles(), encode_frame(), encode_hq_slice(), encode_init(), encode_picture(), epzs_motion_search_internal(), erosion(), estimate_timings(), estimate_timings_from_pts(), evalfunc_1(), execute_code(), fade(), ff_aac_apply_tns(), ff_aac_is_encoding_err(), ff_ac3_bit_alloc_calc_mask(), ff_ac3_bit_alloc_calc_psd(), ff_acelp_reorder_lsf(), ff_acelp_update_past_gain(), ff_atrac3p_power_compensation(), ff_audio_mix(), ff_audio_resample(), ff_audio_resample_init(), ff_celt_decode_frame(), ff_configure_buffers_for_index(), ff_decklink_write_packet(), ff_dither_alloc(), ff_draw_init(), ff_emulated_edge_mc(), ff_fast_malloc(), ff_find_last_ts(), ff_g723_1_inverse_quant(), ff_g723_1_scale_vector(), ff_g729_postfilter(), ff_get_best_fcode(), ff_gradfun_filter_line_c(), ff_h264_alloc_tables(), ff_h264_decode_seq_parameter_set(), ff_h264_execute_ref_pic_marking(), ff_hevc_cu_chroma_qp_offset_idx(), ff_hevc_hls_residual_coding(), ff_imdct15_init(), ff_init_filters(), ff_init_me(), ff_init_slice_from_src(), ff_interleave_packet_per_dts(), ff_jpeg2000_dwt_init(), ff_jpegls_init_state(), ff_jpegls_reset_coding_parameters(), ff_jpegls_update_state_regular(), ff_lag_rac_init(), ff_mjpeg_decode_dqt(), ff_mov_write_packet(), ff_mpv_encode_init(), ff_mpv_encode_picture(), ff_msmpeg4_encode_ext_header(), ff_mss12_decode_init(), ff_nelly_get_sample_bits(), ff_pca(), ff_rfps_calculate(), ff_seek_frame_binary(), ff_set_min_dist_lsf(), ff_snow_common_init_after_header(), ff_snow_pred_block(), ff_srtp_decrypt(), ff_timefilter_update(), ff_yuv2rgb_c_init_tables(), ffio_limit(), ffio_rewind_with_probe_data(), ffm_read_data(), ffm_seek1(), ffmal_update_format(), ffmmal_init_decoder(), filter(), filter_color(), filter_color2(), filter_frame(), filter_level_for_mb(), filter_mono(), filter_slice(), find_best_state(), find_form_factor(), find_hb_gain(), find_max_val(), find_new_headers(), find_next_delta_ts(), find_peak_magnitude(), findCode(), flac_parse(), flv_write_packet(), frame_erasure(), framesync_sync_level_update(), ftp_write(), full_search(), g729d_onset_decision(), gain_scale(), gate(), generate_intervals(), generate_transition(), get_block_rd(), get_buffer_internal(), get_channel_layout_single(), get_dc(), get_exponent_dynamic(), get_floor_average(), get_fps(), get_frame(), get_lag(), get_limits(), get_lowest_part_list_y(), get_lowest_part_y(), get_min_buffer_size(), get_new_centroids(), get_out_samples(), get_palette_frame(), get_pix_fmt_depth(), get_qcx(), get_quant_quality(), get_rdelta(), get_rotated_h(), get_rotated_w(), get_sample_rate(), get_siz(), get_tag(), get_tree_codes(), get_visual_weight(), gmc1_motion(), guess_dc(), guess_mv(), gxf_seek(), h261_probe(), h_block_filter(), handle_file(), hap_encode(), hevc_await_progress(), hls_window(), horizX1Filter(), hpel_motion(), hpel_motion_lowres(), http_start_receive_data(), huff_reader_build_canonical(), hvcc_parse_sps(), hvcc_parse_vps(), hvcc_update_ptl(), inflate(), init(), init_cqt(), init_exp(), init_luts(), init_offset(), init_pass2(), init_pattern_from_file(), init_prec(), init_ralf_vlc(), init_thres2(), init_video_param(), initFilter(), interpol(), invert_initial_buffer(), is_intra_more_likely(), iterative_me(), kalman_smoothen(), lame_calc_attack_threshold(), lavfi_read_header(), lfo_get_value(), libopenjpeg_copy_to_packed16(), libopenjpeg_copyto16(), libopenjpeg_encode_init(), loas_probe(), long_term_filter(), lowest_referenced_row(), lpc2lsp(), lsp_quantize(), lum_planar_vscale(), main(), make_glyphs(), mark_pns(), matroska_parse_block(), matroska_read_seek(), max_delay(), mc_chroma_scaled(), mc_chroma_unscaled(), mc_luma_scaled(), mc_luma_unscaled(), median4(), mkv_write_header(), mkv_write_packet_internal(), mmap_read_frame(), mmsh_read_seek(), mode01(), mode1516(), mode17(), mode18(), mode21(), mode22(), mode23(), mode24(), modify_qscale(), mov_build_index(), mov_probe(), mov_update_dts_shift(), mov_write_esds_tag(), mov_write_stsz_tag(), movie_common_init(), mp3_parse_info_tag(), mp3_read_probe(), mp3_sync(), mp3_write_xing(), mp_decode_layer3(), mpc_read_seek(), mpeg_motion_internal(), mpeg_motion_lowres(), mpegts_probe(), mxf_compute_ptses_fake_index(), mxf_edit_unit_absolute_offset(), mxf_read_seek(), ni_prepare_read(), noise_enhancer(), nut_read_packet(), nut_write_header(), nvenc_setup_surfaces(), opengl_get_texture_size(), opus_decode_packet(), opus_duration(), output_chunk_list(), output_gain(), output_packet(), output_segment_list(), output_single_frame(), packed_vscale(), paint_mouse_pointer(), parse_adts_frame_header(), parse_commands(), parse_frame_data(), parse_intervals(), parse_media_type(), parse_postfilter(), parse_x96_frame_data(), postfilter(), postProcess_TMPL(), pp_postprocess(), precalc_coefs(), print_report(), print_stats(), process_anticollapse(), process_frame_obj(), process_input(), process_line0(), ps_tableinit(), pulse_write_header(), put_codebook_header(), qpel_motion(), quantize_lpc_coefs(), rate_control(), raw_decode(), read_header(), read_huffman_tables(), read_packet(), read_sbr_grid(), read_seek(), read_shape_from_file(), read_trun_duration(), read_var_block_data(), read_vitc_line(), read_whole_file(), render_charset(), resample(), resample_init(), residue_encode(), retransmit_si_info(), retry_transfer_wrapper(), revert_channel_correlation(), rm_sync(), roq_dpcm_encode_frame(), roundds(), rv10_decode_frame(), rv10_decode_packet(), rv34_decode_mv(), rv34_gen_vlc(), sbg_read_header(), sbr_hf_calc_npatches(), sbr_make_f_derived(), sbr_x_gen(), scale_mv(), search(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_twoloop(), seek_chapter(), seg_write_packet(), segment_list_open(), select_cur_seq_no(), select_from_pts_buffer(), select_input_picture(), select_sample_rate(), send_silence(), set_format(), set_metadata(), set_string_fmt(), shorten_decode_frame(), silk_decode_frame(), silk_stabilize_lsf(), skip_check(), smjpeg_write_packet(), smv_img_pnt(), stability_factor(), stabilize_lsps(), sub2video_prepare(), svc_encode_init(), swf_read_packet(), swr_convert_internal(), swri_rematrix_init(), sws_diffVec(), sws_sumVec(), swscale(), tak_parse(), thp_read_packet(), umh_search(), update_index(), update_stat(), update_stream_timings(), v_block_filter(), var_diamond_search(), vc1_decode_frame(), vectorscope16(), vectorscope8(), vertX1Filter_TMPL(), vorbis_packet(), vp8_get_quants(), wmv2_pred_motion(), write_abst(), write_frame(), write_manifest(), x8_ac_compensation(), x8_loop_filter(), x8_setup_spatial_compensation(), xcbgrab_reposition(), yae_align(), yae_flush(), yae_overlap_add(), yop_read_seek(), and zmbv_me().
Definition at line 95 of file common.h.
Referenced by av_basename(), av_dirname(), avcodec_align_dimensions(), avfilter_graph_dump_to_buf(), decode_frame_headers(), dirac_decode_data_unit(), encode_picture(), ff_h264_decode_slice_header(), ff_mjpeg_decode_frame(), ff_mpeg4_get_video_packet_prefix_length(), fill_in_tongue(), filter_frame(), init(), long_term_filter(), mjpegb_decode_frame(), mov_write_esds_tag(), mpegts_probe(), search_for_quantizers_twoloop(), selective_color(), verify_md5(), and write_frame().
Definition at line 96 of file common.h.
Referenced by a64multi_encode_frame(), aac_encode_frame(), aac_encode_init(), aac_parse_packet(), aasc_decode_init(), ac3_bit_alloc_calc_bap_c(), ac3_decode_frame(), acb_search(), acolor16(), adapt_prob(), add_bell(), add_metadata(), adpcm_ima_compress_sample(), adpcm_yamaha_compress_sample(), adts_aac_probe(), afc_read_packet(), aflat16(), agate_config_input(), aic_decode_slice(), aiff_read_packet(), alac_decode_close(), alloc_array_elem(), alloc_picture(), allocate_buffers(), amf_tag_contents(), analyze_mono(), analyze_stereo(), ape_decode_frame(), append_packet_chunked(), apply_channel_coupling(), apply_lpc(), apply_ltp(), apply_lut(), apply_pitch_filters(), apply_tns(), array_min_int16(), asf_read_stream_properties(), asfrtp_parse_packet(), async_buffer_task(), async_read_internal(), atrac3p_decode_frame(), audio_get_buffer(), audio_open(), audio_write_packet(), autocorr_max(), av_adler32_update(), av_aes_ctr_crypt(), av_audio_fifo_drain(), av_audio_fifo_peek(), av_audio_fifo_peek_at(), av_audio_fifo_read(), av_bprint_alloc(), av_bprint_append_data(), av_bprint_chars(), av_bprint_finalize(), av_bprint_grow(), av_bprint_init(), av_bprint_strftime(), av_buffer_realloc(), av_fifo_generic_peek(), av_fifo_generic_peek_at(), av_fifo_generic_read(), av_fifo_generic_write(), av_find_best_stream(), av_gcd(), av_hash_final_b64(), av_hash_final_bin(), av_hash_final_hex(), av_md5_update(), av_parse_color(), av_probe_input_buffer2(), av_probe_input_format3(), av_reduce(), av_resample(), av_resample_init(), av_url_split(), avcodec_decode_subtitle2(), avformat_find_stream_info(), avi_read_header(), avi_read_nikon(), avi_read_packet(), avi_read_seek(), avio_get_str(), avio_read(), avio_read_to_bprint(), avio_seek(), avio_write(), avpriv_find_start_code(), avresample_open(), aw_parse_coords(), await_reference_mb_row(), await_references(), b44_uncompress(), bidir_refine(), blend_frame(), blend_image(), blur_pixel(), bmp_decode_frame(), bmp_parse(), buffer_offset(), build_diff_map(), build_filter(), build_huff(), build_huff10(), build_table(), bytestream2_copy_buffer(), bytestream2_get_buffer(), bytestream2_put_buffer(), bytestream2_set_buffer(), bytestream2_skip(), bytestream2_skip_p(), cache_read(), cache_seek(), calc_bit_demand(), calc_cpl_coord(), calc_slice_sizes(), cdg_scroll(), celt_decode_allocation(), celt_decode_band(), celt_decode_bands(), celt_decode_coarse_energy(), channelmap_filter_frame(), check_external_clock_speed(), check_stream_max_drift(), chomp6(), chroma16(), chroma_4mv_motion_lowres(), chrRangeToJpeg16_c(), chrRangeToJpeg_c(), cin_decode_lzss(), cin_decode_rle(), cinepak_decode(), clean_index(), close_output_stream(), cmap_read_palette(), cng_decode_frame(), coeff_unpack_golomb(), color16(), commit_bitstream_and_slice_buffer(), compand_drain(), compare_fields(), compressor_config_output(), compute_rematrixing_strategy(), compute_target_delay(), config_input(), config_output(), config_props(), cook_decode_init(), copy_bits(), copy_chapters(), copy_moof(), copy_tag(), count_mantissa_bits_update_ch(), create(), create_adapt_vect(), crypto_read(), cuda_transfer_data_from(), cuda_transfer_data_to(), cuvid_decode_init(), dash_fill_tmpl_params(), data_read(), dct_quantize_trellis_c(), decklink_setup_video(), decode_555(), decode_ac_coeffs(), decode_array_0000(), decode_b(), decode_block(), decode_block_refinement(), decode_byterun(), decode_coeffs(), decode_component(), decode_dc_coeffs(), decode_deep_rle32(), decode_deep_tvdc32(), decode_finish_row(), decode_flush(), decode_frame(), decode_frame_headers(), decode_header(), decode_info_header(), decode_init(), decode_lowdelay_slice(), decode_lspf(), decode_ltp(), decode_mb_i(), decode_mode(), decode_mvc2(), decode_new_pred(), decode_packet(), decode_pixel(), decode_prediction(), decode_rle(), decode_sgirle8(), decode_slice(), decode_subframe(), decode_tonal_components(), decompress_texture_thread(), decorr_mono_buffer(), decorr_stereo_buffer(), decorrelate(), deflate(), dering_TMPL(), derive_spatial_merge_candidates(), dfa_decode_frame(), dilation(), direct_search(), dnxhd_encode_rdo(), dnxhd_find_qscale(), dnxhd_mb_var_thread(), do_a_deblock_C(), do_psnr(), do_rematrixing(), do_video_out(), doHorizDefFilter_C(), doVertDefFilter_TMPL(), dpx_parse(), draw_dot(), draw_frame(), draw_mandelbrot(), draw_sono(), draw_text(), dsf_read_packet(), dts_probe(), dump_metadata(), dvb_encode_rle8(), dvbsub_probe(), dxa_read_packet(), eightsvx_decode_frame(), encode_ac_coeffs(), encode_acs(), encode_dc_coeffs(), encode_dcs(), encode_dvd_subtitles(), encode_exponents_blk_ch(), encode_ext_header(), encode_frame(), encode_header(), encode_init(), encode_mode(), encode_picture(), encode_qlogs(), encode_scalar(), encode_tile(), epic_jb_decode_tile(), epzs_motion_search_internal(), erosion(), estimate_acs(), estimate_dcs(), estimate_sid_gain(), evalfunc_1(), event_loop(), evrc_decode_frame(), execute_code(), extract_header(), extrapolate_isf(), fbdev_write_packet(), ff_aac_ac3_parse(), ff_aac_adjust_common_ltp(), ff_aac_adjust_common_pred(), ff_aac_apply_main_pred(), ff_aac_apply_tns(), ff_aac_encode_ltp_info(), ff_aac_encode_main_pred(), ff_aac_is_encoding_err(), ff_aac_search_for_ltp(), ff_aac_search_for_pred(), ff_aac_search_for_tns(), ff_ac3_apply_rematrixing(), ff_ac3_bit_alloc_calc_mask(), ff_ac3_bit_alloc_calc_psd(), ff_acelp_reorder_lsf(), ff_af_queue_remove(), ff_alsa_open(), ff_amf_get_field_value(), ff_amf_get_string(), ff_audio_resample_init(), ff_celt_decode_frame(), ff_convert_dither(), ff_copy_and_dup(), ff_dca_lbr_filter_frame(), ff_dca_lbr_parse(), ff_dirac_init_arith_decoder(), ff_draw_horiz_band(), ff_eac3_apply_spectral_extension(), ff_els_decode_bit(), ff_els_decoder_init(), ff_emulated_edge_mc(), ff_estimate_p_frame_motion(), ff_filter_frame_needs_framing(), ff_flac_parse_picture(), ff_frame_thread_encoder_init(), ff_frame_thread_init(), ff_g723_1_inverse_quant(), ff_get_best_fcode(), ff_get_wav_header(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_h264_draw_horiz_band(), ff_h264_execute_decode_slices(), ff_h264_init_poc(), ff_hevc_annexb2mp4(), ff_hevc_hls_residual_coding(), ff_hevc_parse_sps(), ff_hevc_ref_idx_lx_decode(), ff_hevc_sao_offset_abs_decode(), ff_hevc_slice_rpl(), ff_htmlmarkup_to_ass(), ff_init_me(), ff_insert_pad(), ff_isom_write_avcc(), ff_isom_write_hvcc(), ff_jpegls_decode_lse(), ff_jpegls_reset_coding_parameters(), ff_jpegls_update_state_regular(), ff_libwebp_get_frame(), ff_mediacodec_dec_decode(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mediacodec_sw_buffer_copy_yuv420_semi_planar(), ff_mjpeg_find_marker(), ff_mms_read_data(), ff_mms_read_header(), ff_mpeg4_encode_mb(), ff_mpv_common_init(), ff_msmpeg4_encode_ext_header(), ff_pca(), ff_poll_frame(), ff_reshuffle_raw_rgb(), ff_rle_count_pixels(), ff_rtmp_packet_write(), ff_rtp_check_and_send_back_rr(), ff_rtp_send_aac(), ff_rtp_send_h261(), ff_rtp_send_h263(), ff_rtp_send_h263_rfc2190(), ff_rtp_send_jpeg(), ff_rtp_send_latm(), ff_rtp_send_vp8(), ff_rtp_send_vp9(), ff_sipr_decode_frame_16k(), ff_slice_thread_init(), ff_spatial_idwt_buffered_slice(), ff_spatial_idwt_slice2(), ff_spdif_probe(), ff_voc_get_packet(), ff_vorbis_floor1_render_list(), ffat_init_encoder(), ffio_fill(), ffm_read_data(), ffm_seek1(), ffmmal_add_packet(), fic_draw_cursor(), file_read(), file_write(), fill_picture_rgb(), fill_rectangle(), filter(), filter_common(), filter_frame(), filter_level_for_mb(), filter_slice(), filter_slice_chroma(), find_best_state(), find_form_factor(), find_frame_end(), find_optimal_param(), find_start_code(), flac_fifo_read(), flac_fifo_read_wrap(), flac_parse(), flat16(), floor_encode(), flush_buffer(), frame_queue_init(), ftp_seek(), full_search(), g2m_load_cursor(), generate_half_size_image(), generate_intervals(), generate_noise(), get_alpha_data(), get_audio_buffer(), get_block_rd(), get_dc(), get_exponent_dynamic(), get_floor_average(), get_interleaved_ue_golomb(), get_limits(), get_max_local_gain(), get_max_p_order(), get_nb_samples(), get_new_centroids(), get_palette_frame(), get_pix_fmt_depth(), get_pix_fmt_score(), get_scene_score(), get_scene_score16(), get_slice_data(), get_sockaddr(), get_str(), get_symbol(), get_symbol_inline(), get_visual_weight(), gif_image_write_image(), gif_read_ext(), guess_mv(), handle_p_frame_png(), handle_trimming(), hdcd_envelope(), hex_log(), hls_decode_neighbour(), hpel_motion_lowres(), hScale16To15_c(), hScale16To19_c(), hScale8To15_c(), hScale8To19_c(), http_read_stream(), http_receive_data(), huffman_decode(), hvcc_parse_sps(), hvcc_parse_vui(), if(), iff_read_packet(), inflate(), init(), init_band(), init_cqt(), init_long_region(), init_prec(), init_ralf_vlc(), init_tiles(), initFilter(), integrate(), inter_recon(), intercept_id3(), interleave_new_audio_packet(), interpolate_bilinear(), intra_pred(), intra_recon(), inverse_channel_transform(), invert_initial_buffer(), ivi_init_tiles(), jpeg2000_decode_packets(), jpeg2000_decode_packets_po_iteration(), kalman_smoothen(), kempf_decode_tile(), kset(), lag_decode_line(), lag_decode_zero_run_line(), latm_decode_audio_specific_config(), lfo_get_value(), libopenjpeg_copy_to_packed16(), libopenjpeg_copyto16(), libopenjpeg_encode_init(), libopus_decode_init(), load_encode_and_write(), loas_probe(), loop_filter(), lowest_referenced_row(), lowpass16(), lsf_decode_fp(), lsp_quantize(), lumRangeToJpeg16_c(), lumRangeToJpeg_c(), main(), mark_pns(), matroska_ebmlnum_uint(), matroska_parse_tracks(), median4(), minimum_filter(), mjpegb_decode_frame(), mmf_read_packet(), mode01(), mode05(), mode06(), mode07(), mode08(), mode09(), mode10(), mode1314(), mode1516(), mode17(), mode18(), mode21(), mode22(), mode23(), mode24(), model_calc_threshold(), mov2textsub(), mov_build_index(), mov_cenc_write_encrypted(), mov_read_default(), mov_read_dref(), mov_read_free(), mov_read_packet(), mov_switch_root(), mov_text_decode_frame(), mov_write_chpl_tag(), mov_write_edts_tag(), mov_write_uuidprof_tag(), movie_request_frame(), mp3_parse_info_tag(), mp3_read_packet(), mp3_update_xing(), mp3_write_xing(), mp_decode_frame(), mp_read_changes_map(), mpc8_get_mask(), mpeg4_decode_mb(), mpeg4_decode_sprite_trajectory(), mpeg4_encode_gop_header(), mpeg_decode_slice(), mpeg_motion_lowres(), mpegaudio_parse(), mpegts_handle_packet(), mpegts_probe(), mpegts_resync(), mpegts_write_packet_internal(), msrle_decode_init(), mss4_init_vlc(), mszh_decomp(), multiple_resample(), mxf_parse_structural_metadata(), mxf_read_packet(), mxf_read_random_index_pack(), mxf_read_seek(), mxpeg_decode_app(), mxpeg_decode_com(), noise(), noise_enhancer(), nsv_read_chunk(), nut_write_packet(), nvenc_setup_surfaces(), ogg_buffer_data(), ogg_packet(), ogm_header(), op(), opengl_get_texture_size(), opengl_prepare_vertex(), opt_default(), opus_decode_frame(), opus_decode_packet(), opus_packet(), opus_rc_getsymbol(), opus_rc_laplace(), opus_rc_stepmodel(), opus_rc_trimodel(), opus_rc_unimodel(), output_frame(), output_plane(), pack_yuv(), packed_16bpc_bswap(), paint_mouse_pointer(), param_write_hex(), parse_ch(), parse_chunks(), parse_decoder_init(), parse_dsd_diin(), parse_optional_info(), parse_psfile(), parse_x96_subframe_audio(), pcx_palette(), perform_compression(), pitch_sharpening(), piz_uncompress(), plot_freq(), png_decode_idat(), png_parse(), postfilter(), postProcess_TMPL(), pp_get_mode_by_name_and_quality(), precalc_coefs(), pred_intra_mode(), predict_slice(), predict_slice_buffered(), print_report(), print_stats(), probe(), process_anticollapse(), process_frame(), process_input(), process_line0(), psy_3gpp_init(), push_samples(), put_bitstream_info(), put_symbol(), put_symbol_inline(), pva_read_timestamp(), qcp_read_header(), qdm2_parse_subpacket(), qdm2_restore_block(), qtrle_encode_line(), quantize_bands(), rac_init(), raw_read_packet(), read_access_unit(), read_data(), read_dcs(), read_frame_internal(), read_from_url(), read_header(), read_major_sync(), read_packet(), read_seek(), read_sl_header(), read_var_block_data(), read_vitc_line(), read_whole_file(), recode_subtitle(), reduce_matrix(), region_offset2size(), render_charset(), render_slice(), request_frame(), resample(), resample_init(), resync(), return_audio_frame(), revert_channel_correlation(), rgb_from_cqt(), rice_decompress(), rm_assemble_video_frame(), roll_up(), roundds(), rpza_decode_stream(), rtcp_parse_packet(), rtmp_open(), rtmp_packet_read_one_chunk(), rtmp_write(), rtp_send_samples(), rtp_write_header(), rv34_gen_vlc(), sao_filter_CTB(), save_bits(), sbg_read_packet(), sbr_gain_calc(), sbr_make_f_master(), scaleforopp(), scaleforopp_x(), scaleforopp_y(), scaleforsame(), scaling_list_data(), search(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), select_cur_seq_no(), select_frame(), select_palette(), send_picture(), send_silence(), seq_unpack_rle_block(), set_bandwidth(), set_deblocking_bypass(), set_format(), set_metadata(), set_string_fmt(), set_tile_offset(), shorten_decode_frame(), significant_coeff_group_flag_decode(), silk_decode_excitation(), silk_lsf2lpc(), silk_stabilize_lsf(), skip_scaling_list_data(), sofalizer_convolute(), sofalizer_fast_convolute(), spatial_compensation_1(), spatial_compensation_9(), spatial_idwt_slice(), srtp_open(), stabilize_lsps(), store_icy(), sub_left_prediction(), sub_left_prediction_bgr32(), sub_left_prediction_rgb24(), subfile_read(), subframe_count_exact(), subimage_with_fill(), subsampling_bounds(), super2xsai(), svq3_decode_mb(), swr_convert(), swr_convert_internal(), swri_resample(), swscale(), synth_frame(), synthesis(), tak_parse(), targa_decode_rle(), tdsc_load_cursor(), tgq_decode_mb(), tiff_decode_tag(), tls_read(), tls_write(), to_meta_with_crop(), try_push_frame(), umh_search(), unpack(), unpack_coeffs(), unpack_yuv(), update_init_section(), update_stat(), update_stream_timings(), url_find_protocol(), val(), var_diamond_search(), vc1_decode_frame(), vc1_decode_init(), vc1_filter_line(), vectorscope16(), vectorscope8(), video_audio_display(), video_open(), video_refresh(), vorbis_parse_setup_hdr_residues(), vp5_parse_coeff(), vp6_parse_coeff_huffman(), vp78_decode_frame(), vp7_get_quants(), vp8_get_quants(), vpx_init(), vqf_read_header(), wiener_denoise(), write_manifest(), write_subframes(), writer_print_data(), writer_print_integers(), wtvfile_read_packet(), wv_mono(), wv_stereo(), x8_get_prediction(), x8_loop_filter(), x8_setup_spatial_compensation(), xan_decode_frame(), xan_decode_frame_type0(), xan_wc3_output_pixel_run(), xcbgrab_reposition(), xmv_fetch_audio_packet(), xsub_encode_rle(), xwma_read_packet(), yae_align(), yae_flush(), yae_load_data(), yae_load_frag(), yae_overlap_add(), yop_read_seek(), yuv_from_cqt(), and zmbv_me().
Definition at line 97 of file common.h.
Referenced by celt_compute_qn(), cin_decode_rle(), config_input(), decode_byterun(), decode_frame_headers(), decode_header(), decode_sgirle8(), filter_frame(), init(), pred_spatial_direct_motion(), search_for_quantizers_twoloop(), selective_color(), write_frame(), and xan_wc3_copy_pixel_run().
Definition at line 99 of file common.h.
Referenced by add_cb(), at1_imdct(), at1_imdct_block(), av_aes_init(), av_gcd(), av_rc4_crypt(), av_rc4_init(), cbr_bit_allocation(), cinepak_encode_frame(), cinvideo_decode_frame(), compress_color(), compute_pkt_fields(), config_output(), decode_band(), decode_bytes_and_gain(), decode_cell_data(), decode_frame(), decode_pic(), decode_residual_spectrum(), decode_tones_info(), decorrelate(), do_swap(), do_swizzle(), draw_arrow(), draw_char(), draw_line(), draw_mandelbrot(), draw_sample_line_gray(), draw_sample_line_rgba(), draw_sample_p2p_gray(), draw_sample_p2p_rgba(), dvbsub_decode(), dxn3dc_block(), encode_frame(), escape130_decode_frame(), ff_acelp_reorder_lsf(), ff_atrac3p_imdct(), ff_ccitt_unpack(), ff_celp_lp_synthesis_filterf(), ff_eval_coefs(), ff_eval_refl(), ff_filter_graph_remove_filter(), ff_h263_decode_frame(), ff_hevc_hls_residual_coding(), ff_merge_channel_layouts(), ff_mjpeg_decode_frame(), ff_sort_nearly_sorted_floats(), ff_twinvq_decode_frame(), ff_update_duplicate_context(), ff_vp56_decode_mbs(), filter_frame(), g722_encode_trellis(), get_channel_weights(), getsigctxno(), h264_initialise_ref_list(), heap_sift(), imlt(), init_dict(), init_duplicate_context(), ipvideo_decode_frame(), luma_intra_pred_mode(), main(), make_lpc_coefs(), mc_subpel(), mp3_header_decompress(), mss2_decode_frame(), nelly_decode_block(), on2avc_reconstruct_stereo(), permute_coeffs_01452367(), png_choose_filter(), png_handle_row(), postfilter(), ra144_decode_frame(), ra144_encode_frame(), raw_decode(), rd_frame(), read_restart_header(), read_tree(), reconstruct_frame(), ripemd256_transform(), ripemd320_transform(), rm_ac3_swap_bytes(), roq_decode_frame(), roq_encode_video(), rotate_bufs(), run_postproc(), select_palette(), sniff_channel_order(), sort_stt(), ssim_plane(), svq1_encode_frame(), svq3_decode_frame(), swap_channel_layouts_on_filter(), swap_guid(), swap_sample_fmts_on_filter(), swap_samplerates_on_filter(), switch_buffers(), transcode_subtitles(), update_dts_from_pts(), vaapi_map_frame(), vc1_decode_frame(), vdpau_transfer_data_from(), vdpau_transfer_data_to(), and vp8_decode_mvs().
Definition at line 342 of file common.h.
Referenced by aasc_decode_frame(), aiff_read_header(), aiff_write_header(), aix_probe(), aix_read_header(), aix_read_packet(), amr_read_header(), ape_probe(), ape_read_header(), apng_probe(), apng_read_header(), apng_read_packet(), asf_read_stream_properties(), ast_probe(), ast_read_packet(), avformat_find_stream_info(), avi_extract_stream_metadata(), avi_load_index(), avi_read_header(), avi_read_nikon(), avi_write_packet(), avr_probe(), bfi_probe(), bfi_read_packet(), cine_read_header(), cllc_decode_frame(), daud_header(), dds_decode(), decode_aiff_header(), decode_frame(), decode_frame_common(), decode_init(), decode_wave_header(), dfa_probe(), dfa_read_header(), dfa_read_packet(), dirac_probe(), dpx_parse(), dsf_read_header(), dshow_add_device(), dss_probe(), dxa_read_header(), dxa_read_packet(), dxva2_create_decoder(), encode_apng(), encode_headers(), encode_png(), encode_styl(), epaf_probe(), export_orphan_timecode(), extract_header(), ff_alloc_a53_sei(), ff_decklink_read_header(), ff_flac_is_extradata_valid(), ff_h264_decode_seq_parameter_set(), ff_mjpeg_decode_sos(), ff_mov_init_hinting(), ff_parse_mpeg2_descriptor(), ff_rm_read_mdpr_codecdata(), ff_wv_parse_header(), ffio_wfourcc(), ffm_read_header(), ffm_write_header(), ffserver_parse_config_stream(), find_index_range(), flac_read_header(), genh_probe(), get_codec_data(), hap_init(), hap_parse_frame_header(), hq_hqa_decode_frame(), hqx_decode_frame(), iff_read_header(), ingenient_read_packet(), init_file(), init_multbl2(), init_muxer(), ipod_get_codec_tag(), is_clcp_track(), ivr_read_header(), libspeex_decode_init(), lvf_probe(), lvf_read_header(), lvf_read_packet(), matroska_parse_tracks(), matroska_parse_wavpack(), mmf_read_header(), mov_codec_id(), mov_create_chapter_track(), mov_create_timecode_track(), mov_finalize_stsd_codec(), mov_find_codec_tag(), mov_free(), mov_get_codec_tag(), mov_get_dv_codec_tag(), mov_get_h264_codec_tag(), mov_get_mpeg2_xdcam_codec_tag(), mov_get_rawvideo_codec_tag(), mov_parse_stsd_audio(), mov_parse_stsd_data(), mov_parse_stsd_video(), mov_probe(), mov_read_ares(), mov_read_cmov(), mov_read_custom(), mov_read_default(), mov_read_dref(), mov_read_frma(), mov_read_glbl(), mov_read_hdlr(), mov_read_keys(), mov_read_meta(), mov_read_sbgp(), mov_read_stco(), mov_read_stsz(), mov_read_udta_string(), mov_read_wave(), mov_read_wide(), mov_skip_multiple_stsd(), mov_write_audio_tag(), mov_write_gmhd_tag(), mov_write_hdlr_tag(), mov_write_header(), mov_write_minf_tag(), mov_write_moov_tag(), mov_write_stbl_tag(), mov_write_stsd_tag(), mov_write_trak_tag(), mov_write_video_tag(), mp3_update_xing(), mp4_get_codec_tag(), mpc_read_header(), msnwc_tcp_probe(), msnwc_tcp_read_header(), mtaf_probe(), musx_read_header(), nsv_parse_NSVf_header(), nsv_read_chunk(), open_output_file(), parse_dsd_diin(), parse_dsd_prop(), parse_fragment(), parse_pixel_format(), png_write_image_data(), probe(), probe_bfstm(), put_id3v2_tags(), qcp_read_packet(), qt_rtp_parse_packet(), query_codec(), r3d_probe(), r3d_read_header(), r3d_read_packet(), raw_decode(), raw_init_decoder(), rdt_load_mdpr(), read_desc_chunk(), read_header(), rm_read_header(), rm_read_index(), rscc_init(), rsd_read_packet(), scan_file(), sdr2_probe(), set_codec_str(), siff_parse_vbv1(), siff_read_header(), smacker_probe(), smacker_read_header(), smush_read_probe(), sol_read_header(), start_command_packet(), tak_read_header(), tdsc_decode_frame(), tdsc_decode_tiles(), thp_probe(), threedostr_read_header(), threedostr_read_packet(), tta_probe(), utvideo_encode_init(), v4l2_read_header(), vag_read_header(), vfw_codecid(), vfw_pixfmt(), vfw_read_header(), vid_probe(), vp3_decode_init(), vqf_probe(), vqf_read_header(), wavesynth_init(), wavpack_encode_block(), webp_decode_frame(), write_abst(), wv_probe(), xsub_encoder_init(), xwma_read_header(), zero12v_decode_frame(), and zero12v_decode_init().
Definition at line 343 of file common.h.
Referenced by alac_encode_init(), apng_write_trailer(), avpriv_mpeg4audio_get_config(), decode_frame(), decode_nal_sei_user_data_registered_itu_t_t35(), decode_registered_user_data(), dpx_parse(), dxv_decode(), encode_frame(), ff_id3v2_start(), ff_id3v2_write_apic(), ff_rm_read_mdpr_codecdata(), ffat_init_encoder(), ffm2_read_header(), ffm_write_header(), ffm_write_header_codec_private_ctx(), ffm_write_recommended_config(), find_sidx(), flac_decode_frame(), flush_packet(), g2m_decode_frame(), init_multbl2(), ivr_read_header(), jp2_find_codestream(), lag_decode_frame(), matroska_parse_frame(), mjpegb_decode_frame(), mov_read_mfra(), mov_read_wave(), mp3_parse_info_tag(), mp3_parse_vbri_tag(), mp3_write_audio_packet(), mv_probe(), nsv_resync(), nuv_resync(), parse_config_ALS(), png_parse(), png_write_image_data(), probe(), qdm2_decode_init(), read_header(), read_mfra(), read_moof_duration(), read_specific_config(), read_tfra(), rm_read_header(), rm_sync(), skip_fragment(), smush_read_header(), smush_read_packet(), swf_read_header(), vpk_probe(), write_chapter(), write_fragment(), write_metadata(), and xmv_process_packet_header().
Convert a UTF-8 character (up to 4 bytes) to its 32-bit UCS-4 encoded form.
val | Output value, must be an lvalue of type uint32_t. |
GET_BYTE | Expression reading one byte from the input. Evaluated up to 7 times (4 for the currently assigned Unicode range). With a memory buffer input, this could be *ptr++. |
ERROR | Expression to be evaluated on invalid input, typically a goto statement. |
Definition at line 361 of file common.h.
Referenced by ascii_to_wc(), draw_glyphs(), draw_text(), get_utf8(), mxf_utf16len(), put_str16(), utf8_check(), and utf8len().
Convert a UTF-16 character (2 or 4 bytes) to its 32-bit UCS-4 encoded form.
val | Output value, must be an lvalue of type uint32_t. |
GET_16BIT | Expression returning two bytes of UTF-16 data converted to native byte order. Evaluated one or two times. |
ERROR | Expression to be evaluated on invalid input, typically a goto statement. |
Definition at line 386 of file common.h.
Referenced by decode_str(), ff_text_r8(), and get_asf_string().
Convert a 32-bit Unicode character to its UTF-8 encoded form (up to 4 bytes long).
val | is an input-only argument and should be of type uint32_t. It holds a UCS-4 encoded Unicode character that is to be converted to UTF-8. If val is given as a function it is executed only once. |
tmp | is a temporary variable and should be of type uint8_t. It represents an intermediate value during conversion that is to be output by PUT_BYTE. |
PUT_BYTE | writes the converted UTF-8 bytes to any proper destination. It could be a function or a statement, and uses tmp as the input byte. For example, PUT_BYTE could be "*output++ = tmp;" PUT_BYTE will be executed up to 4 times for values in the valid UTF-8 range and up to 7 times in the general case, depending on the length of the converted Unicode character. |
Definition at line 414 of file common.h.
Referenced by count_frame_header(), decode_str(), ff_text_r8(), get_asf_string(), mov_read_mac_string(), and write_utf8().
Convert a 32-bit Unicode character to its UTF-16 encoded form (2 or 4 bytes).
val | is an input-only argument and should be of type uint32_t. It holds a UCS-4 encoded Unicode character that is to be converted to UTF-16. If val is given as a function it is executed only once. |
tmp | is a temporary variable and should be of type uint16_t. It represents an intermediate value during conversion that is to be output by PUT_16BIT. |
PUT_16BIT | writes the converted UTF-16 data to any proper destination in desired endianness. It could be a function or a statement, and uses tmp as the input byte. For example, PUT_BYTE could be "*output++ = tmp;" PUT_BYTE will be executed 1 or 2 times depending on input character. |
Definition at line 448 of file common.h.
Referenced by put_str16().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |