Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideoframe.cc240 const uint8 *sample, size_t sample_size) { in Validate() argument
311 << " " << sample_size; in Validate()
316 for (size_t i = 0; i < ARRAY_SIZE(four_samples) && i < sample_size; ++i) { in Validate()
319 if (sample_size < expected_size) { in Validate()
324 << " " << sample_size in Validate()
332 if (sample_size > kMaxSampleSize) { in Validate()
337 << " " << sample_size in Validate()
350 (sample_size > large_expected_size || sample_size > kMaxSampleSize) && in Validate()
357 << " bytes: " << sample_size in Validate()
374 << " bytes: " << sample_size in Validate()
Dvideoframe.h59 size_t sample_size, size_t pixel_width,
179 size_t sample_size);
Dnullvideoframe.h39 size_t sample_size, size_t pixel_width, in Reset() argument
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
Dmjpeg_validate.cc20 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { in ValidateJpeg() argument
22 if (sample_size < 64) { in ValidateJpeg()
30 for (i = sample_size - 2; i > 1;) { 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.cc33 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument
303 r = MJPGToARGB(sample, sample_size, in ConvertToARGB()
/external/chromium_org/third_party/libyuv/source/
Dmjpeg_validate.cc20 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { in ValidateJpeg() argument
22 if (sample_size < 64) { in ValidateJpeg()
30 for (i = sample_size - 2; i > 1;) { 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()
/external/qemu/distrib/jpeg-6b/
Djdapistd.c246 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size; in jpeg_init_read_tile_scanline() local
248 *height = jdiv_round_up(*height, sample_size); in jpeg_init_read_tile_scanline()
250 cinfo->output_scanline = lines_per_iMCU_row * row_offset / sample_size; in jpeg_init_read_tile_scanline()
278 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size; in jpeg_read_tile_scanline() local
284 if (cinfo->output_scanline % (lines_per_iMCU_row / sample_size) == 0) { in jpeg_read_tile_scanline()
287 (lines_per_iMCU_row / sample_size); in jpeg_read_tile_scanline()
/external/jpeg/
Djdapistd.c246 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size; in jpeg_init_read_tile_scanline() local
248 *height = jdiv_round_up(*height, sample_size); in jpeg_init_read_tile_scanline()
250 cinfo->output_scanline = lines_per_iMCU_row * row_offset / sample_size; in jpeg_init_read_tile_scanline()
278 int sample_size = DCTSIZE / cinfo->min_DCT_scaled_size; in jpeg_read_tile_scanline() local
284 if (cinfo->output_scanline % (lines_per_iMCU_row / sample_size) == 0) { in jpeg_read_tile_scanline()
287 (lines_per_iMCU_row / sample_size); in jpeg_read_tile_scanline()
/external/chromium_org/media/cdm/
Daes_decryptor.cc153 size_t sample_size = static_cast<size_t>(input.data_size()); in DecryptData() local
155 DCHECK_GT(sample_size, 0U) << "No sample data to be decrypted."; in DecryptData()
156 if (sample_size == 0) in DecryptData()
161 base::StringPiece encrypted_text(sample, sample_size); in DecryptData()
187 if (total_size < total_clear_size || total_size != sample_size) { in DecryptData()
195 sample_size); in DecryptData()
219 reinterpret_cast<const uint8*>(sample), sample_size); in DecryptData()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoframe.cc115 size_t sample_size, size_t pixel_width, size_t pixel_height, in Init() argument
117 return Reset(format, w, h, dw, dh, sample, sample_size, pixel_width, in Init()
303 size_t sample_size, size_t pixel_width, size_t pixel_height, in Reset() argument
305 if (!Validate(format, w, h, sample, sample_size)) { in Reset()
347 sample, sample_size, y, y_stride, u, u_stride, v, v_stride, horiz_crop, in Reset()
Dwebrtcvideoframe.h52 size_t sample_size, size_t pixel_width, size_t pixel_height,
75 size_t sample_size, size_t pixel_width,
/external/srec/srec/EventLog/src/
DEventLog.c126 …entLogAudioOpen(SR_EventLog* self, const LCHAR* audio_type, size_t sample_rate, size_t sample_size) in SR_EventLogAudioOpen() argument
133 return self->audioOpen(self, audio_type, sample_rate, sample_size); in SR_EventLogAudioOpen()
/external/chromium_org/media/formats/mp4/
Dmp4_stream_parser.cc372 size_t expected_size = runs_->sample_size() + in PrepareAVCBuffer()
467 if (buf_size < runs_->sample_size()) return false; in EnqueueSample()
480 std::vector<uint8> frame_buf(buf, buf + runs_->sample_size()); in EnqueueSample()
544 << ", size=" << runs_->sample_size(); in EnqueueSample()
622 int64 sample_end_offset = runs.sample_offset() + runs.sample_size(); in ComputeHighestEndOffset()
Dtrack_run_iterator.h78 int sample_size() const;
/external/srec/srec/EventLog/include/
DSR_EventLog.h231 …Open)(struct SR_EventLog_t* self, const LCHAR* audio_type, size_t sample_rate, size_t sample_size);
362 …ntLogAudioOpen(SR_EventLog* self, const LCHAR* audio_type, size_t sample_rate, size_t sample_size);
DSR_EventLogImpl.h94 …tLog_AudioOpen(SR_EventLog* self, const LCHAR* audio_type, size_t sample_rate, size_t sample_size);
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_sco.c66 UINT32 sample_size; member
598 p_cb->sample_size = 2; in BTA_DmPcmInitSamples()
648 p_cb->bits, p_cb->n_channels, p_cb->sample_size); in BTA_DmPcmInitSamples()
693 return (out_sample * bta_dm_pcm_cb.sample_size); in BTA_DmPcmResample()
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/
Dconvert.h201 int MJPGToI420(const uint8* sample, size_t sample_size,
210 int MJPGSize(const uint8* sample, size_t sample_size,
Dmjpeg_decoder.h29 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size);
/external/chromium_org/third_party/libyuv/include/libyuv/
Dconvert.h201 int MJPGToI420(const uint8* sample, size_t sample_size,
210 int MJPGSize(const uint8* sample, size_t sample_size,
Dmjpeg_decoder.h29 LIBYUV_BOOL ValidateJpeg(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()
/external/chromium_org/third_party/webrtc/common_video/libyuv/include/
Dwebrtc_libyuv.h122 int sample_size,

123