FFmpeg
Loading...
Searching...
No Matches
ps.c File Reference
#include <stdbool.h>
#include "libavcodec/cbs_h266.h"
#include "libavcodec/decode.h"
#include "libavcodec/h2645data.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/refstruct.h"
#include "data.h"
#include "ps.h"
#include "dec.h"

Go to the source code of this file.

Macros

#define EXTENDED_SAR   255
 
#define WEIGHT_TABLE(x)
 
#define VBF(f)
 
#define VBFS(c, d)
 

Functions

static int sps_map_pixel_format (VVCSPS *sps, void *log_ctx)
 
static int sps_bit_depth (VVCSPS *sps, void *log_ctx)
 
static int sps_chroma_qp_table (VVCSPS *sps)
 
static void sps_poc (VVCSPS *sps)
 
static void sps_inter (VVCSPS *sps)
 
static void sps_partition_constraints (VVCSPS *sps)
 
static void sps_ladf (VVCSPS *sps)
 
static void sps_vui (AVCodecContext *c, const H266RawVUI *vui)
 
static void sps_export_stream_params (AVCodecContext *c, const VVCSPS *sps)
 
static int sps_derive (VVCSPS *sps, AVCodecContext *c)
 
static void sps_free (AVRefStructOpaque opaque, void *obj)
 
static const VVCSPSsps_alloc (const H266RawSPS *rsps, AVCodecContext *c)
 
static int decode_sps (VVCParamSets *ps, AVCodecContext *c, const H266RawSPS *rsps, int is_clvss)
 
static void pps_chroma_qp_offset (VVCPPS *pps)
 
static void pps_width_height (VVCPPS *pps, const VVCSPS *sps)
 
static int pps_bd (VVCPPS *pps)
 
static int next_tile_idx (int tile_idx, const int i, const H266RawPPS *r)
 
static void tile_xy (int *tile_x, int *tile_y, const int tile_idx, const VVCPPS *pps)
 
static void ctu_xy (int *rx, int *ry, const int tile_x, const int tile_y, const VVCPPS *pps)
 
static int ctu_rs (const int rx, const int ry, const VVCPPS *pps)
 
static int pps_add_ctus (VVCPPS *pps, int *off, const int rx, const int ry, const int w, const int h)
 
static int pps_single_slice_picture (VVCPPS *pps, int *off)
 
static void subpic_tiles (int *tile_x, int *tile_y, int *tile_x_end, int *tile_y_end, const VVCSPS *sps, const VVCPPS *pps, const int i)
 
static int pps_subpic_less_than_one_tile_slice (VVCPPS *pps, const VVCSPS *sps, const int i, const int tx, const int ty, int *off)
 
static int pps_subpic_one_or_more_tiles_slice (VVCPPS *pps, const int tile_x, const int tile_y, const int x_end, const int y_end, const int i, int *off)
 
static int pps_subpic_slice (VVCPPS *pps, const VVCSPS *sps, const int i, int *off)
 
static int pps_single_slice_per_subpic (VVCPPS *pps, const VVCSPS *sps, int *off)
 
static int pps_one_tile_slices (VVCPPS *pps, const int tile_idx, int i, int *off)
 
static int pps_multi_tiles_slice (VVCPPS *pps, const int tile_idx, const int i, int *off, bool *tile_in_slice)
 
static int pps_rect_slice (VVCPPS *pps, const VVCSPS *sps)
 
static int pps_no_rect_slice (VVCPPS *pps)
 
static int pps_slice_map (VVCPPS *pps, const VVCSPS *sps)
 
static void pps_ref_wraparound_offset (VVCPPS *pps, const VVCSPS *sps)
 
static void pps_subpic (VVCPPS *pps, const VVCSPS *sps)
 
static int pps_derive (VVCPPS *pps, const VVCSPS *sps)
 
static void pps_free (AVRefStructOpaque opaque, void *obj)
 
