/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | AudioSampleEntry.java | 62 private long bytesPerSample; field in AudioSampleEntry 110 return bytesPerSample; in getBytesPerSample() 161 public void setBytesPerSample(long bytesPerSample) { in setBytesPerSample() argument 162 this.bytesPerSample = bytesPerSample; in setBytesPerSample() 209 bytesPerSample = IsoTypeReader.readUInt32(content); in _parseDetails() 235 "bytesPerSample=" + bytesPerSample + in toString() 270 IsoTypeWriter.writeUInt32(byteBuffer, bytesPerSample); in getContent()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/flac/src/main/jni/ |
D | flac_parser.cc | 226 unsigned bytesPerSample, unsigned nSamples, in copyToByteArrayBigEndian() argument 234 reinterpret_cast<const int8_t *>(&src[c][i]) + 4 - bytesPerSample; in copyToByteArrayBigEndian() 235 memcpy(dst, byteSrc, bytesPerSample); in copyToByteArrayBigEndian() 236 dst = dst + bytesPerSample; in copyToByteArrayBigEndian() 242 unsigned bytesPerSample, in copyToByteArrayLittleEndian() argument 249 memcpy(dst, &(src[c][i]), bytesPerSample); in copyToByteArrayLittleEndian() 250 dst = dst + bytesPerSample; in copyToByteArrayLittleEndian() 400 unsigned bytesPerSample = getBitsPerSample() >> 3; in readBuffer() local 401 size_t bufferSize = blocksize * getChannels() * bytesPerSample; in readBuffer() 411 (*mCopy)(reinterpret_cast<int8_t *>(output), mWriteBuffer, bytesPerSample, in readBuffer()
|
/external/oss-fuzz/projects/flac/ |
D | fuzzer_exo.cpp | 214 unsigned bytesPerSample, unsigned nSamples, in copyToByteArrayBigEndian() argument 222 reinterpret_cast<const int8_t *>(&src[c][i]) + 4 - bytesPerSample; in copyToByteArrayBigEndian() 223 memcpy(dst, byteSrc, bytesPerSample); in copyToByteArrayBigEndian() 224 dst = dst + bytesPerSample; in copyToByteArrayBigEndian() 230 unsigned bytesPerSample, in copyToByteArrayLittleEndian() argument 237 memcpy(dst, &(src[c][i]), bytesPerSample); in copyToByteArrayLittleEndian() 238 dst = dst + bytesPerSample; in copyToByteArrayLittleEndian() 369 unsigned bytesPerSample = getBitsPerSample() >> 3; in readBuffer() local 370 size_t bufferSize = blocksize * getChannels() * bytesPerSample; in readBuffer() 376 (*mCopy)(reinterpret_cast<int8_t *>(output), mWriteBuffer, bytesPerSample, in readBuffer()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/flac/src/main/jni/ |
D | flac_parser.cc | 226 unsigned bytesPerSample, unsigned nSamples, in copyToByteArrayBigEndian() argument 234 reinterpret_cast<const int8_t *>(&src[c][i]) + 4 - bytesPerSample; in copyToByteArrayBigEndian() 235 memcpy(dst, byteSrc, bytesPerSample); in copyToByteArrayBigEndian() 236 dst = dst + bytesPerSample; in copyToByteArrayBigEndian() 242 unsigned bytesPerSample, in copyToByteArrayLittleEndian() argument 249 memcpy(dst, &(src[c][i]), bytesPerSample); in copyToByteArrayLittleEndian() 250 dst = dst + bytesPerSample; in copyToByteArrayLittleEndian() 400 unsigned bytesPerSample = getBitsPerSample() >> 3; in readBuffer() local 401 size_t bufferSize = blocksize * getChannels() * bytesPerSample; in readBuffer() 411 (*mCopy)(reinterpret_cast<int8_t *>(output), mWriteBuffer, bytesPerSample, in readBuffer()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/util/ |
D | WaveFileWriter.cpp | 49 int32_t bytesPerSample = (bitsPerSample + 7) / 8; in writeFormatChunk() local 60 writeIntLittle(mFrameRate * mSamplesPerFrame * bytesPerSample); in writeFormatChunk() 62 writeShortLittle((int16_t) (mSamplesPerFrame * bytesPerSample)); in writeFormatChunk()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | TeeAudioProcessor.java | 189 int bytesPerSample = Util.getPcmFrameSize(encoding, channelCount); in writeFileHeader() local 190 scratchByteBuffer.putInt(bytesPerSample * sampleRateHz); in writeFileHeader() 191 scratchByteBuffer.putShort((short) bytesPerSample); in writeFileHeader() 192 scratchByteBuffer.putShort((short) (8 * bytesPerSample / channelCount)); in writeFileHeader()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | TeeAudioProcessor.java | 189 int bytesPerSample = Util.getPcmFrameSize(encoding, channelCount); in writeFileHeader() local 190 scratchByteBuffer.putInt(bytesPerSample * sampleRateHz); in writeFileHeader() 191 scratchByteBuffer.putShort((short) bytesPerSample); in writeFileHeader() 192 scratchByteBuffer.putShort((short) (8 * bytesPerSample / channelCount)); in writeFileHeader()
|
/external/oboe/src/common/ |
D | AudioSourceCaller.h | 37 AudioSourceCaller(int32_t channelCount, int32_t framesPerCallback, int32_t bytesPerSample) in AudioSourceCaller() argument 40 mBlockReader.open(channelCount * framesPerCallback * bytesPerSample); in AudioSourceCaller()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/ |
D | OpusDecoder.java | 214 int bytesPerSample = channelCount * 2; in decode() local 215 int skipBytes = skipSamples * bytesPerSample; in decode() 217 skipSamples -= result / bytesPerSample; in decode()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/ |
D | OpusDecoder.java | 226 int bytesPerSample = samplesToBytes(1, channelCount, outputFloat); in decode() local 227 int skipBytes = skipSamples * bytesPerSample; in decode() 229 skipSamples -= result / bytesPerSample; in decode()
|
/external/oboe/samples/RhythmGame/src/main/cpp/audio/ |
D | FFMpegExtractor.cpp | 236 int bytesPerSample = av_get_bytes_per_sample((AVSampleFormat)stream->codecpar->format); in decode() local 238 LOGD("Bytes per sample %d", bytesPerSample); in decode()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/flac/src/main/jni/include/ |
D | flac_parser.h | 132 void (*mCopy)(int8_t *dst, const int *const *src, unsigned bytesPerSample,
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/flac/src/main/jni/include/ |
D | flac_parser.h | 132 void (*mCopy)(int8_t *dst, const int *const *src, unsigned bytesPerSample,
|
/external/dng_sdk/source/ |
D | dng_read_image.cpp | 245 int32 bytesPerSample) in DecodeFPDelta() argument 248 DecodeDeltaBytes (input, cols * bytesPerSample, channels); in DecodeFPDelta() 252 if (bytesPerSample == 2) in DecodeFPDelta() 275 else if (bytesPerSample == 3) in DecodeFPDelta() 2184 uint32 bytesPerSample = (ifd.fBitsPerSample [0] >> 3); in ReadTile() local 2402 bytesPerSample); in ReadTile()
|
D | dng_ifd.cpp | 4106 uint32 bytesPerSample = fSamplesPerPixel * in FindTileSize() local 4109 uint32 samplesPerTile = bytesPerTile / bytesPerSample; in FindTileSize() 4142 uint32 bytesPerSample = fSamplesPerPixel * in FindStripSize() local 4145 uint32 samplesPerStrip = bytesPerStrip / bytesPerSample; in FindStripSize()
|
D | dng_image_writer.cpp | 2915 int32 bytesPerSample) in EncodeFPDelta() argument 2920 if (bytesPerSample == 2) in EncodeFPDelta() 2945 else if (bytesPerSample == 3) in EncodeFPDelta() 2998 EncodeDeltaBytes (temp, cols*bytesPerSample, channels); in EncodeFPDelta() 3000 memcpy (buffer, temp, cols*bytesPerSample*channels); in EncodeFPDelta() 4602 uint32 bytesPerSample = TagTypeSize (image.PixelType ()); in WriteImage() local 4605 bytesPerSample); in WriteImage()
|