Lines Matching refs:ps

42     HEVCParamSets ps;
57 HEVCParamSets *ps = &ctx->ps;
76 if (pps_id >= HEVC_MAX_PPS_COUNT || !ps->pps_list[pps_id]) {
80 ps->pps = (HEVCPPS*)ps->pps_list[pps_id]->data;
82 if (ps->pps->sps_id >= HEVC_MAX_SPS_COUNT || !ps->sps_list[ps->pps->sps_id]) {
83 av_log(avctx, AV_LOG_ERROR, "SPS id out of range: %d\n", ps->pps->sps_id);
86 if (ps->sps != (HEVCSPS*)ps->sps_list[ps->pps->sps_id]->data) {
87 ps->sps = (HEVCSPS*)ps->sps_list[ps->pps->sps_id]->data;
88 ps->vps = (HEVCVPS*)ps->vps_list[ps->sps->vps_id]->data;
90 ow = &ps->sps->output_window;
92 s->coded_width = ps->sps->width;
93 s->coded_height = ps->sps->height;
94 s->width = ps->sps->width - ow->left_offset - ow->right_offset;
95 s->height = ps->sps->height - ow->top_offset - ow->bottom_offset;
96 s->format = ps->sps->pix_fmt;
97 avctx->profile = ps->sps->ptl.general_ptl.profile_idc;
98 avctx->level = ps->sps->ptl.general_ptl.level_idc;
100 if (ps->vps->vps_timing_info_present_flag) {
101 num = ps->vps->vps_num_units_in_tick;
102 den = ps->vps->vps_time_scale;
103 } else if (ps->sps->vui.vui_timing_info_present_flag) {
104 num = ps->sps->vui.vui_num_units_in_tick;
105 den = ps->sps->vui.vui_time_scale;
116 if (ps->pps->dependent_slice_segments_enabled_flag)
121 slice_address_length = av_ceil_log2_c(ps->sps->ctb_width *
122 ps->sps->ctb_height);
124 if (slice_segment_addr >= ps->sps->ctb_width * ps->sps->ctb_height) {
135 for (i = 0; i < ps->pps->num_extra_slice_header_bits; i++)
149 if (ps->pps->output_flag_present_flag)
152 if (ps->sps->separate_colour_plane_flag)
156 int pic_order_cnt_lsb = get_bits(gb, ps->sps->log2_max_poc_lsb);
158 ff_hevc_compute_poc(ps->sps, ctx->pocTid0, pic_order_cnt_lsb, nal->type);
187 HEVCParamSets *ps = &ctx->ps;
212 ff_hevc_decode_nal_vps(gb, avctx, ps);
215 ff_hevc_decode_nal_sps(gb, avctx, ps, 1);
218 ff_hevc_decode_nal_pps(gb, avctx, ps);
222 ff_hevc_decode_nal_sei(gb, avctx, sei, ps, nal->type);
311 ff_hevc_decode_extradata(avctx->extradata, avctx->extradata_size, &ctx->ps, &ctx->sei,
342 ff_hevc_ps_uninit(&ctx->ps);