const GstH265PPS *active_pps;
guint32 SpsMaxLatencyPictures;
- gint32 WpOffsetHalfRangeC;
/* Picture currently being processed/decoded */
GstH265Picture *current_picture;
gint MaxLumaPS;
const gint MaxDpbPicBuf = 6;
gint PicSizeInSamplesY;
- guint high_precision_offsets_enabled_flag = 0;
- guint bitdepthC = 0;
/* A.4.1 */
MaxLumaPS = 35651584;
sps->max_latency_increase_plus1[sps->max_sub_layers_minus1] - 1;
}
- /* Calculate WpOffsetHalfRangeC: (7-34)
- * FIXME: We don't have parser API for sps_range_extension, so
- * assuming high_precision_offsets_enabled_flag as zero */
- bitdepthC = sps->bit_depth_chroma_minus8 + 8;
- priv->WpOffsetHalfRangeC =
- 1 << (high_precision_offsets_enabled_flag ? (bitdepthC - 1) : 7);
-
GST_DEBUG_OBJECT (self, "Set DPB max size %d", max_dpb_size);
return TRUE;