HomeSort by relevance Sort by last modified time
    Searched refs:bytes_per_sample (Results 1 - 15 of 15) sorted by null

  /external/webrtc/webrtc/common_audio/
wav_header.h 29 kWavFormatPcm = 1, // PCM, each sample of size bytes_per_sample
38 size_t bytes_per_sample,
49 size_t bytes_per_sample,
59 size_t* bytes_per_sample,
wav_header.cc 65 size_t bytes_per_sample,
67 // num_channels, sample_rate, and bytes_per_sample must be positive, must fit
70 if (num_channels == 0 || sample_rate <= 0 || bytes_per_sample == 0)
76 if (static_cast<uint64_t>(bytes_per_sample) * 8 >
79 if (static_cast<uint64_t>(sample_rate) * num_channels * bytes_per_sample >
83 // format and bytes_per_sample must agree.
87 if (bytes_per_sample != 1 && bytes_per_sample != 2)
92 if (bytes_per_sample != 1)
103 (std::numeric_limits<uint32_t>::max() - header_size) / bytes_per_sample;
    [all...]
wav_header_unittest.cc 97 size_t bytes_per_sample = 0; local
123 &bytes_per_sample, &num_samples));
144 &bytes_per_sample, &num_samples));
165 &bytes_per_sample, &num_samples));
187 &bytes_per_sample, &num_samples));
210 &bytes_per_sample, &num_samples));
229 &bytes_per_sample, &num_samples));
241 &bytes_per_sample, &num_samples));
274 size_t bytes_per_sample = 0; local
279 &bytes_per_sample, &num_samples))
310 size_t bytes_per_sample = 0; local
    [all...]
wav_file.cc 55 size_t bytes_per_sample; local
57 &bytes_per_sample, &num_samples_));
60 RTC_CHECK_EQ(kBytesPerSample, bytes_per_sample);
  /external/flac/libFLAC/include/private/
md5.h 48 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
  /external/libvpx/libvpx/test/
md5_helper.h 31 const int bytes_per_sample = local
36 img->x_chroma_shift : img->d_w) * bytes_per_sample;
y4m_test.cc 62 const int bytes_per_sample = (img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; local
68 fwrite(buf, bytes_per_sample, w, file);
  /external/libvpx/libvpx/vpx/src/
vpx_image.c 218 const int bytes_per_sample = local
224 data + x * bytes_per_sample + y * img->stride[VPX_PLANE_ALPHA];
228 img->planes[VPX_PLANE_Y] = data + x * bytes_per_sample +
234 data + (x >> img->x_chroma_shift) * bytes_per_sample +
238 data + (x >> img->x_chroma_shift) * bytes_per_sample +
242 data + (x >> img->x_chroma_shift) * bytes_per_sample +
246 data + (x >> img->x_chroma_shift) * bytes_per_sample +
  /frameworks/base/media/mca/filterfw/jni/
jni_native_frame.cpp 170 jint bytes_per_sample) {
174 if ((size / 4) != (frame->Size() / bytes_per_sample)) {
185 switch (bytes_per_sample) {
207 ALOGE("Unsupported bytes-per-pixel %d in setBitmap!", bytes_per_sample);
220 jint bytes_per_sample) {
227 if ((size / 4) != (frame->Size() / bytes_per_sample)) {
234 switch (bytes_per_sample) {
259 ALOGE("Unsupported bytes-per-pixel %d in getBitmap!", bytes_per_sample);
jni_native_frame.h 68 jint bytes_per_sample);
75 jint bytes_per_sample);
  /external/flac/libFLAC/
md5.c 274 static void format_input_(FLAC__multibyte *mbuf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
287 switch (BYTES_CHANNEL_SELECTOR (bytes_per_sample, channels)) {
454 switch (bytes_per_sample) {
491 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
493 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample;
496 if ((size_t)channels > SIZE_MAX / (size_t)bytes_per_sample)
498 if ((size_t)channels * (size_t)bytes_per_sample > SIZE_MAX / (size_t)samples)
511 format_input_(&ctx->internal_buf, signal, channels, samples, bytes_per_sample);
  /external/libvpx/libvpx/
y4minput.c 998 int bytes_per_sample = _y4m->bit_depth > 8 ? 2 : 1; local
    [all...]
vpxdec.c 297 const int bytes_per_sample = ((img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1); local
299 const int bytes_per_sample = 1; local
310 fwrite(buf, bytes_per_sample, w, file);
    [all...]
  /device/google/dragon/audio/hal/
audio_hw.c 1024 size_t bytes_per_sample = audio_bytes_per_sample(stream->common.get_format(&stream->common)); local
2167 size_t bytes_per_sample = audio_bytes_per_sample(stream->common.get_format(&stream->common)); local
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/png/
png.py 332 bytes_per_sample=None, # deprecated
527 if bytes_per_sample is not None:
528 warnings.warn('please use bitdepth instead of bytes_per_sample',
530 if bytes_per_sample not in (0.125, 0.25, 0.5, 1, 2):
533 bitdepth = int(8*bytes_per_sample)
534 del bytes_per_sample
    [all...]

Completed in 1050 milliseconds