static const VVCPPSpps_alloc (const H266RawPPS *rpps, const VVCSPS *sps)
 
static int decode_pps (VVCParamSets *ps, const H266RawPPS *rpps)
 
static int decode_ps (VVCParamSets *ps, AVCodecContext *c, const SliceContext *sc, int is_clvss)
 
static void pred_weight_table (PredWeightTable *w, const H266RawPredWeightTable *r)
 
static int ph_compute_poc (const H266RawPictureHeader *ph, const H266RawSPS *sps, const int poc_tid0, const int is_clvss)
 
static av_always_inline uint16_t lmcs_derive_lut_sample (uint16_t sample, uint16_t *pivot1, uint16_t *pivot2, uint16_t *scale_coeff, const int idx, const int max)
 
static int lmcs_derive_lut (VVCLMCS *lmcs, const H266RawAPS *rlmcs, const H266RawSPS *sps)
 
static int ph_max_num_subblock_merge_cand (const H266RawSPS *sps, const H266RawPictureHeader *ph)
 
static int ph_vb_pos (uint16_t *vbs, uint8_t *num_vbs, const uint16_t *pos_minus_1, const uint8_t num_pos, uint16_t max, const int ctb_size_y)
 
static int ph_vb (VVCPH *ph, const H266RawSPS *sps, const H266RawPPS *pps)
 
static int ph_derive (VVCPH *ph, const H266RawSPS *sps, const H266RawPPS *pps, const int poc_tid0, const int is_clvss)
 
static int decode_ph (VVCFrameParamSets *fps, const H266RawPictureHeader *rph, void *rph_ref, const int poc_tid0, const int is_clvss)
 
static int decode_frame_ps (VVCFrameParamSets *fps, const VVCParamSets *ps, const SliceContext *sc, const int poc_tid0, const int is_clvss, const VVCContext *s)
 
static void decode_recovery_flag (VVCContext *s)
 
static void decode_recovery_poc (VVCContext *s, const VVCPH *ph)
 
int ff_vvc_decode_frame_ps (struct VVCFrameContext *fc, struct VVCContext *s)
 
void ff_vvc_frame_ps_free (VVCFrameParamSets *fps)
 
void ff_vvc_ps_uninit (VVCParamSets *ps)
 
static void alf_coeff (int16_t *coeff, const uint8_t *abs, const uint8_t *sign, const int size)
 
static void alf_coeff_cc (int16_t *coeff, const uint8_t *mapped_abs, const uint8_t *sign)
 
static void alf_luma (VVCALF *alf, const H266RawAPS *aps)
 
static void alf_chroma (VVCALF *alf, const H266RawAPS *aps)
 
static void alf_cc (VVCALF *alf, const H266RawAPS *aps)
 
static void alf_derive (VVCALF *alf, const H266RawAPS *aps)
 
static void alf_free (AVRefStructOpaque unused, void *obj)
 
static int aps_decode_alf (const VVCALF **alf, const H266RawAPS *aps)
 
static int is_luma_list (const int id)
 
static int derive_matrix_size (const int id)
 
static void scaling_derive (VVCScalingList *sl, const H266RawAPS *aps)
 
static int aps_decode_scaling (const VVCScalingList **scaling, const H266RawAPS *aps)
 
int ff_vvc_decode_aps (VVCParamSets *ps, const CodedBitstreamUnit *unit)
 
static int sh_alf_aps (const VVCSH *sh, const VVCFrameParamSets *fps)
 
static int sh_slice_address (VVCSH *sh, const H266RawSPS *sps, const VVCPPS *pps)
 
static void sh_qp_y (VVCSH *sh, const H266RawPPS *pps, const H266RawPictureHeader *ph)
 
static void sh_inter (VVCSH *sh, const H266RawSPS *sps, const H266RawPPS *pps)
 
static void sh_deblock_offsets (VVCSH *sh)
 
static void sh_partition_constraints (VVCSH *sh, const H266RawSPS *sps, const H266RawPictureHeader *ph)
 
