FFmpeg
Loading...
Searching...
No Matches
cbs_apv.c File Reference
#include "libavutil/mem.h"
#include "cbs.h"
#include "cbs_internal.h"
#include "cbs_apv.h"

Go to the source code of this file.

Macros

#define HEADER(name)
 
#define CHECK(call)
 
#define SUBSCRIPTS(subs, ...)
 
#define u(width, name, range_min, range_max)
 
#define us(width, name, range_min, range_max, subs, ...)
 
#define ubs(width, name, subs, ...)
 
#define fixed(width, name, value)
 

Functions

static int cbs_apv_get_num_comp (const APVRawFrameHeader *fh)
 
static void cbs_apv_derive_tile_info (CodedBitstreamContext *ctx, const APVRawFrameHeader *fh)
 
static int cbs_apv_split_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag, int header)
 
static int cbs_apv_read_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit)
 
static int cbs_apv_write_unit (CodedBitstreamContext *ctx, CodedBitstreamUnit *unit, PutBitContext *pbc)
 
static int cbs_apv_assemble_fragment (CodedBitstreamContext *ctx, CodedBitstreamFragment *frag)
 
static void cbs_apv_free_metadata (AVRefStructOpaque unused, void *content)
 
const CodedBitstreamType CBS_FUNC (type_apv)
 

Variables

static CodedBitstreamUnitTypeDescriptor cbs_apv_unit_types []
 

Macro Definition Documentation

◆ HEADER

#define HEADER ( name)
Value:
do { \
CBS_FUNC(trace_header)(ctx, name); \
} while (0)
void CBS_FUNC trace_header(CodedBitstreamContext *ctx, const char *name)
Definition cbs.c:481
const char * name
Definition qsvenc.c:142
static AVFormatContext * ctx
Definition movenc.c:49

Definition at line 55 of file cbs_apv.c.

Referenced by application_data(), aps(), au_info(), aud(), aud(), aud(), comment(), dci(), dht(), dqt(), end_of_sequence(), end_of_stream(), extension_data(), filler(), filler(), frame(), frame(), frame_header(), frame_header_obu(), group_of_pictures_header(), LCEVC_BLOCK_FUNC(), LCEVC_BLOCK_FUNC(), LCEVC_BLOCK_FUNC(), LCEVC_BLOCK_FUNC(), LCEVC_BLOCK_FUNC(), LCEVC_BLOCK_FUNC(), metadata(), metadata_cll(), metadata_filler(), metadata_itu_t_t35(), metadata_mdcv(), metadata_undefined(), metadata_user_defined(), nal(), obu_header(), opi(), ph(), picture_coding_extension(), picture_display_extension(), picture_header(), pps(), pps(), pps(), process_block_list(), quant_matrix_extension(), scan_header(), sei(), sei(), sei(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), sequence_display_extension(), sequence_end(), sequence_extension(), sequence_header(), sequence_header_obu(), slice_header(), slice_header(), slice_header(), slice_segment_header(), sps(), sps(), sps(), sps_extension(), superframe_index(), temporal_delimiter_obu(), tile_group_obu(), uncompressed_header(), user_data(), vps(), vps(), and vui_parameters().

◆ CHECK

◆ SUBSCRIPTS

#define SUBSCRIPTS ( subs,
... )
Value:
(subs > 0 ? ((int[subs + 1]){ subs, __VA_ARGS__ }) : NULL)
#define NULL
Definition coverity.c:32

Definition at line 65 of file cbs_apv.c.

◆ u

#define u ( width,
name,
range_min,
range_max )
Value:
xu(width, name, current->name, range_min, range_max, 0, )
#define xu(width, name, var, range_min, range_max, subs,...)
Definition cbs_h264.c:101
static struct @111144215057303131116103221376075045141373005341 current
#define width
Definition dsp.h:89

Definition at line 68 of file cbs_apv.c.

