Home
last modified time | relevance | path

Searched refs:bit_range (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/boost/gil/
Dbit_aligned_pixel_reference.hpp34 class bit_range { class
38 template <int RS, bool M> friend class bit_range;
44 bit_range() : _current_byte(nullptr), _bit_offset(0) {} in bit_range() function in boost::gil::bit_range
45 bit_range(byte_t* current_byte, int bit_offset) in bit_range() function in boost::gil::bit_range
52 bit_range(const bit_range& br) : _current_byte(br._current_byte), _bit_offset(br._bit_offset) {} in bit_range() function in boost::gil::bit_range
53 …template <bool M> bit_range(const bit_range<RangeSize,M>& br) : _current_byte(br._current_byte), _… in bit_range() function in boost::gil::bit_range
55bit_range& operator=(const bit_range& br) { _current_byte = br._current_byte; _bit_offset=br._bit_… in operator =()
56 …bool operator==(const bit_range& br) const { return _current_byte==br._current_byte && _bit_offse… in operator ==()
58 bit_range& operator++() { in operator ++()
63 bit_range& operator--() { bit_advance(-RangeSize); return *this; } in operator --()
[all …]
Dbit_aligned_pixel_iterator.hpp61 bit_aligned_pixel_iterator(reference* ref) : _bit_range(ref->bit_range()) {} in bit_aligned_pixel_iterator()
69 const bit_range_t& bit_range() const { return _bit_range; } in bit_range() function
70 bit_range_t& bit_range() { return _bit_range; } in bit_range() function
131 …return (p2.bit_range().current_byte() - p1.bit_range().current_byte())*8 + p2.bit_range().bit_offs… in memunit_distance()
136 p.bit_range().bit_advance(diff); in memunit_advance()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drandom_posterize_op.cc28 RandomPosterizeOp::RandomPosterizeOp(const std::vector<uint8_t> &bit_range) in RandomPosterizeOp() argument
29 : PosterizeOp(bit_range[0]), bit_range_(bit_range) { in RandomPosterizeOp()
Drandom_posterize_op.h35 explicit RandomPosterizeOp(const std::vector<uint8_t> &bit_range = kBitRange);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Drandom_posterize_ir.cc31 RandomPosterizeOperation::RandomPosterizeOperation(const std::vector<uint8_t> &bit_range) in RandomPosterizeOperation() argument
32 : TensorOperation(true), bit_range_(bit_range) {} in RandomPosterizeOperation()
85 std::vector<uint8_t> bit_range = op_params["bits"]; in from_json() local
86 *operation = std::make_shared<vision::RandomPosterizeOperation>(bit_range); in from_json()
Drandom_posterize_ir.h40 explicit RandomPosterizeOperation(const std::vector<uint8_t> &bit_range);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc613 explicit Data(const std::vector<uint8_t> &bit_range) : bit_range_(bit_range) {} in Data()
617 …erize::RandomPosterize(const std::vector<uint8_t> &bit_range) : data_(std::make_shared<Data>(bit_r… in RandomPosterize() argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/image/
Dbindings.cc379 .def(py::init([](const std::vector<uint8_t> &bit_range) { in __anon574f76b43602() argument
380 … auto random_posterize = std::make_shared<vision::RandomPosterizeOperation>(bit_range); in __anon574f76b43602()
/third_party/mindspore/tests/ut/cpp/dataset/
Ddeserialize_test.cc158 std::vector<uint8_t> bit_range = {5, 15}; in TEST_F() local
179 …ed_ptr<TensorOperation> operation8 = std::make_shared<vision::RandomPosterizeOperation>(bit_range); in TEST_F()
/third_party/ltp/tools/sparse/sparse-src/
Dexpand.c1018 static unsigned long bit_range(const struct expression *expr) in bit_range() function
1068 end = off + bit_range(b); in verify_nonoverlapping()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dvision.h545 explicit RandomPosterize(const std::vector<uint8_t> &bit_range = {4, 8});