FFmpeg  4.0
Macros
macros.h File Reference

Utility Preprocessor macros. More...

Go to the source code of this file.

Macros

#define AV_STRINGIFY(s)   AV_TOSTRING(s)
 
#define AV_TOSTRING(s)   #s
 
#define AV_GLUE(a, b)   a ## b
 
#define AV_JOIN(a, b)   AV_GLUE(a, b)
 
#define AV_PRAGMA(s)   _Pragma(#s)
 
#define FFALIGN(x, a)   (((x)+(a)-1)&~((a)-1))
 

Detailed Description

Utility Preprocessor macros.

Definition in file macros.h.

Macro Definition Documentation

◆ AV_PRAGMA

#define AV_PRAGMA (   s)    _Pragma(#s)

Definition at line 46 of file macros.h.

◆ FFALIGN

#define FFALIGN (   x,
  a 
)    (((x)+(a)-1)&~((a)-1))
Examples:
qsvdec.c.

Definition at line 48 of file macros.h.

Referenced by add_frame_default(), aic_decode_frame(), aic_decode_init(), alloc_buffers(), alloc_metrics(), alloc_scratch_buffers(), alloc_sequence_buffers(), allocate_frame_buffers(), ape_decode_frame(), apply_channel_coupling(), atrac3_decode_init(), av_image_alloc(), av_image_copy_to_buffer(), av_image_fill_arrays(), av_image_get_buffer_size(), av_samples_get_buffer_size(), avcodec_align_dimensions(), avcodec_align_dimensions2(), backward_filter(), cdxl_decode_frame(), cdxl_read_packet(), celt_gauge_psy_weight(), cfhd_decode(), clv_decode_init(), codec_reinit(), config_input(), config_props(), convert_coeffs(), convert_samples(), copy_frame_default(), count_hq_slice(), cuda_frames_init(), cuda_get_buffer(), cyuv_decode_frame(), dca_parse_params(), dcadec_decode_frame(), dds_decode(), decode_delta_d(), decode_delta_e(), decode_frame(), decode_i2_frame(), decode_init(), decode_pic(), decode_short_horizontal_delta(), dirac_decode_frame_internal(), dnxhd_decode_init(), do_hybrid_window(), doTest(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxv_init(), encode_frame(), encode_gbrp12(), encode_hq_slice(), encode_init(), epic_jb_decode_tile(), estimate_slice_plane(), ff_audio_mix(), ff_celt_decode_frame(), ff_convert_dither(), ff_dxva2_common_frame_params(), ff_end_tag(), ff_er_frame_end(), ff_frame_pool_video_init(), ff_image_copy_plane_uc_from_x86(), ff_init_filters(), ff_ivi_init_planes(), ff_lpc_calc_coefs(), ff_lpc_init(), 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_mpeg_framesize_alloc(), ff_mss12_decode_init(), ff_opencl_filter_work_size_from_image(), ff_qsv_process_data(), ff_spdif_read_packet(), ff_vc1_decode_init_alloc_tables(), ff_vc1_parse_frame_header_adv(), ff_vmafmotion_init(), ffmal_copy_frame(), ffmmal_init_decoder(), fic_decode_frame(), fic_decode_init(), fill_frameinfo_by_link(), filter(), filter_frame(), fir_channel(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), flv_write_packet(), g2m_init_buffers(), g2m_load_cursor(), generate_dither_noise(), get_audio_frame_duration(), get_format(), get_max_frame_size(), get_video_buffer(), hap_init(), headphone_convolute(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), if(), init_dimensions(), init_lengths(), init_out_pool(), init_planes(), init_sizes(), init_stage(), init_video_param(), init_video_param_jpeg(), init_vpp_session(), jpg_decode_data(), kempf_decode_tile(), kempf_restore_buf(), lag_decode_frame(), load_buffer(), load_data(), load_input_picture(), mediacodec_dec_parse_format(), mp3lame_encode_frame(), mpeg_decode_postinit(), mpegvideo_extract_headers(), msrle_decode_frame(), mss4_decode_frame(), mss4_decode_init(), open_filter_param(), opus_decode_packet(), output_frame(), paf_video_init(), parse(), pcm_bluray_decode_frame(), pcm_bluray_parse_header(), pcm_decode_frame(), pixlet_decode_frame(), pp_filter_frame(), pp_get_context(), process_slice_yuv420p(), prores_encode_frame(), put_meta(), qdm2_calculate_fft(), qsv_init(), qsv_init_child_ctx(), qsv_init_surface(), query_frame(), raw_decode(), read_table(), request_frame(), resample_init(), sao_filter_CTB(), saturate_output_float(), screenpresso_decode_frame(), send_command_packet(), set_sample_rate_params(), set_spdif(), sofalizer_convolute(), sox_write_header(), spdif_header_dts4(), spdif_write_packet(), speedhq_decode_frame(), submit_frame(), sunrast_encode_init(), svq1_decode_frame(), swf_read_packet(), swri_realloc_audio(), sws_init_context(), tdsc_load_cursor(), tgq_decode_frame(), tscc2_decode_init(), txd_decode_frame(), utvideo_encode_init(), v4l2_get_framesize_compressed(), vaapi_encode_h264_configure(), vaapi_encode_h264_init(), vaapi_encode_h265_configure(), vaapi_encode_h265_init(), vaapi_encode_mjpeg_init(), vaapi_encode_mpeg2_configure(), vaapi_encode_mpeg2_init(), vaapi_encode_vp8_init(), vaapi_encode_vp9_init(), vc1_extract_header(), vc2_encode_init(), vp3_decode_init(), vp6_parse_header(), write_opuslacing(), xsub_encode(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_frame(), and y41p_decode_frame().