Home
last modified time | relevance | path

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

1234567

/external/libtextclassifier/native/utils/sentencepiece/
Dencoder.cc30 std::vector<SegmentationEntry> segmentation( in Encode() local
35 if (i > 0 && segmentation[i].previous_pos < 0) { in Encode()
43 const float unknown_penalty = segmentation[i].score + unknown_score_; in Encode()
44 if (segmentation[pos].previous_pos < 0 || in Encode()
45 segmentation[pos].score < unknown_penalty) { in Encode()
47 if (segmentation[i].piece_id == unknown_code_) { in Encode()
48 segmentation[pos] = {/*score=*/unknown_penalty, in Encode()
49 /*previous_pos=*/segmentation[i].previous_pos, in Encode()
51 /*num_pieces=*/segmentation[i].num_pieces}; in Encode()
53 segmentation[pos] = {/*score=*/unknown_penalty, in Encode()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_segmentation.h21 void vp9_enable_segmentation(struct segmentation *seg);
22 void vp9_disable_segmentation(struct segmentation *seg);
24 void vp9_disable_segfeature(struct segmentation *seg, int segment_id,
26 void vp9_clear_segdata(struct segmentation *seg, int segment_id,
29 void vp9_psnr_aq_mode_setup(struct segmentation *seg);
32 struct segmentation *seg);
44 void vp9_set_segment_data(struct segmentation *seg, signed char *feature_data,
49 void vp9_reset_segment_features(struct segmentation *seg);
Dvp9_segmentation.c22 void vp9_enable_segmentation(struct segmentation *seg) { in vp9_enable_segmentation()
28 void vp9_disable_segmentation(struct segmentation *seg) { in vp9_disable_segmentation()
34 void vp9_set_segment_data(struct segmentation *seg, signed char *feature_data, in vp9_set_segment_data()
40 void vp9_disable_segfeature(struct segmentation *seg, int segment_id, in vp9_disable_segfeature()
45 void vp9_clear_segdata(struct segmentation *seg, int segment_id, in vp9_clear_segdata()
50 void vp9_psnr_aq_mode_setup(struct segmentation *seg) { in vp9_psnr_aq_mode_setup()
64 struct segmentation *seg) { in vp9_perceptual_aq_mode_setup()
243 struct segmentation *seg = &cm->seg; in vp9_choose_segmap_coding_method()
318 void vp9_reset_segment_features(struct segmentation *seg) { in vp9_reset_segment_features()
Dvp9_aq_360.c41 struct segmentation *seg = &cm->seg; in vp9_360aq_frame_setup()
/external/libaom/libaom/av1/common/
Dseg_common.h39 struct segmentation { struct
62 static INLINE int segfeature_active(const struct segmentation *seg, in segfeature_active() argument
68 static INLINE void segfeatures_copy(struct segmentation *dst, in segfeatures_copy()
69 const struct segmentation *src) { in segfeatures_copy()
81 void av1_clearall_segfeatures(struct segmentation *seg);
83 void av1_enable_segfeature(struct segmentation *seg, int segment_id,
86 void av1_calculate_segdata(struct segmentation *seg);
92 void av1_set_segdata(struct segmentation *seg, int segment_id,
95 static INLINE int get_segdata(const struct segmentation *seg, int segment_id, in get_segdata()
Dseg_common.c37 void av1_clearall_segfeatures(struct segmentation *seg) { in av1_clearall_segfeatures()
42 void av1_calculate_segdata(struct segmentation *seg) { in av1_calculate_segdata()
55 void av1_enable_segfeature(struct segmentation *seg, int segment_id, in av1_enable_segfeature()
79 void av1_set_segdata(struct segmentation *seg, int segment_id, in av1_set_segdata()
/external/libvpx/libvpx/vp9/common/
Dvp9_seg_common.h37 struct segmentation { struct
52 static INLINE int segfeature_active(const struct segmentation *seg, in segfeature_active() argument
58 void vp9_clearall_segfeatures(struct segmentation *seg);
60 void vp9_enable_segfeature(struct segmentation *seg, int segment_id,
67 void vp9_set_segdata(struct segmentation *seg, int segment_id,
70 static INLINE int get_segdata(const struct segmentation *seg, int segment_id, in get_segdata()
Dvp9_seg_common.c28 void vp9_clearall_segfeatures(struct segmentation *seg) { in vp9_clearall_segfeatures()
34 void vp9_enable_segfeature(struct segmentation *seg, int segment_id, in vp9_enable_segfeature()
47 void vp9_set_segdata(struct segmentation *seg, int segment_id, in vp9_set_segdata()
Dvp9_quant_common.h29 int vp9_get_qindex(const struct segmentation *seg, int segment_id,
/external/v4l2_codec2/accel/
Dvp9_parser.cc565 const Vp9SegmentationParams& segmentation = context_.segmentation(); in GetQIndex() local
567 if (segmentation.FeatureEnabled(segid, in GetQIndex()
570 segmentation.FeatureData(segid, Vp9SegmentationParams::SEG_LVL_ALT_Q); in GetQIndex()
571 size_t q_index = segmentation.abs_or_delta_update in GetQIndex()
583 Vp9SegmentationParams& segmentation = context_.segmentation_; in SetupSegmentationDequant() local
592 if (segmentation.enabled) { in SetupSegmentationDequant()
595 segmentation.y_dequant[i][0] = in SetupSegmentationDequant()
597 segmentation.y_dequant[i][1] = in SetupSegmentationDequant()
599 segmentation.uv_dequant[i][0] = in SetupSegmentationDequant()
601 segmentation.uv_dequant[i][1] = in SetupSegmentationDequant()
[all …]
Dvp9_uncompressed_header_parser.cc818 Vp9SegmentationParams& segmentation = context_->segmentation_; in ReadSegmentationParams() local
819 segmentation.update_map = false; in ReadSegmentationParams()
820 segmentation.update_data = false; in ReadSegmentationParams()
822 segmentation.enabled = reader_.ReadBool(); in ReadSegmentationParams()
823 if (!segmentation.enabled) in ReadSegmentationParams()
826 segmentation.update_map = reader_.ReadBool(); in ReadSegmentationParams()
827 if (segmentation.update_map) { in ReadSegmentationParams()
828 for (auto& tree_prob : segmentation.tree_probs) { in ReadSegmentationParams()
832 segmentation.temporal_update = reader_.ReadBool(); in ReadSegmentationParams()
833 for (auto& pred_prob : segmentation.pred_probs) { in ReadSegmentationParams()
[all …]
/external/libaom/libaom/av1/encoder/
Dsegmentation.h22 void av1_enable_segmentation(struct segmentation *seg);
23 void av1_disable_segmentation(struct segmentation *seg);
25 void av1_disable_segfeature(struct segmentation *seg, int segment_id,
27 void av1_clear_segdata(struct segmentation *seg, int segment_id,
Dsegmentation.c22 void av1_enable_segmentation(struct segmentation *seg) { in av1_enable_segmentation()
29 void av1_disable_segmentation(struct segmentation *seg) { in av1_disable_segmentation()
36 void av1_disable_segfeature(struct segmentation *seg, int segment_id, in av1_disable_segfeature()
41 void av1_clear_segdata(struct segmentation *seg, int segment_id, in av1_clear_segdata()
173 struct segmentation *seg = &cm->seg; in av1_choose_segmap_coding_method()
244 struct segmentation *seg = &cm->seg; in av1_reset_segment_features()
Dtokenize.h61 static INLINE int av1_get_tx_eob(const struct segmentation *seg, int segment_id, in av1_get_tx_eob()
/external/tensorflow/tensorflow/lite/g3doc/models/segmentation/
Doverview.md3 <img src="../images/segmentation.png" class="attempt-right" />
7 _DeepLab_ is a state-of-art deep learning model for semantic image segmentation,
21 APIs</a>, you can download our starter image segmentation model.
28 Semantic image segmentation predicts whether each pixel of an image is
40 …pLabv3 to include a simple yet effective decoder module to refine the segmentation results especia…
89 <img alt="Animation showing image segmentation" src="images/segmentation.gif" />
91 ## Read more about segmentation
94 …<li><a href="https://ai.googleblog.com/2018/03/semantic-image-segmentation-with.html">Semantic Ima…
/external/libgav1/libgav1/src/tile/bitstream/
Dmode_info.cc230 frame_header_.segmentation.last_active_segment_id + 1); in ReadSegmentId()
233 bp.segment_id > frame_header_.segmentation.last_active_segment_id) { in ReadSegmentId()
237 encoded_segment_id, frame_header_.segmentation.last_active_segment_id, in ReadSegmentId()
246 if (!frame_header_.segmentation.enabled) { in ReadIntraSegmentId()
255 if (frame_header_.segmentation.segment_id_pre_skip && in ReadSkip()
256 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkip()
275 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkipMode()
277 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkipMode()
279 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkipMode()
449 if (frame_header_.segmentation.lossless[bp.segment_id]) { in ReadPredictionModeUV()
[all …]
/external/libvpx/libvpx/test/
Dtest-data.sha161 17fbfe2fea70f6e2f3fa6ca4efaae6c0b03b5f02 *vp80-03-segmentation-01.ivf
62 3c3600dbbcde08e20d54c66fe3b7eadd4f09bdbb *vp80-03-segmentation-02.ivf
63 c156778d5340967d4b369c490848076e92f1f875 *vp80-03-segmentation-03.ivf
64 d25dcff6c60e87a1af70945b8911b6b4998533b0 *vp80-03-segmentation-04.ivf
65 362baba2ce454c9db21218f35e81c27a5ed0b730 *vp80-03-segmentation-1401.ivf
66 d223ae7ee748ce07e74c4679bfd219e84aa9f4b0 *vp80-03-segmentation-1403.ivf
67 033adf7f3a13836a3f1cffcb87c1972900f2b5c6 *vp80-03-segmentation-1407.ivf
68 4d51dfbf9f3e2c590ec99d1d6f59dd731d04375f *vp80-03-segmentation-1408.ivf
69 f37a62b197c2600d75e0ccfbb31b60efdedac251 *vp80-03-segmentation-1409.ivf
70 eb25bd7bfba5b2f6935018a930f42d123b1e7fcd *vp80-03-segmentation-1410.ivf
[all …]
Dtest-data.mk84 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-01.ivf
85 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-01.ivf.md5
86 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-02.ivf
87 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-02.ivf.md5
88 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-03.ivf
89 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-03.ivf.md5
90 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-04.ivf
91 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-04.ivf.md5
92 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-1401.ivf
93 LIBVPX_TEST_DATA-$(CONFIG_VP8_DECODER) += vp80-03-segmentation-1401.ivf.md5
[all …]
/external/libgav1/libgav1/src/
Dquantizer.cc146 int GetQIndex(const Segmentation& segmentation, int index, int base_qindex) { in GetQIndex() argument
147 if (segmentation.FeatureActive(index, kSegmentFeatureQuantizer)) { in GetQIndex()
150 segmentation.feature_data[index][kSegmentFeatureQuantizer]; in GetQIndex()
Dbuffer_pool.cc101 Segmentation* segmentation) const { in GetSegmentationParameters()
102 CopySegmentationParameters(/*from=*/segmentation_, /*to=*/segmentation); in GetSegmentationParameters()
106 const Segmentation& segmentation) { in SetSegmentationParameters() argument
107 CopySegmentationParameters(/*from=*/segmentation, /*to=*/&segmentation_); in SetSegmentationParameters()
Dobu_parser.cc974 Segmentation* const segmentation = &frame_header_.segmentation; in ParseSegmentationParameters() local
976 segmentation->enabled = static_cast<bool>(scratch); in ParseSegmentationParameters()
977 if (!segmentation->enabled) return true; in ParseSegmentationParameters()
979 segmentation->update_map = true; in ParseSegmentationParameters()
980 segmentation->update_data = true; in ParseSegmentationParameters()
983 segmentation->update_map = static_cast<bool>(scratch); in ParseSegmentationParameters()
984 if (segmentation->update_map) { in ParseSegmentationParameters()
986 segmentation->temporal_update = static_cast<bool>(scratch); in ParseSegmentationParameters()
989 segmentation->update_data = static_cast<bool>(scratch); in ParseSegmentationParameters()
990 if (!segmentation->update_data) { in ParseSegmentationParameters()
[all …]
Dquantizer.h61 int GetQIndex(const Segmentation& segmentation, int index, int base_qindex);
Dbuffer_pool.h171 void GetSegmentationParameters(Segmentation* segmentation) const;
174 void SetSegmentationParameters(const Segmentation& segmentation);
/external/libgav1/libgav1/src/utils/
Dlibgav1_utils.cmake48 "${libgav1_source}/utils/segmentation.cc"
49 "${libgav1_source}/utils/segmentation.h"
/external/harfbuzz_ng/
DTODO20 - Add segmentation API

1234567