/external/libvpx/libvpx/third_party/libyuv/source/ |
D | mjpeg_validate.cc | 49 static LIBYUV_BOOL ScanEOI(const uint8* sample, size_t sample_size) { in ScanEOI() argument 50 const uint8* end = sample + sample_size - 1; in ScanEOI() 71 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { in ValidateJpeg() argument 73 if (sample_size < 64) { in ValidateJpeg() 83 sample_size -= 2; in ValidateJpeg() 86 if (sample_size > kBackSearchSize) { in ValidateJpeg() 87 if (ScanEOI(sample + sample_size - kBackSearchSize, kBackSearchSize)) { in ValidateJpeg() 91 sample_size = sample_size - kBackSearchSize + 1; in ValidateJpeg() 93 return ScanEOI(sample, sample_size); in ValidateJpeg()
|
D | convert_jpeg.cc | 124 int MJPGSize(const uint8* sample, size_t sample_size, in MJPGSize() argument 127 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size); in MJPGSize() 140 size_t sample_size, in MJPGToI420() argument 146 if (sample_size == kUnknownDataSize) { in MJPGToI420() 153 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size); in MJPGToI420() 304 size_t sample_size, in MJPGToARGB() argument 308 if (sample_size == kUnknownDataSize) { in MJPGToARGB() 315 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size); in MJPGToARGB()
|
D | convert_to_argb.cc | 32 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument 282 r = MJPGToARGB(sample, sample_size, in ConvertToARGB()
|
D | convert_to_i420.cc | 29 size_t sample_size, in ConvertToI420() argument 309 r = MJPGToI420(sample, sample_size, in ConvertToI420()
|
/external/webrtc/talk/media/base/ |
D | videoframe.cc | 247 size_t sample_size) { in Validate() argument 317 << " " << sample_size; in Validate() 322 for (size_t i = 0; i < arraysize(four_samples) && i < sample_size; ++i) { in Validate() 325 if (sample_size < expected_size) { in Validate() 330 << " " << sample_size in Validate() 338 if (sample_size > kMaxSampleSize) { in Validate() 343 << " " << sample_size in Validate() 356 (sample_size > large_expected_size || sample_size > kMaxSampleSize) && in Validate() 363 << " bytes: " << sample_size in Validate() 380 << " bytes: " << sample_size in Validate()
|
D | videoframe.h | 58 size_t sample_size, 203 size_t sample_size);
|
D | videoframe_unittest.h | 135 size_t sample_size, in LoadFrame() argument 140 return LoadFrame(sample, sample_size, format, width, height, width, in LoadFrame() 144 size_t sample_size, in LoadFrame() argument 155 sample, sample_size, 1, 1, 0, rotation); in LoadFrame() 1177 size_t sample_size; in ValidateFrame() local 1178 ms->GetSize(&sample_size); in ValidateFrame() 1180 size_t data_size = sample_size + data_adjust; in ValidateFrame() 1193 memcpy(data_ptr, sample, std::min(data_size, sample_size)); in ValidateFrame() 1197 sample_size + size_adjust)); in ValidateFrame()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoframe.cc | 67 size_t sample_size, in Init() argument 72 return Reset(format, w, h, dw, dh, sample, sample_size, pixel_width, in Init() 198 size_t sample_size, in Reset() argument 204 if (!Validate(format, w, h, sample, sample_size)) { in Reset() 231 sample, sample_size, in Reset()
|
D | webrtcvideoframe.h | 61 size_t sample_size, 82 size_t sample_size,
|
/external/fio/ |
D | iolog.c | 626 static void flush_samples(FILE *f, void *samples, uint64_t sample_size) in flush_samples() argument 632 if (!sample_size) in flush_samples() 638 nr_samples = sample_size / __log_entry_sz(log_offset); in flush_samples() 1093 size_t sample_size; in iolog_flush() local 1101 sample_size = log->nr_samples * log_entry_sz(log); in iolog_flush() 1102 data->samples = malloc(sample_size); in iolog_flush() 1108 memcpy(data->samples, log->log, sample_size); in iolog_flush()
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | convert.h | 194 int MJPGToI420(const uint8* sample, size_t sample_size, 203 int MJPGSize(const uint8* sample, size_t sample_size,
|
D | mjpeg_decoder.h | 29 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size);
|
D | convert_argb.h | 189 int MJPGToARGB(const uint8* sample, size_t sample_size,
|
D | planar_functions.h | 362 int MJPGToARGB(const uint8* sample, size_t sample_size,
|
/external/libyuv/files/source/ |
D | mjpeg_decoder.cc | 85 bool ValidateJpeg(const uint8* sample, size_t sample_size) { in ValidateJpeg() argument 86 if (sample_size < 64) { in ValidateJpeg() 96 for (int i = 2; i < static_cast<int>(sample_size) - 1; ++i) { in ValidateJpeg()
|
D | convert_argb.cc | 912 size_t sample_size, in MJPGToARGB() argument 916 if (sample_size == kUnknownDataSize) { in MJPGToARGB() 923 bool ret = mjpeg_decoder.LoadFrame(sample, sample_size); in MJPGToARGB() 1001 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument 1276 r = MJPGToARGB(sample, sample_size, in ConvertToARGB()
|
D | convert.cc | 1618 size_t sample_size, in MJPGToI420() argument 1624 if (sample_size == kUnknownDataSize) { in MJPGToI420() 1631 bool ret = mjpeg_decoder.LoadFrame(sample, sample_size); in MJPGToI420() 1711 size_t sample_size, in ConvertToI420() argument 2051 r = MJPGToI420(sample, sample_size, in ConvertToI420()
|
/external/webrtc/webrtc/common_video/libyuv/include/ |
D | webrtc_libyuv.h | 115 size_t sample_size,
|
/external/autotest/client/cros/audio/ |
D | audio_helper.py | 237 sample_size=16): argument 246 cmdargs = [SOX_PATH, '-b', str(sample_size), '-n', '-t', 'alsa', 258 sample_size=16): argument 267 cmdargs = get_play_sine_args(channel, odev, freq, duration, sample_size)
|
/external/webrtc/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 237 size_t sample_size, in ConvertToI420() argument 248 return libyuv::ConvertToI420(src_frame, sample_size, in ConvertToI420()
|
/external/opencv/ml/src/ |
D | mlsvm.cpp | 1326 const int sample_size = var_count*sizeof(samples[0][0]); in do_train() local 1352 CV_CALL( sv[k] = (float*)cvMemStorageAlloc( storage, sample_size )); in do_train() 1353 memcpy( sv[k], samples[i], sample_size ); in do_train() 1496 CV_CALL( sv[k] = (float*)cvMemStorageAlloc( storage, sample_size )); in do_train() 1497 memcpy( sv[k], samples[i], sample_size ); in do_train() 1537 int svm_type, sample_count, var_count, sample_size; in train() local 1556 sample_size = var_count*sizeof(samples[0][0]); in train() 1562 block_size = MAX( block_size, sample_size*2 + 1024 ); in train() 1605 int svm_type, sample_count, var_count, sample_size; in train_auto() local 1708 sample_size = var_count*sizeof(samples[0][0]); in train_auto() [all …]
|
/external/libyuv/files/include/libyuv/ |
D | convert_argb.h | 184 int MJPGToARGB(const uint8* sample, size_t sample_size,
|
D | convert.h | 202 int MJPGToI420(const uint8* sample, size_t sample_size,
|
D | planar_functions.h | 277 int MJPGToARGB(const uint8* sample, size_t sample_size,
|
/external/libpng/ |
D | pngread.c | 2675 unsigned int sample_size = in png_image_read_colormap() local 2707 sample_size * cmap_entries, in png_image_read_colormap() 2709 sample_size * PNG_RGB_INDEX(r,g,b), in png_image_read_colormap() 2710 sample_size) != 0) in png_image_read_colormap()
|