static void sh_entry_points (VVCSH *sh, const H266RawSPS *sps, const VVCPPS *pps)
 
static int sh_derive (VVCSH *sh, const VVCFrameParamSets *fps)
 
int ff_vvc_decode_sh (VVCSH *sh, const VVCFrameParamSets *fps, const CodedBitstreamUnit *unit)
 

Macro Definition Documentation

◆ EXTENDED_SAR

#define EXTENDED_SAR   255

Definition at line 185 of file ps.c.

◆ WEIGHT_TABLE

#define WEIGHT_TABLE ( x)
Value:
w->nb_weights[L##x] = r->num_weights_l##x; \
for (int i = 0; i < w->nb_weights[L##x]; i++) { \
w->weight_flag[L##x][LUMA][i] = r->luma_weight_l##x##_flag[i]; \
w->weight_flag[L##x][CHROMA][i] = r->chroma_weight_l##x##_flag[i]; \
w->weight[L##x][LUMA][i] = denom[LUMA] + r->delta_luma_weight_l##x[i]; \
w->offset[L##x][LUMA][i] = r->luma_offset_l##x[i]; \
for (int j = CB; j <= CR; j++) { \
w->weight[L##x][j][i] = denom[CHROMA] + r->delta_chroma_weight_l##x[i][j - 1]; \
w->offset[L##x][j][i] = 128 + r->delta_chroma_offset_l##x[i][j - 1]; \
w->offset[L##x][j][i] -= (128 * w->weight[L##x][j][i]) >> w->log2_denom[CHROMA]; \
w->offset[L##x][j][i] = av_clip_intp2(w->offset[L##x][j][i], 7); \
} \
} \
#define L(x)
Definition vpx_arith.h:36
#define i(width, name, range_min, range_max)
Definition cbs_h264.c:63
#define av_clip_intp2
Definition common.h:121
#define CHROMA(h)
Definition h264dec.h:88
#define LUMA
Definition filter.c:31
#define CR
Definition filter.c:33
#define CB
Definition filter.c:32
#define r
Definition input.c:42
uint8_t w
Definition llvidencdsp.c:39

Definition at line 778 of file ps.c.

Referenced by pred_weight_table().

◆ VBF

#define VBF ( f)
Value:
(sps->sps_virtual_boundaries_present_flag ? sps->sps_##f : ph->r->ph_##f)
static int FUNC sps(CodedBitstreamContext *ctx, RWContext *rw, H264RawSPS *current)
static int FUNC ph(CodedBitstreamContext *ctx, RWContext *rw, H266RawPH *current)
#define f(width, name)
Definition cbs_vp8.c:236

Definition at line 948 of file ps.c.

◆ VBFS

#define VBFS ( c,
d )
Value:
VBF(virtual_boundary_pos_##c##_minus1), VBF(num_##d##_virtual_boundaries)
static double c[64]
#define VBF(f)
Definition ps.c:948

Definition at line 949 of file ps.c.

Referenced by ph_vb().

Function Documentation

◆ sps_map_pixel_format()

static int sps_map_pixel_format ( VVCSPS * sps,
void * log_ctx )
static

Definition at line 35 of file ps.c.

Referenced by sps_bit_depth().

◆ sps_bit_depth()

static int sps_bit_depth ( VVCSPS * sps,
void * log_ctx )
static

Definition at line 80 of file ps.c.

Referenced by sps_derive().

◆ sps_chroma_qp_table()

static int sps_chroma_qp_table ( VVCSPS * sps)
static

Definition at line 91 of file ps.c.

Referenced by sps_derive().

◆ sps_poc()

static void sps_poc ( VVCSPS * sps)
static

Definition at line 138 of file ps.c.

Referenced by sps_derive().

◆ sps_inter()

static void sps_inter ( VVCSPS * sps)
static

Definition at line 143 of file ps.c.

Referenced by sps_derive().

◆ sps_partition_constraints()

static void sps_partition_constraints ( VVCSPS * sps)
static

Definition at line 159 of file ps.c.

Referenced by sps_derive().

◆ sps_ladf()

static void sps_ladf ( VVCSPS * sps)
static

Definition at line 171 of file ps.c.

Referenced by sps_derive().

◆ sps_vui()

static void sps_vui ( AVCodecContext * c,
const H266RawVUI * vui )
static

Definition at line 186 of file ps.c.

Referenced by sps_export_stream_params().

◆ sps_export_stream_params()

static void sps_export_stream_params ( AVCodecContext * c,
const VVCSPS * sps )
static

Definition at line 222 of file ps.c.

Referenced by sps_derive().

◆ sps_derive()

static int sps_derive ( VVCSPS * sps,
AVCodecContext * c )
static

Definition at line 231 of file ps.c.

Referenced by sps_alloc().

◆ sps_free()

static void sps_free ( AVRefStructOpaque opaque,
void * obj )
static

Definition at line 253 of file ps.c.

Referenced by sps_alloc().

◆ sps_alloc()

static const VVCSPS * sps_alloc ( const H266RawSPS * rsps,
AVCodecContext * c )
static

Definition at line 259 of file ps.c.

Referenced by decode_sps().

◆ decode_sps()

static int decode_sps ( VVCParamSets * ps,
AVCodecContext * c,
const H266RawSPS * rsps,
int is_clvss )
static

Definition at line 280 of file ps.c.

Referenced by decode_ps().

◆ pps_chroma_qp_offset()

static void pps_chroma_qp_offset ( VVCPPS * pps)
static

Definition at line 311 of file ps.c.

Referenced by pps_derive().

◆ pps_width_height()

static void pps_width_height ( VVCPPS * pps,
const VVCSPS * sps )
static

Definition at line 323 of file ps.c.

Referenced by pps_derive().

◆ pps_bd()

static int pps_bd ( VVCPPS * pps)
static

Definition at line 348 of file ps.c.

Referenced by pps_derive().

◆ next_tile_idx()

static int next_tile_idx ( int tile_idx,
const int i,
const H266RawPPS * r )
static

Definition at line 379 of file ps.c.

Referenced by pps_rect_slice().

◆ tile_xy()

static void tile_xy ( int * tile_x,
int * tile_y,
const int tile_idx,
const VVCPPS * pps )
static

Definition at line 391 of file ps.c.

Referenced by pps_multi_tiles_slice(), and pps_one_tile_slices().

◆ ctu_xy()

static void ctu_xy ( int * rx,
int * ry,
const int tile_x,
const int tile_y,
const VVCPPS * pps )
static

Definition at line 397 of file ps.c.

Referenced by pps_multi_tiles_slice(), pps_no_rect_slice(), and pps_one_tile_slices().

◆ ctu_rs()

static int ctu_rs ( const int rx,
const int ry,
const VVCPPS * pps )
static

Definition at line 403 of file ps.c.

Referenced by pps_add_ctus().

◆ pps_add_ctus()

static int pps_add_ctus ( VVCPPS * pps,
int * off,
const int rx,
const int ry,
const int w,
const int h )
static

◆ pps_single_slice_picture()

static int pps_single_slice_picture ( VVCPPS * pps,
int * off )
static

Definition at line 423 of file ps.c.

Referenced by pps_single_slice_per_subpic().

◆ subpic_tiles()

static void subpic_tiles ( int * tile_x,
int * tile_y,
int * tile_x_end,
int * tile_y_end,
const VVCSPS * sps,
const VVCPPS * pps,
const int i )
static

Definition at line 440 of file ps.c.

Referenced by pps_subpic_slice().

◆ pps_subpic_less_than_one_tile_slice()

static int pps_subpic_less_than_one_tile_slice ( VVCPPS * pps,
const VVCSPS * sps,
const int i,
const int tx,
const int ty,
int * off )
static

Definition at line 464 of file ps.c.

Referenced by pps_subpic_slice().

◆ pps_subpic_one_or_more_tiles_slice()

static int pps_subpic_one_or_more_tiles_slice ( VVCPPS * pps,
const int tile_x,
const int tile_y,
const int x_end,
const int y_end,
const int i,
int * off )
static

Definition at line 476 of file ps.c.

Referenced by pps_subpic_slice().

◆ pps_subpic_slice()

static int pps_subpic_slice ( VVCPPS * pps,
const VVCSPS * sps,
const int i,
int * off )
static

Definition at line 493 of file ps.c.

Referenced by pps_single_slice_per_subpic().

◆ pps_single_slice_per_subpic()

static int pps_single_slice_per_subpic ( VVCPPS * pps,
const VVCSPS * sps,
int * off )
static

Definition at line 507 of file ps.c.

Referenced by pps_rect_slice().

◆ pps_one_tile_slices()

static int pps_one_tile_slices ( VVCPPS * pps,
const int tile_idx,
int i,
int * off )
static

Definition at line 525 of file ps.c.

Referenced by pps_rect_slice().

◆ pps_multi_tiles_slice()

static int pps_multi_tiles_slice ( VVCPPS * pps,
const int tile_idx,
const int i,
int * off,
bool * tile_in_slice )
static

Definition at line 547 of file ps.c.

Referenced by pps_rect_slice().

◆ pps_rect_slice()

static int pps_rect_slice ( VVCPPS * pps,
const VVCSPS * sps )
static

Definition at line 574 of file ps.c.

Referenced by pps_slice_map().

◆ pps_no_rect_slice()

static int pps_no_rect_slice ( VVCPPS * pps)
static

Definition at line 610 of file ps.c.

Referenced by pps_slice_map().

◆ pps_slice_map()

static int pps_slice_map ( VVCPPS * pps,
const VVCSPS * sps )
static

Definition at line 628 of file ps.c.

Referenced by pps_derive().

◆ pps_ref_wraparound_offset()

static void pps_ref_wraparound_offset ( VVCPPS * pps,
const VVCSPS * sps )
static

Definition at line 646 of file ps.c.

Referenced by pps_derive().

◆ pps_subpic()

static void pps_subpic ( VVCPPS * pps,
const VVCSPS * sps )
static

Definition at line 654 of file ps.c.

Referenced by pps_derive().

◆ pps_derive()

static int pps_derive ( VVCPPS * pps,
const VVCSPS * sps )
static

Definition at line 672 of file ps.c.

Referenced by pps_alloc().

◆ pps_free()

static void pps_free ( AVRefStructOpaque opaque,
void * obj )
static

Definition at line 693 of file ps.c.

◆ pps_alloc()

static const VVCPPS * pps_alloc ( const H266RawPPS * rpps,
const VVCSPS * sps )
static

Definition at line 706 of file ps.c.

Referenced by decode_pps().

◆ decode_pps()

static int decode_pps ( VVCParamSets * ps,
const H266RawPPS * rpps )
static

Definition at line 727 of file ps.c.

Referenced by decode_ps().

◆ decode_ps()

static int decode_ps ( VVCParamSets * ps,
AVCodecContext * c,
const SliceContext * sc,
int is_clvss )
static

Definition at line 748 of file ps.c.

Referenced by ff_vvc_decode_frame_ps().

◆ pred_weight_table()

static void pred_weight_table ( PredWeightTable * w,
const H266RawPredWeightTable * r )
static

Definition at line 793 of file ps.c.

Referenced by ph_derive(), and sh_inter().

◆ ph_compute_poc()

static int ph_compute_poc ( const H266RawPictureHeader * ph,
const H266RawSPS * sps,
const int poc_tid0,
const int is_clvss )
static

Definition at line 806 of file ps.c.

Referenced by ph_derive().

◆ lmcs_derive_lut_sample()

static av_always_inline uint16_t lmcs_derive_lut_sample ( uint16_t sample,
uint16_t * pivot1,
uint16_t * pivot2,
uint16_t * scale_coeff,
const int idx,
const int max )
static

Definition at line 830 of file ps.c.

Referenced by lmcs_derive_lut().

◆ lmcs_derive_lut()

static int lmcs_derive_lut ( VVCLMCS * lmcs,
const H266RawAPS * rlmcs,
const H266RawSPS * sps )
static

Definition at line 839 of file ps.c.

Referenced by decode_frame_ps().

◆ ph_max_num_subblock_merge_cand()

static int ph_max_num_subblock_merge_cand ( const H266RawSPS * sps,
const H266RawPictureHeader * ph )
static

Definition at line 923 of file ps.c.

Referenced by ph_derive().

◆ ph_vb_pos()

static int ph_vb_pos ( uint16_t * vbs,
uint8_t * num_vbs,
const uint16_t * pos_minus_1,
const uint8_t num_pos,
uint16_t max,
const int ctb_size_y )
static

Definition at line 930 of file ps.c.

Referenced by ph_vb().

◆ ph_vb()

static int ph_vb ( VVCPH * ph,
const H266RawSPS * sps,
const H266RawPPS * pps )
static

Definition at line 951 of file ps.c.

Referenced by ph_derive().

◆ ph_derive()

static int ph_derive ( VVCPH * ph,
const H266RawSPS * sps,
const H266RawPPS * pps,
const int poc_tid0,
const int is_clvss )
static

Definition at line 970 of file ps.c.

Referenced by decode_ph().

◆ decode_ph()

static int decode_ph ( VVCFrameParamSets * fps,
const H266RawPictureHeader * rph,
void * rph_ref,
const int poc_tid0,
const int is_clvss )
static

Definition at line 987 of file ps.c.

Referenced by decode_frame_ps().

◆ decode_frame_ps()

static int decode_frame_ps ( VVCFrameParamSets * fps,
const VVCParamSets * ps,
const SliceContext * sc,
const int poc_tid0,
const int is_clvss,
const VVCContext * s )
static

Definition at line 1004 of file ps.c.

Referenced by ff_vvc_decode_frame_ps().

◆ decode_recovery_flag()

static void decode_recovery_flag ( VVCContext * s)
static

Definition at line 1040 of file ps.c.

Referenced by ff_vvc_decode_frame_ps().

◆ decode_recovery_poc()

static void decode_recovery_poc ( VVCContext * s,
const VVCPH * ph )
static

Definition at line 1048 of file ps.c.

Referenced by ff_vvc_decode_frame_ps().

◆ ff_vvc_decode_frame_ps()

int ff_vvc_decode_frame_ps ( struct VVCFrameContext * fc,
struct VVCContext * s )

Definition at line 1058 of file ps.c.

Referenced by frame_setup().

◆ ff_vvc_frame_ps_free()

void ff_vvc_frame_ps_free ( VVCFrameParamSets * fps)

Definition at line 1078 of file ps.c.

Referenced by frame_context_free().

◆ ff_vvc_ps_uninit()

void ff_vvc_ps_uninit ( VVCParamSets * ps)

Definition at line 1088 of file ps.c.

Referenced by vvc_decode_free().

◆ alf_coeff()

static void alf_coeff ( int16_t * coeff,
const uint8_t * abs,
const uint8_t * sign,
const int size )
static

Definition at line 1102 of file ps.c.

Referenced by alf_chroma(), and alf_luma().

◆ alf_coeff_cc()

static void alf_coeff_cc ( int16_t * coeff,
const uint8_t * mapped_abs,
const uint8_t * sign )
static

Definition at line 1109 of file ps.c.

Referenced by alf_cc().

◆ alf_luma()

static void alf_luma ( VVCALF * alf,
const H266RawAPS * aps )
static

Definition at line 1120 of file ps.c.

Referenced by alf_derive().

◆ alf_chroma()

static void alf_chroma ( VVCALF * alf,
const H266RawAPS * aps )
static

Definition at line 1136 of file ps.c.

Referenced by alf_derive().

◆ alf_cc()

static void alf_cc ( VVCALF * alf,
const H266RawAPS * aps )
static

Definition at line 1152 of file ps.c.

Referenced by alf_derive().

◆ alf_derive()

static void alf_derive ( VVCALF * alf,
const H266RawAPS * aps )
static

Definition at line 1171 of file ps.c.

Referenced by aps_decode_alf().

◆ alf_free()

static void alf_free ( AVRefStructOpaque unused,
void * obj )
static

Definition at line 1178 of file ps.c.

Referenced by aps_decode_alf().

◆ aps_decode_alf()

static int aps_decode_alf ( const VVCALF ** alf,
const H266RawAPS * aps )
static

Definition at line 1185 of file ps.c.

Referenced by ff_vvc_decode_aps().

◆ is_luma_list()

static int is_luma_list ( const int id)
static

Definition at line 1199 of file ps.c.

Referenced by scaling_derive().

◆ derive_matrix_size()

static int derive_matrix_size ( const int id)
static

Definition at line 1204 of file ps.c.

Referenced by scaling_derive().

◆ scaling_derive()

static void scaling_derive ( VVCScalingList * sl,
const H266RawAPS * aps )
static

Definition at line 1210 of file ps.c.

Referenced by aps_decode_scaling().

◆ aps_decode_scaling()

static int aps_decode_scaling ( const VVCScalingList ** scaling,
const H266RawAPS * aps )
static

Definition at line 1272 of file ps.c.

Referenced by ff_vvc_decode_aps().

◆ ff_vvc_decode_aps()

int ff_vvc_decode_aps ( VVCParamSets * ps,
const CodedBitstreamUnit * unit )

Definition at line 1285 of file ps.c.

Referenced by decode_nal_unit().

◆ sh_alf_aps()

static int sh_alf_aps ( const VVCSH * sh,
const VVCFrameParamSets * fps )
static

Definition at line 1308 of file ps.c.

Referenced by sh_derive().

◆ sh_slice_address()

static int sh_slice_address ( VVCSH * sh,
const H266RawSPS * sps,
const VVCPPS * pps )
static

Definition at line 1341 of file ps.c.

Referenced by sh_derive(), and slice_header().

◆ sh_qp_y()

static void sh_qp_y ( VVCSH * sh,
const H266RawPPS * pps,
const H266RawPictureHeader * ph )
static

Definition at line 1372 of file ps.c.

Referenced by sh_derive().

◆ sh_inter()

static void sh_inter ( VVCSH * sh,
const H266RawSPS * sps,
const H266RawPPS * pps )
static

Definition at line 1382 of file ps.c.

Referenced by sh_derive().

◆ sh_deblock_offsets()

static void sh_deblock_offsets ( VVCSH * sh)
static

Definition at line 1392 of file ps.c.

Referenced by sh_derive().

◆ sh_partition_constraints()

static void sh_partition_constraints ( VVCSH * sh,
const H266RawSPS * sps,
const H266RawPictureHeader * ph )
static

Definition at line 1406 of file ps.c.

Referenced by sh_derive().

◆ sh_entry_points()

static void sh_entry_points ( VVCSH * sh,
const H266RawSPS * sps,
const VVCPPS * pps )
static

Definition at line 1442 of file ps.c.

Referenced by sh_derive().

◆ sh_derive()

static int sh_derive ( VVCSH * sh,
const VVCFrameParamSets * fps )
static

Definition at line 1459 of file ps.c.

Referenced by ff_vvc_decode_sh().

◆ ff_vvc_decode_sh()

int ff_vvc_decode_sh ( VVCSH * sh,
const VVCFrameParamSets * fps,
const CodedBitstreamUnit * unit )

Definition at line 1481 of file ps.c.

Referenced by slice_start().