Home
last modified time | relevance | path

Searched refs:output_size (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/media/filters/
Dh264_to_annex_b_bitstream_converter.cc74 uint32 output_size = 0; in CalculateNeededOutputBufferSize() local
86 output_size += GetConfigSize(*avc_config); in CalculateNeededOutputBufferSize()
119 output_size += 1; // Extra zero_byte for these nal units in CalculateNeededOutputBufferSize()
123 output_size += sizeof(kStartCodePrefix); in CalculateNeededOutputBufferSize()
125 output_size += nal_unit_length; in CalculateNeededOutputBufferSize()
129 return output_size; in CalculateNeededOutputBufferSize()
135 uint32* output_size) { in ConvertAVCDecoderConfigToByteStream() argument
137 uint32 out_size = *output_size; in ConvertAVCDecoderConfigToByteStream()
138 *output_size = 0; in ConvertAVCDecoderConfigToByteStream()
151 *output_size = out - output; in ConvertAVCDecoderConfigToByteStream()
[all …]
Dh264_to_annex_b_bitstream_converter_unittest.cc292 uint32 output_size = converter.CalculateNeededOutputBufferSize( in TEST_F() local
296 EXPECT_GT(output_size, 0U); in TEST_F()
297 output.reset(new uint8[output_size]); in TEST_F()
300 uint32 output_size_left_for_nal_unit = output_size; in TEST_F()
357 uint32 output_size = converter.CalculateNeededOutputBufferSize( in TEST_F() local
361 EXPECT_EQ(output_size, 0U); in TEST_F()
364 output_size = sizeof(kPacketDataOkWithFieldLen4); in TEST_F()
365 output.reset(new uint8[output_size]); in TEST_F()
368 uint32 output_size_left_for_nal_unit = output_size; in TEST_F()
423 uint32 output_size = converter.CalculateNeededOutputBufferSize( in TEST_F() local
[all …]
Dh264_to_annex_b_bitstream_converter.h98 uint32* output_size);
128 uint32* output_size);
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_browsertest.cc526 const gfx::Size& output_size, in PerformTestWithLeftRightRects() argument
587 SetupLeftRightBitmap(output_size, &expected_bitmap); in PerformTestWithLeftRightRects()
596 gfx::Rect(output_size.width() / 2 - 1, 0, 2, output_size.height())); in PerformTestWithLeftRightRects()
600 output_size, in PerformTestWithLeftRightRects()
601 gfx::Rect(output_size), in PerformTestWithLeftRightRects()
602 output_size, in PerformTestWithLeftRightRects()
622 output_size.width() / 2 - 1, 0, 2, output_size.height())); in PerformTestWithLeftRightRects()
632 output_size, in PerformTestWithLeftRightRects()
673 gfx::Size output_size = copy_rect.size(); in IN_PROC_BROWSER_TEST_P() local
678 output_size, in IN_PROC_BROWSER_TEST_P()
[all …]
/external/chromium_org/sdch/open-vcdiff/src/
Dvcdiff_main.cc341 size_t output_size = output.size(); in CompareOutput() local
344 if (output_size > compare_buffer_.size()) { in CompareOutput()
345 compare_buffer_.resize(output_size); in CompareOutput()
349 output_size, in CompareOutput()
356 if (bytes_read < output_size) { in CompareOutput()
361 if (output.compare(0, output_size, &compare_buffer_[0], bytes_read) != 0) { in CompareOutput()
406 size_t output_size = 0; in Encode() local
418 output_size += output.size(); in Encode()
433 output_size += output.size(); in Encode()
437 << "\tCompressed size: " << output_size << " (" in Encode()
[all …]
/external/chromium_org/base/
Dbase64.cc16 size_t output_size = modp_b64_encode(&(temp[0]), input.data(), input.size()); in Base64Encode() local
18 temp.resize(output_size); // strips off null byte in Base64Encode()
28 size_t output_size = modp_b64_decode(&(temp[0]), input.data(), input_size); in Base64Decode() local
29 if (output_size == MODP_B64_ERROR) in Base64Decode()
32 temp.resize(output_size); in Base64Decode()
/external/qemu/target-arm/
Darm-semi.c428 size_t output_size; in do_arm_semihosting() local
435 output_size = strlen(ts->boot_info->kernel_filename) in do_arm_semihosting()
442 output_size = ts->info->arg_end - ts->info->arg_start; in do_arm_semihosting()
443 if (!output_size) { in do_arm_semihosting()
446 output_size = 1; in do_arm_semihosting()
450 if (output_size > input_size) { in do_arm_semihosting()
456 if (SET_ARG(1, output_size - 1)) { in do_arm_semihosting()
462 output_buffer = lock_user(VERIFY_WRITE, arg0, output_size, 0); in do_arm_semihosting()
469 pstrcpy(output_buffer, output_size, ts->boot_info->kernel_filename); in do_arm_semihosting()
470 pstrcat(output_buffer, output_size, " "); in do_arm_semihosting()
[all …]
/external/chromium_org/third_party/brotli/src/woff2/
Dwoff2_compress.cc38 size_t output_size = woff2::MaxWOFF2CompressedSize(input_data, input.size()); in main() local
39 string output(output_size, 0); in main()
43 output_data, &output_size)) { in main()
47 output.resize(output_size); in main()
/external/chromium_org/chrome/browser/extensions/
Dbookmark_app_helper.cc46 explicit GeneratedIconImageSource(char letter, SkColor color, int output_size) in GeneratedIconImageSource() argument
47 : gfx::CanvasImageSource(gfx::Size(output_size, output_size), false), in GeneratedIconImageSource()
50 output_size_(output_size) {} in GeneratedIconImageSource()
157 int output_size, in GenerateIcon() argument
161 if (bitmaps->count(output_size)) in GenerateIcon()
165 new GeneratedIconImageSource(letter, color, output_size), in GenerateIcon()
166 gfx::Size(output_size, output_size)); in GenerateIcon()
167 icon_image.bitmap()->deepCopyTo(&(*bitmaps)[output_size]); in GenerateIcon()
Dbookmark_app_helper.h59 int output_size,
/external/chromium_org/crypto/
Dencryptor_openssl.cc113 const size_t output_size = input.size() + (do_encrypt ? iv_.size() : 0); in Crypt() local
114 CHECK_GT(output_size, 0u); in Crypt()
115 CHECK_GT(output_size + 1, input.size()); in Crypt()
117 output_size + 1)); in Crypt()
131 DCHECK_LE(out_len, static_cast<int>(output_size)); in Crypt()
/external/libvpx/libvpx/test/
Dpp_filter_test.cc54 const int output_size = output_width * output_height; in TEST_P() local
59 reinterpret_cast<uint8_t*>(vpx_calloc(output_size, 1)); in TEST_P()
81 (void)vpx_memset(dst_image, 99, output_size); in TEST_P()
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dpp_filter_test.cc54 const int output_size = output_width * output_height; in TEST_P() local
59 reinterpret_cast<uint8_t*>(vpx_calloc(output_size, 1)); in TEST_P()
81 (void)vpx_memset(dst_image, 99, output_size); in TEST_P()
/external/chromium_org/remoting/codec/
Dvideo_encoder_verbatim.cc37 size_t output_size = 0; in Encode() local
41 output_size += rect.width() * rect.height() * in Encode()
45 uint8_t* out = GetPacketOutputBuffer(packet.get(), output_size); in Encode()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp278 FX_LPBYTE& output_buf, FX_DWORD& output_size, FX_LPCSTR& filter) in PSCompressData() argument
281 output_size = src_size; in PSCompressData()
300 output_size = dest_size; in PSCompressData()
360 FX_DWORD output_size; in DrawDIBits() local
361 FaxCompressData(src_buf, width, height, output_buf, output_size); in DrawDIBits()
380 WritePSBinary(output_buf, output_size); in DrawDIBits()
416 FX_STRSIZE output_size = 0; in DrawDIBits() local
420 … if (pEncoders && pEncoders->GetJpegModule()->Encode(pConverted, output_buf, output_size)) { in DrawDIBits()
426 output_size = height * src_pitch; in DrawDIBits()
427 output_buf = FX_Alloc(FX_BYTE, output_size); in DrawDIBits()
[all …]
/external/webp/src/enc/
Dalpha.c227 size_t* const output_size, in ApplyFiltersAndEncode() argument
259 *output_size = VP8BitWriterSize(&best.bw); in ApplyFiltersAndEncode()
270 uint8_t** const output, size_t* const output_size) { in EncodeAlpha() argument
284 assert(output != NULL && output_size != NULL); in EncodeAlpha()
322 output_size, pic->stats); in EncodeAlpha()
324 pic->stats->coded_size += (int)(*output_size); in EncodeAlpha()
/external/chromium_org/third_party/libwebp/enc/
Dalpha.c227 size_t* const output_size, in ApplyFiltersAndEncode() argument
259 *output_size = VP8BitWriterSize(&best.bw); in ApplyFiltersAndEncode()
270 uint8_t** const output, size_t* const output_size) { in EncodeAlpha() argument
284 assert(output != NULL && output_size != NULL); in EncodeAlpha()
322 output_size, pic->stats); in EncodeAlpha()
324 pic->stats->coded_size += (int)(*output_size); in EncodeAlpha()
/external/chromium_org/content/browser/media/capture/
Ddesktop_capture_device.cc255 webrtc::DesktopSize output_size(capture_format_.frame_size.width(), in OnCaptureCompleted() local
257 size_t output_bytes = output_size.width() * output_size.height() * in OnCaptureCompleted()
262 if (frame->size().equals(output_size)) { in OnCaptureCompleted()
290 output_frame_.reset(new webrtc::BasicDesktopFrame(output_size)); in OnCaptureCompleted()
293 DCHECK(output_frame_->size().equals(output_size)); in OnCaptureCompleted()
/external/chromium_org/content/common/gpu/media/
Dv4l2_video_encode_accelerator.cc545 size_t output_size = dqbuf.m.planes[0].bytesused; in Dequeue() local
548 DCHECK_LE(output_size, output_buffer_byte_size_); in Dequeue()
549 if (output_size > output_buffer_byte_size_) in Dequeue()
550 output_size = output_buffer_byte_size_; in Dequeue()
556 stream_header_size_ = output_size; in Dequeue()
561 output_buffer_byte_size_ - stream_header_size_ >= output_size) { in Dequeue()
564 memcpy(target_data + stream_header_size_, output_data, output_size); in Dequeue()
565 output_size += stream_header_size_; in Dequeue()
567 memcpy(target_data, output_data, output_size); in Dequeue()
570 memcpy(target_data, output_data, output_size); in Dequeue()
[all …]
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dffmpeg_cdm_audio_decoder.cc367 const int64 output_size = decoded_audio_size; in DecodeBuffer() local
368 memcpy(output_buffer, &output_size, sizeof(output_size)); in DecodeBuffer()
369 output_buffer += sizeof(output_size); in DecodeBuffer()
/external/chromium_org/third_party/brotli/src/brotli/enc/
Dencode.cc984 size_t output_size = is_last ? ((storage_ix_ + 7) >> 3) : (storage_ix_ >> 3); in WriteMetaBlock() local
985 output_size -= (storage_ix0 >> 3); in WriteMetaBlock()
986 if (input_size + 4 < output_size) { in WriteMetaBlock()
1001 memcpy(encoded_buffer, storage_, output_size); in WriteMetaBlock()
1002 *encoded_size = output_size; in WriteMetaBlock()
1007 storage_ix_ -= output_size << 3; in WriteMetaBlock()
1008 storage_[storage_ix_ >> 3] = storage_[output_size]; in WriteMetaBlock()
1045 size_t output_size = max_output_size; in BrotliCompressBuffer() local
1047 &output_size, &encoded_buffer[*encoded_size]); in BrotliCompressBuffer()
1049 *encoded_size += output_size; in BrotliCompressBuffer()
[all …]
/external/chromium_org/third_party/simplejson/
D_speedups.c279 Py_ssize_t output_size; in ascii_escape_unicode() local
290 output_size = 2 + (MIN_EXPANSION * 4) + input_chars; in ascii_escape_unicode()
292 rval = PyString_FromStringAndSize(NULL, output_size); in ascii_escape_unicode()
307 if (output_size - chars < (1 + MAX_EXPANSION)) { in ascii_escape_unicode()
309 Py_ssize_t new_output_size = output_size * 2; in ascii_escape_unicode()
315 if (new_output_size != output_size) { in ascii_escape_unicode()
316 output_size = new_output_size; in ascii_escape_unicode()
317 if (_PyString_Resize(&rval, output_size) == -1) { in ascii_escape_unicode()
337 Py_ssize_t output_size; in ascii_escape_str() local
372 output_size = 2 + input_chars; in ascii_escape_str()
[all …]
/external/chromium_org/sandbox/win/src/
Dsharedmem_ipc_server.cc221 uint32 output_size = 0; in InvokeCallback() local
228 &output_size)); in InvokeCallback()
356 memcpy(ipc_buffer, params.get(), output_size); in InvokeCallback()
Dcrosscall_server.cc107 uint32* output_size) { in CreateFromBuffer() argument
145 *output_size = declared_size; in CreateFromBuffer()
/external/chromium_org/v8/src/
Dregexp-macro-assembler.cc133 int output_size, in Execute() argument
146 output_size, in Execute()

12