|
#define | HEADER(name) |
|
#define | CHECK(call) |
|
#define | FUNC_NAME(rw, codec, name) cbs_ ## codec ## _ ## rw ## _ ## name |
|
#define | FUNC_AV1(rw, name) FUNC_NAME(rw, av1, name) |
|
#define | FUNC(name) FUNC_AV1(READWRITE, name) |
|
#define | SUBSCRIPTS(subs,...) (subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) : NULL) |
|
#define | fb(width, name) xf(width, name, current->name, 0, MAX_UINT_BITS(width), 0) |
|
#define | fc(width, name, range_min, range_max) xf(width, name, current->name, range_min, range_max, 0) |
|
#define | flag(name) fb(1, name) |
|
#define | su(width, name) xsu(width, name, current->name, 0) |
|
#define | fbs(width, name, subs,...) xf(width, name, current->name, 0, MAX_UINT_BITS(width), subs, __VA_ARGS__) |
|
#define | fcs(width, name, range_min, range_max, subs,...) xf(width, name, current->name, range_min, range_max, subs, __VA_ARGS__) |
|
#define | flags(name, subs,...) xf(1, name, current->name, 0, 1, subs, __VA_ARGS__) |
|
#define | sus(width, name, subs,...) xsu(width, name, current->name, subs, __VA_ARGS__) |
|
#define | fixed(width, name, value) |
|
#define | READ |
|
#define | READWRITE read |
|
#define | RWContext GetBitContext |
|
#define | xf(width, name, var, range_min, range_max, subs,...) |
|
#define | xsu(width, name, var, subs,...) |
|
#define | uvlc(name, range_min, range_max) |
|
#define | ns(max_value, name, subs,...) |
|
#define | increment(name, min, max) |
|
#define | subexp(name, max, subs,...) |
|
#define | delta_q(name) |
|
#define | leb128(name) |
|
#define | infer(name, value) |
|
#define | byte_alignment(rw) (get_bits_count(rw) % 8) |
|
#define | WRITE |
|
#define | READWRITE write |
|
#define | RWContext PutBitContext |
|
#define | xf(width, name, var, range_min, range_max, subs,...) |
|
#define | xsu(width, name, var, subs,...) |
|
#define | uvlc(name, range_min, range_max) |
|
#define | ns(max_value, name, subs,...) |
|
#define | increment(name, min, max) |
|
#define | subexp(name, max, subs,...) |
|
#define | delta_q(name) |
|
#define | leb128(name) |
|
#define | infer(name, value) |
|
#define | byte_alignment(rw) (put_bits_count(rw) % 8) |
|
|
static int | cbs_av1_read_uvlc (CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) |
|
static int | cbs_av1_write_uvlc (CodedBitstreamContext *ctx, PutBitContext *pbc, const char *name, uint32_t value, uint32_t range_min, uint32_t range_max) |
|
static int | cbs_av1_read_leb128 (CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint64_t *write_to) |
|
static int | cbs_av1_write_leb128 (CodedBitstreamContext *ctx, PutBitContext *pbc, const char *name, uint64_t value) |
|
static int | cbs_av1_read_su (CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, const int *subscripts, int32_t *write_to) |
|
static int | cbs_av1_write_su (CodedBitstreamContext *ctx, PutBitContext *pbc, int width, const char *name, const int *subscripts, int32_t value) |
|
static int | cbs_av1_read_ns (CodedBitstreamContext *ctx, GetBitContext *gbc, uint32_t n, const char *name, const int *subscripts, uint32_t *write_to) |
|
static int | cbs_av1_write_ns (CodedBitstreamContext *ctx, PutBitContext *pbc, uint32_t n, const char *name, const int *subscripts, uint32_t value) |
|
static int | cbs_av1_read_increment (CodedBitstreamContext *ctx, GetBitContext *gbc, uint32_t range_min, uint32_t range_max, const char *name, uint32_t *write_to) |
|
static int | cbs_av1_write_increment (CodedBitstreamContext *ctx, PutBitContext *pbc, uint32_t range_min, uint32_t range_max, const char *name, uint32_t value) |
|
static int | cbs_av1_read_subexp (CodedBitstreamContext *ctx, GetBitContext *gbc, uint32_t range_max, const char *name, const int *subscripts, uint32_t *write_to) |
|
static int | cbs_av1_write_subexp (CodedBitstreamContext *ctx, PutBitContext *pbc, uint32_t range_max, const char *name, const int *subscripts, uint32_t value) |
|
static int | cbs_av1_tile_log2 (int blksize, int target) |
|
static int | cbs_av1_get_relative_dist (const AV1RawSequenceHeader *seq, unsigned int a, unsigned int b) |
|
static int | cbs_av1_split_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header) |
|
static void | cbs_av1_free_tile_data (AV1RawTileData *td) |
|
static void | cbs_av1_free_metadata (AV1RawMetadata *md) |
|
static void | cbs_av1_free_obu (void *unit, uint8_t *content) |
|
static int | cbs_av1_ref_tile_data (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, GetBitContext *gbc, AV1RawTileData *td) |
|
static int | cbs_av1_read_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit) |
|
static int | cbs_av1_write_obu (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc) |
|
static int | cbs_av1_write_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit) |
|
static int | cbs_av1_assemble_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag) |
|
static void | cbs_av1_close (CodedBitstreamContext *ctx) |
|
#define flags |
( |
|
name, |
|
|
|
subs, |
|
|
|
... |
|
) |
| xf(1, name, current->name, 0, 1, subs, __VA_ARGS__) |
- Examples:
- ffhash.c.
Definition at line 596 of file cbs_av1.c.
Referenced by add_index_entry(), aom_encode(), aom_init(), ape_tag_read_field(), apply_param_change(), asf_read_stream_properties(), asf_write_packet(), av_get_cpu_flags(), av_opt_query_ranges(), av_opt_set_defaults2(), av_parse_cpu_flags(), av_read_image_line2(), av_timecode_init(), av_vdpau_bind_context(), av_write_image_line2(), avfilter_graph_queue_command(), avfilter_graph_set_auto_convert(), avi_add_ientry(), avi_read_idx1(), avi_write_header(), avi_write_packet_internal(), avio_check(), bidir_refine(), check(), crypto_open2(), decode_frame(), decode_frame_header(), decode_header(), decode_hextile(), decode_init(), decode_mb_b(), decode_rle(), decode_subblock(), decode_subblock3(), decode_tile_info(), device_open(), dnxhd_decode_dct_block(), dump_paramchange(), dump_stream_format(), dxa_read_header(), encode_codebook(), encode_frame(), encode_mode(), epzs_motion_search2(), epzs_motion_search4(), fbdev_read_header(), fbdev_write_header(), ff_ac3_apply_rematrixing(), ff_add_index_entry(), ff_alsa_open(), ff_draw_init(), ff_get_cpu_max_align_aarch64(), ff_get_cpu_max_align_ppc(), ff_get_cpu_max_align_x86(), ff_get_unscaled_swscale(), ff_ip_resolve_host(), ff_mediacodec_dec_send(), ff_mms_asf_header_parser(), ff_mp4_parse_es_descr(), ff_parse_mpeg2_descriptor(), ff_rdt_parse_packet(), ff_vc1_b_intfi_loop_filter(), ff_vc1_i_loop_filter(), ff_vc1_p_intfr_loop_filter(), ff_vc1_p_loop_filter(), ffat_init_encoder(), fileTest(), filter_codec_opts(), filter_frame(), find_prev_closest_index(), flush(), flv_read_header(), flv_read_packet(), flv_write_packet(), frame_size_with_refs(), gdv_decode_frame(), get_audio_flags(), get_mb_score(), get_needed_flags(), get_opt_flags_string(), gif_read_image(), global_motion_params(), hls_read_seek(), hpel_motion_search(), hrd_parameters(), init_context_defaults(), init_noise(), ipvideo_decode_block_opcode_0x7(), ipvideo_decode_block_opcode_0x7_16(), ipvideo_decode_block_opcode_0x8(), ipvideo_decode_block_opcode_0x8_16(), ipvideo_decode_block_opcode_0x9(), ipvideo_decode_block_opcode_0x9_16(), ipvideo_decode_block_opcode_0xA(), ipvideo_decode_block_opcode_0xA_16(), is_animated_webp_packet(), loop_filter_params(), lvf_read_packet(), magy_decode_slice(), magy_decode_slice10(), main(), matroska_parse_block(), matroska_parse_wavpack(), mjpeg_decode_app(), mkv_write_vtt_blocks(), mov_fix_index(), mov_parse_stsd_audio(), mov_read_tfhd(), mov_read_timecode_track(), mov_read_tkhd(), mov_read_trun(), mov_write_tfhd_tag(), mov_write_tkhd_tag(), mov_write_trun_tag(), mpeg_decode_user_data(), mpegps_read_pes_header(), mpegts_push_data(), mpegts_write_pes(), mpegts_write_section1(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), mxf_compute_ptses_fake_index(), mxf_parse_physical_source_package(), mxf_parse_structural_metadata(), noise(), nut_write_packet(), nvenc_check_capabilities(), ogg_read_page(), old_codec37(), opt_cpuflags(), opt_loglevel(), parse_MP4SLDescrTag(), parse_opus_ts_header(), parse_pcr(), parse_pixel_format(), pmp_header(), pp_config_props(), pps(), pred_weight_table(), process_command(), profile_tier_level(), qpel_motion_search(), read_desc_chunk(), read_header(), read_moof_duration(), read_packet(), read_part_of_packet(), read_trun_duration(), rm_read_dts(), rm_read_header(), rm_read_packet(), rtp_parse_one_packet(), rtp_parse_packet_internal(), rv10_write_header(), scaling_list_data(), sdl2_write_header(), sdr2_read_packet(), segmentation_params(), sei_pic_timing(), selfTest(), sequence_header_obu(), seqvideo_decode(), show_help_default(), slice_segment_header(), smacker_read_packet(), sps(), st_ref_pic_set(), sub_layer_hrd_parameters(), sws_alloc_set_opts(), sws_getCachedContext(), sws_init_context(), swscale(), thread_get_buffer_internal(), thread_main(), txd_decode_frame(), url_alloc_for_protocol(), vaapi_map_frame(), validate_avframe_allocation(), vmdaudio_decode_frame(), vorbis_packet(), vps(), wmavoice_decode_init(), write_header(), write_sm_data(), and wv_read_block_header().
#define xf |
( |
|
width, |
|
|
|
name, |
|
|
|
var, |
|
|
|
range_min, |
|
|
|
range_max, |
|
|
|
subs, |
|
|
|
... |
|
) |
| |
Value:do { \
&value, range_min, range_max)); \
} while (0)
int ff_cbs_read_unsigned(CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, const int *subscripts, uint32_t *write_to, uint32_t range_min, uint32_t range_max)
GLsizei GLboolean const GLfloat * value
#define SUBSCRIPTS(subs,...)
Definition at line 698 of file cbs_av1.c.
Referenced by adpcm_decode_frame(), avpriv_mpegaudio_decode_header(), checkasm_check_nlmeans(), compute_safe_ssd_integral_image_c(), compute_ssd_integral_image(), decode_fixed_sparse(), decode_frame(), decode_i_block(), dv_write_pack(), dvb_encode_rle4(), dvbsub_parse_pixel_data_block(), encode_dvb_subtitles(), evrc_decode_frame(), ff_get_cpu_flags_x86(), ff_mpa_check_header(), ff_yuv2rgb_init_ppc(), frame_header_obu(), frame_sync_code(), gen_vector_table15(), gen_vector_table16(), gen_vector_table24(), h261_probe(), inverse_quant(), metadata_itut_t35(), modplug_read_packet(), mov_write_d263_tag(), mpegps_read_pes_header(), nvenc_load_libraries(), prores_encode_init(), roq_encode_init(), sbc_synthesize_eight(), sbc_synthesize_four(), trailing_bits(), vc1_b_h_intfi_loop_filter(), vc1_b_v_intfi_loop_filter(), vc1_decode_p_mb_intfr(), vc1_p_h_intfr_loop_filter(), vc1_p_h_loop_filter(), vc1_p_v_intfr_loop_filter(), vc1_p_v_loop_filter(), wavpack_decode_block(), and yop_decode_frame().