Home
last modified time | relevance | path

Searched refs:range_ (Results 1 – 25 of 42) 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/image_io/includes/image_io/base/
Ddata_context.h27 range_(range), in DataContext()
45 const DataRange& GetRange() const { return range_; } in GetRange()
48 void SetRange(const DataRange& range) { range_ = range; } in SetRange()
59 return range_.IsValid() && range_.Contains(location_) && in IsValidLocationAndRange()
60 segment_.GetDataRange().Contains(range_); in IsValidLocationAndRange()
75 return IsValidLocationAndRange() ? range_.GetEnd() - location_ : 0; in GetBytesAvailable()
134 DataRange 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/python/autograph/operators/
Dpy_builtins_test.py120 self.assertListEqual(list(py_builtins.range_(3)), [0, 1, 2])
121 self.assertListEqual(list(py_builtins.range_(1, 3)), [1, 2])
122 self.assertListEqual(list(py_builtins.range_(2, 0, -1)), [2, 1])
126 r = py_builtins.range_(constant_op.constant(3))
128 r = py_builtins.range_(1, constant_op.constant(3))
130 r = py_builtins.range_(2, 0, constant_op.constant(-1))
135 r = py_builtins.range_(constant_op.constant(-3))
137 r = py_builtins.range_(5, constant_op.constant(2))
Dpy_builtins.py199 def range_(start_or_stop, stop=UNSPECIFIED, step=UNSPECIFIED): function
241 'range': range_,
243 'xrange': range_,
D__init__.py70 from tensorflow.python.autograph.operators.py_builtins import range_
/external/image_io/src/base/
Ddata_context.cc24 ss << "Invalid location:" << location_ << " range:[" << range_.GetBegin() in GetInvalidLocationAndRangeErrorText()
25 << "," << range_.GetEnd() << ") segment_range:[" in GetInvalidLocationAndRangeErrorText()
118 ? range_.GetIntersection(data_line.range) in GetClippedAndLineRange()
119 : range_; in GetClippedAndLineRange()
127 line_end = std::min(location_ + 2 * kLimit, range_.GetEnd()); in GetClippedAndLineRange()
/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/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/core/lib/random/
Drandom_distributions.h183 : lo_(lo), range_(static_cast<uint32>(hi) - static_cast<uint32>(lo)) {} in UniformDistribution()
190 result[i] = SignedAdd(lo_, sample[i] % range_); in operator()
200 uint32 range_; variable
218 : lo_(lo), range_(static_cast<uint64>(hi) - static_cast<uint64>(lo)) {} in UniformDistribution()
226 result[i] = SignedAdd(lo_, bits % range_); in operator()
236 uint64 range_; variable
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc556 range_(0), in NormalizeDescriptor()
564 range_ = other.range_; in CloneFrom()
575 bias_, range_, alpha_, beta_, wrap_around_, segment_size_); in ToString()
579 return absl::StrCat("bias:", bias_, "_range:", range_, "_alpha:", alpha_, in ToShortString()
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dindependent.py260 range_ = math_ops.range(self._reinterpreted_batch_ndims)
262 range_ = np.arange(self._static_reinterpreted_batch_ndims)
263 return math_ops.reduce_sum(stat, axis=-1-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::__anonc34726800111::FakeLibCurl
282 EXPECT_EQ("100-199", libcurl.range_); in TEST()
313 EXPECT_EQ("100-199", libcurl.range_); in TEST()
381 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
/external/libaom/libaom/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
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h619 assert(range_.size() > pos);
620 return range_[pos];
657 std::vector<int64_t> range_;
/external/google-benchmark/include/benchmark/
Dbenchmark.h619 assert(range_.size() > pos);
620 return range_[pos];
657 std::vector<int64_t> range_;

12