Home
last modified time | relevance | path

Searched refs:bytesPerSample (Results 1 – 12 of 12) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
DAudioSampleEntry.java62 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/extensions/flac/src/main/jni/
Dflac_parser.cc227 unsigned bytesPerSample, unsigned nSamples, in copyToByteArrayBigEndian() argument
235 reinterpret_cast<const int8_t *>(&src[c][i]) + 4 - bytesPerSample; in copyToByteArrayBigEndian()
236 memcpy(dst, byteSrc, bytesPerSample); in copyToByteArrayBigEndian()
237 dst = dst + bytesPerSample; in copyToByteArrayBigEndian()
243 unsigned bytesPerSample, in copyToByteArrayLittleEndian() argument
250 memcpy(dst, &(src[c][i]), bytesPerSample); in copyToByteArrayLittleEndian()
251 dst = dst + bytesPerSample; in copyToByteArrayLittleEndian()
401 unsigned bytesPerSample = getBitsPerSample() >> 3; in readBuffer() local
402 size_t bufferSize = blocksize * getChannels() * bytesPerSample; in readBuffer()
412 (*mCopy)(reinterpret_cast<int8_t *>(output), mWriteBuffer, bytesPerSample, in readBuffer()
/external/oss-fuzz/projects/flac/
Dfuzzer_exo.cpp214 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/oboe/apps/OboeTester/app/src/main/cpp/util/
DWaveFileWriter.cpp49 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/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTeeAudioProcessor.java187 int bytesPerSample = Util.getPcmFrameSize(encoding, channelCount); in writeFileHeader() local
188 scratchByteBuffer.putInt(bytesPerSample * sampleRateHz); in writeFileHeader()
189 scratchByteBuffer.putShort((short) bytesPerSample); in writeFileHeader()
190 scratchByteBuffer.putShort((short) (8 * bytesPerSample / channelCount)); in writeFileHeader()
/external/oboe/src/common/
DAudioSourceCaller.h37 AudioSourceCaller(int32_t channelCount, int32_t framesPerCallback, int32_t bytesPerSample) in AudioSourceCaller() argument
40 mBlockReader.open(channelCount * framesPerCallback * bytesPerSample); in AudioSourceCaller()
/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoder.java193 int bytesPerSample = channelCount * 2; in decode() local
194 int skipBytes = skipSamples * bytesPerSample; in decode()
196 skipSamples -= result / bytesPerSample; in decode()
/external/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.cpp234 int bytesPerSample = av_get_bytes_per_sample((AVSampleFormat)stream->codecpar->format); in decode() local
236 LOGD("Bytes per sample %d", bytesPerSample); in decode()
/external/exoplayer/tree/extensions/flac/src/main/jni/include/
Dflac_parser.h132 void (*mCopy)(int8_t *dst, const int *const *src, unsigned bytesPerSample,
/external/dng_sdk/source/
Ddng_read_image.cpp245 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()
Ddng_ifd.cpp4106 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()
Ddng_image_writer.cpp2915 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()