simple assert() macros that are a bit more flexible than ISO C assert(). More...
Go to the source code of this file.
Macros | |
#define | av_assert0(cond) |
assert() equivalent, that is always enabled. More... | |
#define | av_assert1(cond) ((void)0) |
assert() equivalent, that does not lie in speed critical code. More... | |
#define | av_assert2(cond) ((void)0) |
assert() equivalent, that does lie in speed critical code. More... | |
simple assert() macros that are a bit more flexible than ISO C assert().
Definition in file avassert.h.
#define av_assert0 | ( | cond | ) |
assert() equivalent, that is always enabled.
Definition at line 37 of file avassert.h.
Referenced by ape_decode_frame(), av_grow_packet(), avcodec_encode_video2(), avcodec_get_context_defaults3(), buffer_offset(), check_stream_specifier(), configure_input_filter(), configure_output_filter(), decode_init(), decode_wmv9(), does_clip(), encode_slice_header(), ff_alsa_extend_reorder_buf(), ffv1_encode_frame(), ffv1_encode_init(), filter_frame(), filter_frame_main(), filter_frame_overlay(), frame_list_add_frame(), frame_list_remove_samples(), get_available_samples(), h264_slice_header_init(), init_input_filter(), is16BPS(), is9_OR_10BPS(), isALPHA(), isBE(), isPacked(), isPackedRGB(), isPlanar(), isPlanarRGB(), isPlanarYUV(), isRGB(), isYUV(), join_request_frame(), mp3_write_xing(), mss2_decode_frame(), poll_filter(), read_from_packet_buffer(), read_header(), request_frame(), request_samples(), swap_channel_layouts_on_filter(), swap_sample_fmts_on_filter(), transcode_init(), unref_buffer(), usePal(), and write_header().
#define av_assert1 | ( | cond | ) | ((void)0) |
assert() equivalent, that does not lie in speed critical code.
These asserts() thus can be enabled without fearing speedloss.
Definition at line 53 of file avassert.h.
Referenced by validate_options().
#define av_assert2 | ( | cond | ) | ((void)0) |
assert() equivalent, that does lie in speed critical code.
Definition at line 63 of file avassert.h.
Referenced by asym_quant(), av_reduce(), decode_line(), ff_ac3_group_exponents(), output_frame_end(), and sym_quant().