Searched defs:bytes_per_sample (Results 1 - 4 of 4) sorted by relevance
/external/libvpx/libvpx/test/ |
H A D | md5_helper.h | 31 const int bytes_per_sample = (img->fmt & VPX_IMG_FMT_HIGH) ? 2 : 1; local 35 img->x_chroma_shift : img->d_w) * bytes_per_sample;
|
H A D | y4m_test.cc | 60 const int bytes_per_sample = (img->fmt & VPX_IMG_FMT_HIGH) ? 2 : 1; local 66 fwrite(buf, bytes_per_sample, w, file);
|
/external/flac/libFLAC/ |
H A D | md5.c | 274 static void format_input_(FLAC__multibyte *mbuf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) argument 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) argument 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) 513 format_input_(&ctx->internal_buf, signal, channels, samples, bytes_per_sample);
|
/external/libvpx/libvpx/ |
H A D | y4minput.c | 996 int bytes_per_sample = _y4m->bit_depth > 8 ? 2 : 1; local 1037 pic_sz = _y4m->pic_w * _y4m->pic_h * bytes_per_sample; 1039 c_w *= bytes_per_sample; 1043 _y4m->pic_w * bytes_per_sample;
|
Completed in 395 milliseconds