/third_party/boost/boost/gil/ |
D | bit_aligned_pixel_reference.hpp | 34 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 55 …bit_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 …]
|
D | bit_aligned_pixel_iterator.hpp | 61 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/ |
D | random_posterize_op.cc | 28 RandomPosterizeOp::RandomPosterizeOp(const std::vector<uint8_t> &bit_range) in RandomPosterizeOp() argument 29 : PosterizeOp(bit_range[0]), bit_range_(bit_range) { in RandomPosterizeOp()
|
D | random_posterize_op.h | 35 explicit RandomPosterizeOp(const std::vector<uint8_t> &bit_range = kBitRange);
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | random_posterize_ir.cc | 31 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()
|
D | random_posterize_ir.h | 40 explicit RandomPosterizeOperation(const std::vector<uint8_t> &bit_range);
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 613 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/ |
D | bindings.cc | 379 .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/ |
D | deserialize_test.cc | 158 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/ |
D | expand.c | 1018 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/ |
D | vision.h | 545 explicit RandomPosterize(const std::vector<uint8_t> &bit_range = {4, 8});
|