Home
last modified time | relevance | path

Searched refs:sample_size (Results 1 – 25 of 27) sorted by relevance

12

/external/libvpx/libvpx/third_party/libyuv/source/
Dmjpeg_validate.cc49 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()
Dconvert_jpeg.cc124 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()
Dconvert_to_argb.cc32 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument
282 r = MJPGToARGB(sample, sample_size, in ConvertToARGB()
Dconvert_to_i420.cc29 size_t sample_size, in ConvertToI420() argument
309 r = MJPGToI420(sample, sample_size, in ConvertToI420()
/external/webrtc/talk/media/base/
Dvideoframe.cc247 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()
Dvideoframe.h58 size_t sample_size,
203 size_t sample_size);
Dvideoframe_unittest.h135 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/
Dwebrtcvideoframe.cc67 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()
Dwebrtcvideoframe.h61 size_t sample_size,
82 size_t sample_size,
/external/fio/
Diolog.c626 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/
Dconvert.h194 int MJPGToI420(const uint8* sample, size_t sample_size,
203 int MJPGSize(const uint8* sample, size_t sample_size,
Dmjpeg_decoder.h29 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size);
Dconvert_argb.h189 int MJPGToARGB(const uint8* sample, size_t sample_size,
Dplanar_functions.h362 int MJPGToARGB(const uint8* sample, size_t sample_size,
/external/libyuv/files/source/
Dmjpeg_decoder.cc85 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()
Dconvert_argb.cc912 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()
Dconvert.cc1618 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/
Dwebrtc_libyuv.h115 size_t sample_size,
/external/autotest/client/cros/audio/
Daudio_helper.py237 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/
Dwebrtc_libyuv.cc237 size_t sample_size, in ConvertToI420() argument
248 return libyuv::ConvertToI420(src_frame, sample_size, in ConvertToI420()
/external/opencv/ml/src/
Dmlsvm.cpp1326 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/
Dconvert_argb.h184 int MJPGToARGB(const uint8* sample, size_t sample_size,
Dconvert.h202 int MJPGToI420(const uint8* sample, size_t sample_size,
Dplanar_functions.h277 int MJPGToARGB(const uint8* sample, size_t sample_size,
/external/libpng/
Dpngread.c2675 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()

12