Home
last modified time | relevance | path

Searched refs:range_ (Results 1 – 25 of 37) sorted by relevance

12

/external/v4l2_codec2/vda/
Dvp8_bool_decoder.cc88 range_(255) { in Vp8BoolDecoder()
99 range_ = 255; in Initialize()
128 size_t split = 1 + (((range_ - 1) * probability) >> 8); in ReadBit()
134 range_ -= split; in ReadBit()
138 range_ = split; in ReadBit()
141 size_t shift = kVp8Norm[range_]; in ReadBit()
142 range_ <<= shift; in ReadBit()
146 DCHECK_EQ(1U, (range_ >> 7)); // In the range [128, 255]. in ReadBit()
185 return base::checked_cast<uint8_t>(range_); in GetRange()
Dvp8_bool_decoder.h128 size_t range_; variable
/external/webp/src/utils/
Dbit_writer_utils.c109 const int split = (bw->range_ * prob) >> 8; in VP8PutBit()
112 bw->range_ -= split + 1; in VP8PutBit()
114 bw->range_ = split; in VP8PutBit()
116 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize in VP8PutBit()
117 const int shift = kNorm[bw->range_]; in VP8PutBit()
118 bw->range_ = kNewRange[bw->range_]; in VP8PutBit()
127 const int split = bw->range_ >> 1; in VP8PutBitUniform()
130 bw->range_ -= split + 1; in VP8PutBitUniform()
132 bw->range_ = split; in VP8PutBitUniform()
134 if (bw->range_ < 127) { in VP8PutBitUniform()
[all …]
Dbit_reader_inl_utils.h111 range_t range = br->range_; in VP8GetBit()
131 br->range_ = range - 1; in VP8GetBit()
144 const range_t split = br->range_ >> 1; in VP8GetSigned()
148 br->range_ += mask; in VP8GetSigned()
149 br->range_ |= 1; in VP8GetSigned()
159 range_t range = br->range_; in VP8GetBitAlt()
181 br->range_ = range; in VP8GetBitAlt()
Dbit_reader_utils.h74 range_t range_; // current range minus 1. In [127, 254] interval. member
Dbit_writer_utils.h28 int32_t range_; // range-1 member
Dbit_reader_utils.c39 br->range_ = 255 - 1; in VP8InitBitReader()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Dsparse_column_iterable.h73 range_.example_idx = example_idx_;
75 range_.start = cur_;
76 range_.end = next_;
78 range_.start = 0;
79 range_.end = 0;
81 return range_;
97 ExampleRowRange range_; variable
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler.h39 explicit RangeSampler(int64 range) : range_(range) { CHECK_GT(range_, 0); } in RangeSampler()
101 int64 range() { return range_; } in range()
104 const int64 range_;
Drange_sampler.cc86 CHECK_LE(batch_size + avoided_values.size(), range_); in SampleBatchGetExpectedCountAvoid()
130 CHECK_EQ(range_, batch_size); in SampleBatchGetExpectedCountAvoid()
151 return rnd->Uniform64(range_); in Sample()
165 return value % range_; in Sample()
/external/tensorflow/tensorflow/core/lib/random/
Drandom_distributions.h140 UniformDistribution(int32 lo, int32 hi) : lo_(lo), range_(hi - lo) {} in UniformDistribution()
147 result[i] = lo_ + static_cast<int32>(sample[i] % range_); in operator()
157 uint32 range_; variable
174 UniformDistribution(int64 lo, int64 hi) : lo_(lo), range_(hi - lo) {} in UniformDistribution()
182 result[i] = lo_ + static_cast<int64>(bits % range_); in operator()
192 uint64 range_; variable
/external/webrtc/webrtc/modules/video_coding/utility/
Dvp8_header_parser.cc63 br->range_ = 255 - 1; in VP8InitBitReader()
74 uint8_t range = br->range_; in VP8GetBit()
96 br->range_ = range; in VP8GetBit()
Dvp8_header_parser.h32 uint32_t range_; // Current range minus 1. In [127, 254] interval. member
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dindependent.py243 range_ = math_ops.range(self._reinterpreted_batch_ndims)
245 range_ = np.arange(self._static_reinterpreted_batch_ndims)
246 return math_ops.reduce_sum(stat, axis=-1-range_)
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc524 range_(0), in NormalizeDescriptor()
532 range_ = other.range_; in CloneFrom()
543 bias_, range_, alpha_, beta_, wrap_around_, segment_size_); in ToString()
547 return port::StrCat("bias:", bias_, "_range:", range_, "_alpha:", alpha_, in ToShortString()
Ddnn.h808 range_ = range;
838 int32 range() const { return range_; }
846 int32 range_;
/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request_test.cc84 range_ = reinterpret_cast<char*>(param); in curl_easy_setopt()
233 string range_; member in tensorflow::__anondfa211b70111::FakeLibCurl
282 EXPECT_EQ("100-199", libcurl.range_); in TEST()
313 EXPECT_EQ("100-199", libcurl.range_); in TEST()
339 EXPECT_EQ("100-199", libcurl.range_); in TEST()
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h515 range_(kValueNotPresent), in Colour()
567 uint64_t range() const { return range_; } in range()
568 void set_range(uint64_t range) { range_ = range; } in set_range()
594 uint64_t range_; variable
Dmkvmuxer.cc1141 if (range_ != kValueNotPresent && !IsColourRangeValueValid(range_)) in Valid()
1208 if (range_ != kValueNotPresent && in Write()
1210 static_cast<uint64>(range_))) { in Write()
1294 if (range_ != kValueNotPresent) { in PayloadSize()
1295 size += EbmlElementSize(libwebm::kMkvRange, static_cast<uint64>(range_)); in PayloadSize()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.h283 VkDeviceSize GetRange() const { return range_; } in GetRange()
290 VkDeviceSize range_; variable
Ddescriptor_sets.cpp1169 : storage_(false), dynamic_(false), buffer_(VK_NULL_HANDLE), offset_(0), range_(0) { in BufferDescriptor()
1186 range_ = buffer_info.range; in WriteUpdate()
1194 range_ = buff_desc->range_; in CopyUpdate()
/external/google-benchmark/include/benchmark/
Dbenchmark.h557 assert(range_.size() > pos);
558 return range_[pos];
575 std::vector<int> range_; variable
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h557 assert(range_.size() > pos);
558 return range_[pos];
575 std::vector<int> range_; variable
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Dbeam_search_decoder.py804 range_ = array_ops.expand_dims(math_ops.range(batch_size) * range_size, 1)
805 gather_indices = array_ops.reshape(gather_indices + range_, [-1])
/external/v8/src/regexp/
Djsregexp.h1244 range_(range) { } in DeferredClearCaptures()
1245 Interval range() { return range_; } in range()
1247 Interval range_;

12