Home
last modified time | relevance | path

Searched refs:segmentation (Results 1 – 25 of 192) sorted by relevance

12345678

/third_party/ffmpeg/libavcodec/
Dvaapi_vp9.c67 .segmentation_enabled = h->h.segmentation.enabled, in vaapi_vp9_start_frame()
68 .segmentation_temporal_update = h->h.segmentation.temporal, in vaapi_vp9_start_frame()
69 .segmentation_update_map = h->h.segmentation.update_map, in vaapi_vp9_start_frame()
93 pic_param.mb_segment_tree_probs[i] = h->h.segmentation.prob[i]; in vaapi_vp9_start_frame()
95 if (h->h.segmentation.temporal) { in vaapi_vp9_start_frame()
97 pic_param.segment_pred_probs[i] = h->h.segmentation.pred_prob[i]; in vaapi_vp9_start_frame()
146 .segment_reference_enabled = h->h.segmentation.feat[i].ref_enabled, in vaapi_vp9_decode_slice()
147 .segment_reference = h->h.segmentation.feat[i].ref_val, in vaapi_vp9_decode_slice()
148 .segment_reference_skipped = h->h.segmentation.feat[i].skip_enabled, in vaapi_vp9_decode_slice()
151 .luma_dc_quant_scale = h->h.segmentation.feat[i].qmul[0][0], in vaapi_vp9_decode_slice()
[all …]
Dnvdec_vp9.c87 .segmentEnabled = h->h.segmentation.enabled, in nvdec_vp9_start_frame()
88 .segmentMapUpdate = h->h.segmentation.update_map, in nvdec_vp9_start_frame()
89 .segmentMapTemporalUpdate = h->h.segmentation.temporal, in nvdec_vp9_start_frame()
90 .segmentFeatureMode = h->h.segmentation.absolute_vals, in nvdec_vp9_start_frame()
114 ppc->mb_segment_tree_probs[i] = h->h.segmentation.prob[i]; in nvdec_vp9_start_frame()
118 ppc->segment_pred_probs[i] = h->h.segmentation.pred_prob[i]; in nvdec_vp9_start_frame()
123 ppc->segmentFeatureEnable[i][0] = h->h.segmentation.feat[i].q_enabled; in nvdec_vp9_start_frame()
124 ppc->segmentFeatureEnable[i][1] = h->h.segmentation.feat[i].lf_enabled; in nvdec_vp9_start_frame()
125 ppc->segmentFeatureEnable[i][2] = h->h.segmentation.feat[i].ref_enabled; in nvdec_vp9_start_frame()
126 ppc->segmentFeatureEnable[i][3] = h->h.segmentation.feat[i].skip_enabled; in nvdec_vp9_start_frame()
[all …]
Dvdpau_vp9.c89 info->segmentEnabled = h->h.segmentation.enabled; in vdpau_vp9_start_frame()
90 info->segmentMapUpdate = h->h.segmentation.update_map; in vdpau_vp9_start_frame()
91 info->segmentMapTemporalUpdate = h->h.segmentation.temporal; in vdpau_vp9_start_frame()
92 info->segmentFeatureMode = h->h.segmentation.absolute_vals; in vdpau_vp9_start_frame()
113 info->mbSegmentTreeProbs[i] = h->h.segmentation.prob[i]; in vdpau_vp9_start_frame()
117 info->segmentPredProbs[i] = h->h.segmentation.pred_prob[i]; in vdpau_vp9_start_frame()
122 info->segmentFeatureEnable[i][0] = h->h.segmentation.feat[i].q_enabled; in vdpau_vp9_start_frame()
123 info->segmentFeatureEnable[i][1] = h->h.segmentation.feat[i].lf_enabled; in vdpau_vp9_start_frame()
124 info->segmentFeatureEnable[i][2] = h->h.segmentation.feat[i].ref_enabled; in vdpau_vp9_start_frame()
125 info->segmentFeatureEnable[i][3] = h->h.segmentation.feat[i].skip_enabled; in vdpau_vp9_start_frame()
[all …]
Ddxva2_vp9.c118 pp->stVP9Segments.wSegmentInfoFlags = (h->h.segmentation.enabled << 0) | in fill_picture_parameters()
119 (h->h.segmentation.update_map << 1) | in fill_picture_parameters()
120 (h->h.segmentation.temporal << 2) | in fill_picture_parameters()
121 (h->h.segmentation.absolute_vals << 3) | in fill_picture_parameters()
125 pp->stVP9Segments.tree_probs[i] = h->h.segmentation.prob[i]; in fill_picture_parameters()
127 if (h->h.segmentation.temporal) in fill_picture_parameters()
129 pp->stVP9Segments.pred_probs[i] = h->h.segmentation.pred_prob[i]; in fill_picture_parameters()
134 pp->stVP9Segments.feature_mask[i] = (h->h.segmentation.feat[i].q_enabled << 0) | in fill_picture_parameters()
135 (h->h.segmentation.feat[i].lf_enabled << 1) | in fill_picture_parameters()
136 (h->h.segmentation.feat[i].ref_enabled << 2) | in fill_picture_parameters()
[all …]
Dvaapi_vp8.c60 .segmentation_enabled = s->segmentation.enabled, in vaapi_vp8_start_frame()
61 .update_mb_segmentation_map = s->segmentation.update_map, in vaapi_vp8_start_frame()
62 .update_segment_feature_data = s->segmentation.update_feature_data, in vaapi_vp8_start_frame()
87 if (s->segmentation.enabled) { in vaapi_vp8_start_frame()
88 pp.loop_filter_level[i] = s->segmentation.filter_level[i]; in vaapi_vp8_start_frame()
89 if (!s->segmentation.absolute_vals) in vaapi_vp8_start_frame()
152 int base_qi = s->segmentation.base_quant[i]; in vaapi_vp8_start_frame()
153 if (!s->segmentation.absolute_vals) in vaapi_vp8_start_frame()
Dvp9.c652 memset(s->s.h.segmentation.feat, 0, sizeof(s->s.h.segmentation.feat)); in decode_frame_header()
695 if ((s->s.h.segmentation.enabled = get_bits1(&s->gb))) { in decode_frame_header()
696 if ((s->s.h.segmentation.update_map = get_bits1(&s->gb))) { in decode_frame_header()
698 s->s.h.segmentation.prob[i] = get_bits1(&s->gb) ? in decode_frame_header()
700 if ((s->s.h.segmentation.temporal = get_bits1(&s->gb))) in decode_frame_header()
702 s->s.h.segmentation.pred_prob[i] = get_bits1(&s->gb) ? in decode_frame_header()
707 s->s.h.segmentation.absolute_vals = get_bits1(&s->gb); in decode_frame_header()
709 if ((s->s.h.segmentation.feat[i].q_enabled = get_bits1(&s->gb))) in decode_frame_header()
710 s->s.h.segmentation.feat[i].q_val = get_sbits_inv(&s->gb, 8); in decode_frame_header()
711 if ((s->s.h.segmentation.feat[i].lf_enabled = get_bits1(&s->gb))) in decode_frame_header()
[all …]
Dnvdec_vp8.c76 h->segmentation.enabled ? // update_mb_segmentation_data in nvdec_vp8_start_frame()
77 h->segmentation.update_feature_data : 0, in nvdec_vp8_start_frame()
Dvp9block.c101 if (!s->s.h.segmentation.enabled) { in decode_mode()
104 b->seg_id = !s->s.h.segmentation.update_map ? 0 : in decode_mode()
105 vp8_rac_get_tree(td->c, ff_vp9_segmentation_tree, s->s.h.segmentation.prob); in decode_mode()
106 } else if (!s->s.h.segmentation.update_map || in decode_mode()
107 (s->s.h.segmentation.temporal && in decode_mode()
109 s->s.h.segmentation.pred_prob[s->above_segpred_ctx[col] + in decode_mode()
132 s->s.h.segmentation.prob); in decode_mode()
137 if (s->s.h.segmentation.enabled && in decode_mode()
138 (s->s.h.segmentation.update_map || s->s.h.keyframe || s->s.h.intraonly)) { in decode_mode()
143 b->skip = s->s.h.segmentation.enabled && in decode_mode()
[all …]
Dvp8.c268 s->segmentation.update_map = vp8_rac_get(c); in parse_segment_info()
269 s->segmentation.update_feature_data = vp8_rac_get(c); in parse_segment_info()
271 if (s->segmentation.update_feature_data) { in parse_segment_info()
272 s->segmentation.absolute_vals = vp8_rac_get(c); in parse_segment_info()
275 s->segmentation.base_quant[i] = vp8_rac_get_sint(c, 7); in parse_segment_info()
278 s->segmentation.filter_level[i] = vp8_rac_get_sint(c, 6); in parse_segment_info()
280 if (s->segmentation.update_map) in parse_segment_info()
373 if (s->segmentation.enabled) { in vp8_get_quants()
374 base_qi = s->segmentation.base_quant[i]; in vp8_get_quants()
375 if (!s->segmentation.absolute_vals) in vp8_get_quants()
[all …]
Ddxva2_av1.c207 pp->segmentation.enabled = frame_header->segmentation_enabled; in fill_picture_parameters()
208 pp->segmentation.update_map = frame_header->segmentation_update_map; in fill_picture_parameters()
209 pp->segmentation.update_data = frame_header->segmentation_update_data; in fill_picture_parameters()
210 pp->segmentation.temporal_update = frame_header->segmentation_temporal_update; in fill_picture_parameters()
213 pp->segmentation.feature_mask[i].mask |= frame_header->feature_enabled[i][j] << j; in fill_picture_parameters()
214 pp->segmentation.feature_data[i][j] = frame_header->feature_value[i][j]; in fill_picture_parameters()
/third_party/mindspore/tests/ut/data/dataset/testCOCO/annotations/
Dinvalid.json1segmentation": [[10.0,12.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0]], "category_id": 1, "iscrowd":…
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstsegmentation.cpp147 GST_ELEMENT_REGISTER_DEFINE (segmentation, "segmentation", GST_RANK_NONE,
302 GstSegmentation *segmentation = GST_SEGMENTATION (filter); in gst_segmentation_set_caps() local
306 segmentation->width = in_width; in gst_segmentation_set_caps()
307 segmentation->height = in_height; in gst_segmentation_set_caps()
309 segmentation->cvRGB.create (size, CV_8UC3); in gst_segmentation_set_caps()
310 segmentation->cvYUV.create (size, CV_8UC3); in gst_segmentation_set_caps()
312 segmentation->cvFG = Mat::zeros (size, CV_8UC1); in gst_segmentation_set_caps()
314 segmentation->ch1.create (size, CV_8UC1); in gst_segmentation_set_caps()
315 segmentation->ch2.create (size, CV_8UC1); in gst_segmentation_set_caps()
316 segmentation->ch3.create (size, CV_8UC1); in gst_segmentation_set_caps()
[all …]
Dgstsegmentation.h121 GST_ELEMENT_REGISTER_DECLARE (segmentation);
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstvp9parser.c77 GstVp9SegmentationInfoData segmentation[GST_VP9_MAX_SEGMENTS]; member
415 const GstVp9SegmentationInfoData *seg = priv->segmentation + segid; in seg_get_base_qindex()
419 if (frame_hdr->segmentation.enabled && seg->alternate_quantizer_enabled) { in seg_get_base_qindex()
434 const GstVp9SegmentationInfoData *seg = priv->segmentation + segid; in seg_get_filter_level()
436 if (frame_hdr->segmentation.enabled && seg->alternate_loop_filter_enabled) { in seg_get_filter_level()
449 const GstVp9SegmentationInfo *info = &frame_hdr->segmentation; in segmentation_save()
467 g_assert (G_N_ELEMENTS (priv->segmentation) == G_N_ELEMENTS (info->data)); in segmentation_save()
468 memcpy (priv->segmentation, info->data, sizeof (info->data)); in segmentation_save()
487 GstVp9Segmentation *seg = parser->segmentation + i; in segmentation_update()
488 const GstVp9SegmentationInfoData *info = priv->segmentation + i; in segmentation_update()
[all …]
Dgstvp9parser.h415 GstVp9SegmentationInfo segmentation; member
504 GstVp9Segmentation segmentation[GST_VP9_MAX_SEGMENTS]; member
Dgstvp8parser.c382 if (!parse_update_segmentation (rd, &parser->segmentation)) in parse_frame_header()
501 memset (&parser->segmentation, 0, sizeof (parser->segmentation)); in gst_vp8_parser_init()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_coco.py75 segmentation = []
80 segmentation.append(data["segmentation"])
94 segmentation[0])
98 segmentation[1])
101 segmentation[2])
104 segmentation[3])
107 segmentation[4])
110 segmentation[5])
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2codecvp8dec.c318 *segment, const GstVp8Segmentation * segmentation) in gst_v4l2_codec_vp8_dec_fill_segment() argument
324 (segmentation->segmentation_enabled ? V4L2_VP8_SEGMENT_FLAG_ENABLED : 0) | in gst_v4l2_codec_vp8_dec_fill_segment()
325 (segmentation->update_mb_segmentation_map ? V4L2_VP8_SEGMENT_FLAG_UPDATE_MAP : 0) | in gst_v4l2_codec_vp8_dec_fill_segment()
326 (segmentation->update_segment_feature_data ? V4L2_VP8_SEGMENT_FLAG_UPDATE_FEATURE_DATA : 0) | in gst_v4l2_codec_vp8_dec_fill_segment()
327 (segmentation->segment_feature_mode ? 0 : V4L2_VP8_SEGMENT_FLAG_DELTA_VALUE_MODE); in gst_v4l2_codec_vp8_dec_fill_segment()
331 segment->quant_update[i] = segmentation->quantizer_update_value[i]; in gst_v4l2_codec_vp8_dec_fill_segment()
332 segment->lf_update[i] = segmentation->lf_update_value[i]; in gst_v4l2_codec_vp8_dec_fill_segment()
336 segment->segment_probs[i] = segmentation->segment_prob[i]; in gst_v4l2_codec_vp8_dec_fill_segment()
553 &parser->segmentation); in gst_v4l2_codec_vp8_dec_decode_picture()
/third_party/boost/libs/icl/doc/
Dfunctions_equivs_orderings.qbk72 Containers of different segmentation are different,
78 w1 == w2; //false: Different segmentation
94 it's ['*segmentation*].
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavp9dec.c72 GstVp9Segmentation segmentation[GST_VP9_MAX_SEGMENTS]; member
396 memcpy (lvl_lookup, self->segmentation[i].filter_level, in _update_segmentation()
413 self->segmentation[i] = (GstVp9Segmentation) { in _update_segmentation()
425 memcpy (self->segmentation[i].filter_level, lvl_lookup, in _update_segmentation()
451 seg = &self->segmentation[i]; in _fill_slice()
/third_party/skia/third_party/externals/harfbuzz/
DTODO20 - Add segmentation API
/third_party/flutter/skia/third_party/externals/harfbuzz/
DTODO20 - Add segmentation API
/third_party/harfbuzz/
DTODO20 - Add segmentation API
/third_party/ffmpeg/tests/fate/
Dcbs.mak124 vp90-2-segmentation-aq-akiyo.webm \
125 vp90-2-segmentation-sf-akiyo.webm \
/third_party/mindspore/mindspore/lite/test/config/
Dmodels_nnie.cfg12 segmentation/segnet segnet_basic_batchnorm_scale_inference 1 1 0 0.5

12345678