Referenced by adaptive_color_transform(), adpcm_compress_trellis(), application_data(), apply_lut(), apply_lut10(), aps(), au_info(), aud(), aud(), av_clip_int16_rvi(), av_clip_int8_rvi(), av_clipl_int32_rvi(), av_gcd(), avui_decode_frame(), bicubic_kernel(), bilinear_kernel(), bitpacked_decode_yuv422p10(), build_diff_map(), calc_combed_score(), calc_persp_luts(), cbrt01_int(), checkasm_check_v210dec(), cinepak_decode_codebook(), clear_less_significant_bits(), colorize_slice16(), colorize_slice8(), colour_mapping_table(), comment(), config_input(), convert(), cpia_decode_frame(), cqt_calc(), create_chrominance_lut(), decode_aybr(), decode_aybri(), decode_blocks(), decode_byry(), decode_byryi(), decode_c82i(), decode_c82p(), decode_ca2i(), decode_ca2p(), decode_ca4i(), decode_ca4p(), decode_frame(), decode_frame(), decode_frame(), decode_row(), decode_subband_slice_buffered(), decode_ybr(), decode_ybr10(), decode_ybr10i(), decode_ybri(), decode_ybyr(), decode_yry10(), decode_yry10i(), dht(), do_chromahold16_slice(), do_chromahold_slice(), do_chromakey16_slice(), do_chromakey_pixel(), do_chromakey_pixel16(), do_chromakey_slice(), do_hsvhold16_slice(), do_hsvhold_slice(), do_hsvkey16_slice(), do_hsvkey_pixel(), do_hsvkey_slice(), dqt(), draw(), encode_422_bitstream(), encode_histogram_remap(), encode_yuv422p10(), enlarge_roq_mb4(), ff_hevc_decode_short_term_rps(), ff_remap1_16bit_line_avx2(), ff_remap1_8bit_line_avx2(), ff_remap2_16bit_line_avx2(), ff_remap2_8bit_line_avx2(), ff_remap3_8bit_line_avx2(), ff_remap4_8bit_line_avx2(), ff_rtjpeg_decode_frame_yuv420(), ff_sws_alphablendaway(), ff_update_palette(), ff_v210_planar_pack_10_avx2(), ff_v210_planar_pack_10_avx512(), ff_v210_planar_pack_10_avx512icl(), ff_v210_planar_pack_10_ssse3(), ff_v210_planar_pack_8_avx(), ff_v210_planar_pack_8_avx2(), ff_v210_planar_pack_8_avx512(), ff_v210_planar_pack_8_avx512icl(), ff_v210_planar_pack_8_ssse3(), ff_v210_planar_unpack_aligned_avx(), ff_v210_planar_unpack_aligned_avx2(), ff_v210_planar_unpack_aligned_ssse3(), ff_v210_planar_unpack_avx512icl(), ff_v210_planar_unpack_unaligned_avx(), ff_v210_planar_unpack_unaligned_avx2(), ff_v210_planar_unpack_unaligned_ssse3(), ff_vvc_inv_dct2_32(), ff_vvc_inv_lfnst_1d(), fill_in_tongue(), fill_pixels(), filter(), filter_frame(), float2half(), frame_block_to_cell(), frame_header(), frame_header(), frame_info(), gaussian_kernel(), gen_alias_map(), general_constraints_info(), general_timing_hrd_parameters(), generate_joint_tables(), generate_kernel(), get_benchmark_time_stamps(), get_pixel16_uv(), get_pixel_uv(), get_s16l(), grad(), half2float(), huffman_table(), ilfnst_transform(), init(), init(), input_flip(), inv_cdf(), is_negative(), jpeg2000_decode_ht_cleanup_segment(), lagrange_kernel(), lanczos_kernel(), lcg_random(), lcg_random(), main(), mitchell_kernel(), mode17(), mode23(), mode24(), monochrome_color_location(), mp_build_rgb_yuv_table(), mp_decode_line(), mp_set_zero_yuv(), mp_yuv_to_rgb(), mss2_blit_wmv9_template(), nal_unit_header(), nal_unit_header(), nearest_kernel(), orthogonalize(), pbu_header(), perlin_get(), pick_color(), planar_rgb_to_uv_lasx(), pow_m1_4(), pps(), pps(), print_option(), process_sample(), process_slice_uyvy422(), process_slice_yuv420p(), process_slice_yuv422p(), process_slice_yuv444p(), profile_tier_level(), psy_lame_detect(), psy_lame_window_pair(), put_pixel_bayer_lin_curve_12(), quant_dn(), quantisation_table(), render_default_font(), resample_cubic(), resample_linear(), reverse_dc_prediction(), rgb2yuv(), rgb2yuv(), rgb2yuv_fsb(), rndf(), rv40_weak_loop_filter(), sbr_sum_square_c(), scan_header(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), sei_pic_timestamp(), sign_extend(), sign_extend64(), slice_header(), slice_header(), slice_segment_header(), spi_OpConstantDouble(), spi_OpConstantFloat(), spi_OpConstantInt(), spi_OpConstantInt64(), spline16_kernel(), sps(), sps(), sps(), sps_scc_extension(), tile_header(), tile_info(), tm2_decode_blocks(), truncated_binary_decode(), unpack_roq_cell(), unpack_roq_qcell(), uv_to_xy(), v210_enc_TMPL(), v210_planar_pack_10_c(), v210_planar_pack_8_c(), v210_planar_unpack_c(), v360_slice(), vp9_handle_packet(), vps(), vps(), vui_parameters(), vui_parameters(), vui_parameters(), vvc_itx_1d_fn(), wv_get_value_float(), xy_to_uv(), y216_decode_frame(), y41p_decode_frame(), y41p_encode_frame(), yuv2nv12cX_16_c_template(), yuv2nv12cX_c(), yuv2p01xcX_c(), yuv2rgb(), yuv2rgb_1_template_lasx(), yuv2rgb_1_template_lsx(), yuv2rgb_2_template_lasx(), yuv2rgb_2_template_lsx(), yuv2rgb_X_template_lasx(), yuv2yuv(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_frame(), and zoom().

◆ us

◆ ubs

◆ fixed

Function Documentation

◆ cbs_apv_get_num_comp()

static int cbs_apv_get_num_comp ( const APVRawFrameHeader * fh)
static

Definition at line 25 of file cbs_apv.c.

Referenced by frame_header().

◆ cbs_apv_derive_tile_info()

static void cbs_apv_derive_tile_info ( CodedBitstreamContext * ctx,
const APVRawFrameHeader * fh )
static

Definition at line 40 of file cbs_apv.c.

Referenced by tile_info().

◆ cbs_apv_split_fragment()

static int cbs_apv_split_fragment ( CodedBitstreamContext * ctx,
CodedBitstreamFragment * frag,
int header )
static

Definition at line 162 of file cbs_apv.c.

Referenced by CBS_FUNC().

◆ cbs_apv_read_unit()

static int cbs_apv_read_unit ( CodedBitstreamContext * ctx,
CodedBitstreamUnit * unit )
static

Definition at line 256 of file cbs_apv.c.

Referenced by CBS_FUNC().

◆ cbs_apv_write_unit()

static int cbs_apv_write_unit ( CodedBitstreamContext * ctx,
CodedBitstreamUnit * unit,
PutBitContext * pbc )
static

Definition at line 323 of file cbs_apv.c.

Referenced by CBS_FUNC().

◆ cbs_apv_assemble_fragment()

static int cbs_apv_assemble_fragment ( CodedBitstreamContext * ctx,
CodedBitstreamFragment * frag )
static

Definition at line 375 of file cbs_apv.c.

Referenced by CBS_FUNC().

◆ cbs_apv_free_metadata()

static void cbs_apv_free_metadata ( AVRefStructOpaque unused,
void * content )
static

Definition at line 410 of file cbs_apv.c.

◆ CBS_FUNC()

const CodedBitstreamType CBS_FUNC ( type_apv )

Variable Documentation

◆ cbs_apv_unit_types

CodedBitstreamUnitTypeDescriptor cbs_apv_unit_types[]
static
Initial value:
= {
{
.nb_unit_types = CBS_UNIT_TYPE_RANGE,
.unit_type.range = {
},
.content_size = sizeof(APVRawFrame),
.type.ref = {
.nb_offsets = 1,
.offsets = { 0x42 -
sizeof(void*) },
},
},
}
#define CBS_UNIT_TYPE_POD(type_, structure)
@ CBS_UNIT_TYPE_RANGE
#define CBS_UNIT_TYPE_END_OF_LIST
@ CBS_CONTENT_TYPE_INTERNAL_REFS
#define CBS_UNIT_TYPE_COMPLEX(type, structure, free_func)
cl_device_type type
@ APV_PBU_ALPHA_FRAME
Definition apv.h:31
@ APV_PBU_PRIMARY_FRAME
Definition apv.h:27
@ APV_PBU_FILLER
Definition apv.h:34
@ APV_PBU_ACCESS_UNIT_INFORMATION
Definition apv.h:32
@ APV_PBU_METADATA
Definition apv.h:33
static void cbs_apv_free_metadata(AVRefStructOpaque unused, void *content)
Definition cbs_apv.c:410

Definition at line 435 of file cbs_apv.c.

Referenced by CBS_FUNC().