Home
last modified time | relevance | path

Searched refs:sample_bytes (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_spp.c262 const int sample_bytes = (depth+7) / 8; in filter() local
266 memcpy(p->src + index*sample_bytes, src + y*src_linesize, width*sample_bytes); in filter()
267 if (sample_bytes == 1) { in filter()
280 …(p->src + ( 7-y)*linesize * sample_bytes, p->src + ( y+8)*linesize * sample_bytes, lin… in filter()
281 …(p->src + (height+8+y)*linesize * sample_bytes, p->src + (height-y+7)*linesize * sample_bytes, lin… in filter()
300 … p->dct->get_pixels_unaligned(block, p->src + sample_bytes*index, sample_bytes*linesize); in filter()
308 if (sample_bytes == 1) { in filter()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc219 std::map<std::string, std::string> sample_bytes; in __anon9c4d722b1a02() local
220 THROW_IF_ERROR(ToJson(padded_sample, &padded_sample_json, &sample_bytes)); in __anon9c4d722b1a02()
224 minddata->SetSampleBytes(&sample_bytes); in __anon9c4d722b1a02()
231 std::map<std::string, std::string> sample_bytes; in __anon9c4d722b1a02() local
232 THROW_IF_ERROR(ToJson(padded_sample, &padded_sample_json, &sample_bytes)); in __anon9c4d722b1a02()
236 minddata->SetSampleBytes(&sample_bytes); in __anon9c4d722b1a02()
/third_party/gstreamer/gstplugins_bad/gst/adpcmenc/
Dadpcmenc.c147 guint64 sample_bytes; in adpcmenc_setup() local
156 sample_bytes = enc->blocksize - (DVI_IMA_HEADER_SIZE * enc->channels); in adpcmenc_setup()
159 ((sample_bytes * ADPCM_SAMPLES_PER_BYTE) / enc->channels) + 1; in adpcmenc_setup()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dminddata_node.cc170 …e::SetSampleBytes(std::map<std::string, std::string> *sample_bytes) { sample_bytes_ = *sample_byte… in SetSampleBytes() argument
Dminddata_node.h79 void SetSampleBytes(std::map<std::string, std::string> *sample_bytes);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/
Dpybind_conversion.h85 std::map<std::string, std::string> *sample_bytes);
Dpybind_conversion.cc230 std::map<std::string, std::string> *sample_bytes) { in ToJson() argument
233 (*sample_bytes)[py::str(key).cast<std::string>()] = padded_sample[key].cast<std::string>(); in ToJson()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dmindrecord_op.cc45 … const mindrecord::json &sample_json, const std::map<std::string, std::string> &sample_bytes, in MindRecordOp() argument
57 sample_bytes_(sample_bytes), in MindRecordOp()
/third_party/mindspore/tests/ut/cpp/dataset/
Dmind_record_op_test.cc54 std::map<std::string, std::string> sample_bytes = {}; in CreateMindRecord() local
60 nullptr, sample_bytes, shuffle_mode, std::move(shard_reader), std::move(sampler)); in CreateMindRecord()
/third_party/alsa-utils/aplay/
Daplay.c2042 size_t sample_bytes = bits_per_sample / 8; in remap_data() local
2065 memcpy(dst, src + sample_bytes * hw_map[ch], in remap_data()
2066 sample_bytes); in remap_data()
2067 dst += sample_bytes; in remap_data()