• Home
  • Raw
  • Download

Lines Matching refs:seg

274 parse_segmentation (GstVp9SegmentationInfo * seg, GstBitReader * br)  in parse_segmentation()  argument
278 seg->update_map = FALSE; in parse_segmentation()
279 seg->update_data = FALSE; in parse_segmentation()
281 seg->enabled = gst_vp9_read_bit (br); in parse_segmentation()
282 if (!seg->enabled) in parse_segmentation()
286 seg->update_map = gst_vp9_read_bit (br); in parse_segmentation()
287 if (seg->update_map) { in parse_segmentation()
289 seg->update_tree_probs[i] = gst_vp9_read_bit (br); in parse_segmentation()
290 seg->tree_probs[i] = seg->update_tree_probs[i] ? in parse_segmentation()
294 seg->temporal_update = gst_vp9_read_bit (br); in parse_segmentation()
295 if (seg->temporal_update) { in parse_segmentation()
297 seg->update_pred_probs[i] = gst_vp9_read_bit (br); in parse_segmentation()
298 seg->pred_probs[i] = seg->update_pred_probs[i] ? in parse_segmentation()
303 seg->pred_probs[i] = GST_VP9_MAX_PROB; in parse_segmentation()
308 seg->update_data = gst_vp9_read_bit (br); in parse_segmentation()
310 if (seg->update_data) { in parse_segmentation()
312 memset (seg->data, 0, sizeof (seg->data)); in parse_segmentation()
314 seg->abs_delta = gst_vp9_read_bit (br); in parse_segmentation()
317 GstVp9SegmentationInfoData *seg_data = seg->data + i; in parse_segmentation()
415 const GstVp9SegmentationInfoData *seg = priv->segmentation + segid; in seg_get_base_qindex() local
419 if (frame_hdr->segmentation.enabled && seg->alternate_quantizer_enabled) { in seg_get_base_qindex()
421 seg_base = seg->alternate_quantizer; in seg_get_base_qindex()
423 seg_base += seg->alternate_quantizer; in seg_get_base_qindex()
434 const GstVp9SegmentationInfoData *seg = priv->segmentation + segid; in seg_get_filter_level() local
436 if (frame_hdr->segmentation.enabled && seg->alternate_loop_filter_enabled) { in seg_get_filter_level()
438 seg_filter = seg->alternate_loop_filter; in seg_get_filter_level()
440 seg_filter += seg->alternate_loop_filter; in seg_get_filter_level()
487 GstVp9Segmentation *seg = parser->segmentation + i; in segmentation_update() local
490 seg->luma_dc_quant_scale = in segmentation_update()
492 seg->luma_ac_quant_scale = gst_vp9_ac_quant (q, 0, parser->bit_depth); in segmentation_update()
493 seg->chroma_dc_quant_scale = in segmentation_update()
495 seg->chroma_ac_quant_scale = in segmentation_update()
502 memset (seg->filter_level, filter, sizeof (seg->filter_level)); in segmentation_update()
507 seg->filter_level[GST_VP9_REF_FRAME_INTRA][0] = in segmentation_update()
513 seg->filter_level[ref][mode] = in segmentation_update()
519 seg->reference_frame_enabled = info->reference_frame_enabled;; in segmentation_update()
520 seg->reference_frame = info->reference_frame; in segmentation_update()
521 seg->reference_skip = info->reference_skip; in segmentation_update()