/external/libyuv/files/source/ |
mjpeg_validate.cc | 21 static LIBYUV_BOOL ScanEOI(const uint8* sample, size_t sample_size) { 22 if (sample_size >= 2) { 23 const uint8* end = sample + sample_size - 1; 37 // ERROR: Invalid jpeg end code not found. Size sample_size 42 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { 46 if (sample_size < 64 || sample_size > kMaxJpegSize || !sample) { 47 // ERROR: Invalid jpeg size: sample_size 56 if (sample_size > kBackSearchSize) { 57 if (ScanEOI(sample + sample_size - kBackSearchSize, kBackSearchSize)) [all...] |
convert_jpeg.cc | 125 int MJPGSize(const uint8* sample, size_t sample_size, 128 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size); 141 size_t sample_size, 147 if (sample_size == kUnknownDataSize) { 154 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size); 305 size_t sample_size, 309 if (sample_size == kUnknownDataSize) { 316 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size);
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
mjpeg_validate.cc | 49 static LIBYUV_BOOL ScanEOI(const uint8* sample, size_t sample_size) { 50 const uint8* end = sample + sample_size - 1; 66 // ERROR: Invalid jpeg end code not found. Size sample_size 71 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { 73 if (sample_size < 64) { 74 // ERROR: Invalid jpeg size: sample_size 83 sample_size -= 2; 86 if (sample_size > kBackSearchSize) { 87 if (ScanEOI(sample + sample_size - kBackSearchSize, kBackSearchSize)) { 91 sample_size = sample_size - kBackSearchSize + 1 [all...] |
convert_jpeg.cc | 124 int MJPGSize(const uint8* sample, size_t sample_size, 127 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size); 140 size_t sample_size, 146 if (sample_size == kUnknownDataSize) { 153 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size); 304 size_t sample_size, 308 if (sample_size == kUnknownDataSize) { 315 LIBYUV_BOOL ret = mjpeg_decoder.LoadFrame(sample, sample_size);
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_utilities_random.h | 70 \param s sample (out) pre-allocated array of size sample_size 71 \param sample_size size of sample 75 inline void db_RandomSample(int *s,int sample_size,int pool_size,int &r_seed) 79 for(i=0;i<sample_size;i++)
|
db_rob_image_homography.cpp | 704 int orientation_preserving,allow_scaling,allow_rotation,allow_translation,sample_size; local 800 sample_size=2; 807 sample_size=3; 814 sample_size=1; 821 sample_size=1; 828 sample_size=2; 835 sample_size=1; 842 sample_size=2; 849 sample_size=2; 856 sample_size=1 [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_random.h | 70 \param s sample (out) pre-allocated array of size sample_size 71 \param sample_size size of sample 75 inline void db_RandomSample(int *s,int sample_size,int pool_size,int &r_seed) 79 for(i=0;i<sample_size;i++)
|
db_rob_image_homography.cpp | 704 int orientation_preserving,allow_scaling,allow_rotation,allow_translation,sample_size; local 800 sample_size=2; 807 sample_size=3; 814 sample_size=1; 821 sample_size=1; 828 sample_size=2; 835 sample_size=1; 842 sample_size=2; 849 sample_size=2; 856 sample_size=1 [all...] |
/external/webrtc/talk/media/base/ |
videoframe.cc | 247 size_t sample_size) { 317 << " " << sample_size; local 322 for (size_t i = 0; i < arraysize(four_samples) && i < sample_size; ++i) { 325 if (sample_size < expected_size) { 330 << " " << sample_size 338 if (sample_size > kMaxSampleSize) { 343 << " " << sample_size 356 (sample_size > large_expected_size || sample_size > kMaxSampleSize) && 363 << " bytes: " << sample_size [all...] |
videoframe.h | 58 size_t sample_size, 203 size_t sample_size);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
sndhdr.py | 92 sample_size = 1 # default 99 sample_size = 2 102 frame_size = sample_size * nchannels
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
sndhdr.py | 92 sample_size = 1 # default 99 sample_size = 2 102 frame_size = sample_size * nchannels
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 92 sample_size = 1 # default 99 sample_size = 2 102 frame_size = sample_size * nchannels
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 92 sample_size = 1 # default 99 sample_size = 2 102 frame_size = sample_size * nchannels
|
/external/webrtc/talk/media/webrtc/ |
webrtcvideoframe.h | 61 size_t sample_size, 82 size_t sample_size,
|
webrtcvideoframe.cc | 67 size_t sample_size, 72 return Reset(format, w, h, dw, dh, sample, sample_size, pixel_width, 198 size_t sample_size, 204 if (!Validate(format, w, h, sample, sample_size)) { 231 sample, sample_size,
|
/external/webrtc/webrtc/common_video/libyuv/include/ |
webrtc_libyuv.h | 103 // - sample_size : Required only for the parsing of MJPG (set to 0 else). 115 size_t sample_size,
|
/system/media/audio_utils/ |
primitives.c | 363 const void *src, uint32_t src_mask, size_t sample_size, size_t count) 372 memcpy_by_idxary(dst, dst_channels, src, src_channels, idxary, sample_size, count); 375 memcpy(dst, src, sample_size * popcount(dst_mask) * count); 378 switch (sample_size) { 431 const int8_t *idxary, size_t sample_size, size_t count) 433 switch (sample_size) {
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
mjpeg_decoder.h | 29 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size);
|
convert.h | 194 int MJPGToI420(const uint8* sample, size_t sample_size, 203 int MJPGSize(const uint8* sample, size_t sample_size,
|
convert_argb.h | 189 int MJPGToARGB(const uint8* sample, size_t sample_size,
|
/external/libyuv/files/include/libyuv/ |
mjpeg_decoder.h | 29 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size);
|
convert.h | 192 int MJPGToI420(const uint8* sample, size_t sample_size, 201 int MJPGSize(const uint8* sample, size_t sample_size,
|
/frameworks/av/media/libstagefright/include/ |
SampleTable.h | 157 status_t getSampleSize_l(uint32_t sample_index, size_t *sample_size);
|
/external/fio/ |
iolog.c | 626 static void flush_samples(FILE *f, void *samples, uint64_t sample_size) 632 if (!sample_size) 638 nr_samples = sample_size / __log_entry_sz(log_offset); 1093 size_t sample_size; local 1101 sample_size = log->nr_samples * log_entry_sz(log); 1102 data->samples = malloc(sample_size); 1108 memcpy(data->samples, log->log, sample_size);
|