Home
last modified time | relevance | path

Searched refs:input_size (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/sdch/open-vcdiff/src/
Dvcdiff_main.cc405 size_t input_size = 0; in Encode() local
421 input_size += bytes_read; in Encode()
435 if (FLAGS_stats && (input_size > 0)) { in Encode()
436 std::cerr << "Original size: " << input_size in Encode()
438 << ((static_cast<double>(output_size) / input_size) * 100) in Encode()
460 size_t input_size = 0; in Decode() local
476 input_size += bytes_read; in Decode()
501 << "\tCompressed size: " << input_size << " (" in Decode()
502 << ((static_cast<double>(input_size) / output_size) * 100) in Decode()
524 size_t input_size = 0; in DecodeAndCompare() local
[all …]
/external/chromium_org/media/filters/
Dh264_to_annex_b_bitstream_converter.cc72 uint32 input_size, in CalculateNeededOutputBufferSize() argument
75 uint32 data_left = input_size; in CalculateNeededOutputBufferSize()
78 if (input_size == 0) in CalculateNeededOutputBufferSize()
156 const uint8* input, uint32 input_size, in ConvertNalUnitStreamToByteStream() argument
161 uint32 data_left = input_size; in ConvertNalUnitStreamToByteStream()
163 if (input_size == 0 || *output_size == 0) { in ConvertNalUnitStreamToByteStream()
Dh264_to_annex_b_bitstream_converter.h72 uint32 input_size,
125 uint32 input_size,
/external/libvpx/libvpx/test/
Dpp_filter_test.cc48 const int input_size = input_width * input_height; in TEST_P() local
57 reinterpret_cast<uint8_t*>(vpx_calloc(input_size, 1)); in TEST_P()
71 (void)vpx_memset(src_image, 10, input_size); in TEST_P()
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dpp_filter_test.cc48 const int input_size = input_width * input_height; in TEST_P() local
57 reinterpret_cast<uint8_t*>(vpx_calloc(input_size, 1)); in TEST_P()
71 (void)vpx_memset(src_image, 10, input_size); in TEST_P()
/external/chromium_org/ui/gfx/codec/
Djpeg_codec.h67 static bool Decode(const unsigned char* input, size_t input_size,
74 static SkBitmap* Decode(const unsigned char* input, size_t input_size);
Dpng_codec.h113 static bool Decode(const unsigned char* input, size_t input_size,
125 static bool Decode(const unsigned char* input, size_t input_size,
Dpng_codec.cc346 bool BuildPNGStruct(const unsigned char* input, size_t input_size, in BuildPNGStruct() argument
348 if (input_size < 8) in BuildPNGStruct()
392 bool PNGCodec::Decode(const unsigned char* input, size_t input_size, in Decode() argument
397 if (!BuildPNGStruct(input, input_size, &png_ptr, &info_ptr)) in Decode()
416 input_size); in Decode()
431 bool PNGCodec::Decode(const unsigned char* input, size_t input_size, in Decode() argument
436 if (!BuildPNGStruct(input, input_size, &png_ptr, &info_ptr)) in Decode()
454 input_size); in Decode()
Djpeg_codec.cc451 bool JPEGCodec::Decode(const unsigned char* input, size_t input_size, in Decode() argument
486 JpegDecoderState state(input, input_size); in Decode()
606 SkBitmap* JPEGCodec::Decode(const unsigned char* input, size_t input_size) { in Decode() argument
609 if (!Decode(input, input_size, FORMAT_SkBitmap, &data_vector, &w, &h)) in Decode()
/external/chromium_org/base/
Dbase64.cc27 size_t input_size = input.size(); in Base64Decode() local
28 size_t output_size = modp_b64_decode(&(temp[0]), input.data(), input_size); in Base64Decode()
/external/chromium_org/third_party/brotli/src/brotli/enc/
Dencode.h51 void WriteMetaBlock(const size_t input_size,
85 size_t input_size,
Dencode.cc938 void BrotliCompressor::WriteMetaBlock(const size_t input_size, in WriteMetaBlock() argument
946 if (input_size > 0) { in WriteMetaBlock()
947 ringbuffer_.Write(input_buffer, input_size); in WriteMetaBlock()
950 input_size, kMinUTF8Ratio); in WriteMetaBlock()
952 EstimateBitCostsForLiteralsUTF8(input_pos_, input_size, in WriteMetaBlock()
956 EstimateBitCostsForLiterals(input_pos_, input_size, in WriteMetaBlock()
961 input_size, input_pos_, in WriteMetaBlock()
986 if (input_size + 4 < output_size) { in WriteMetaBlock()
989 EncodeMetaBlockLength(input_size, false, true, &storage_ix_, storage_); in WriteMetaBlock()
992 memcpy(encoded_buffer + hdr_size, input_buffer, input_size); in WriteMetaBlock()
[all …]
Dblock_splitter.h71 int input_size,
Dblock_splitter.cc370 int input_size, in SplitBlockByTotalLength() argument
373 int num_blocks = input_size / target_length + 1; in SplitBlockByTotalLength()
374 int length_limit = input_size / num_blocks + 1; in SplitBlockByTotalLength()
/external/chromium_org/tools/imagediff/
Dimage_diff_png.cc295 bool BuildPNGStruct(const unsigned char* input, size_t input_size, in BuildPNGStruct() argument
297 if (input_size < 8) in BuildPNGStruct()
320 bool Decode(const unsigned char* input, size_t input_size, in Decode() argument
325 if (!BuildPNGStruct(input, input_size, &png_ptr, &info_ptr)) in Decode()
343 input_size); in Decode()
614 bool DecodePNG(const unsigned char* input, size_t input_size, in DecodePNG() argument
617 return Decode(input, input_size, FORMAT_RGBA, output, width, height); in DecodePNG()
Dimage_diff_png.h14 bool DecodePNG(const unsigned char* input, size_t input_size,
/external/chromium_org/components/metrics/
Dcompression_utils.cc129 const uLongf input_size = static_cast<uLongf>(input.size()); in GzipCompress() local
131 compressBound(input_size)); in GzipCompress()
137 input_size) != Z_OK) { in GzipCompress()
/external/chromium_org/ui/gfx/image/
Dimage_util.cc20 size_t input_size) { in ImageFrom1xJPEGEncodedData() argument
21 scoped_ptr<SkBitmap> bitmap(gfx::JPEGCodec::Decode(input, input_size)); in ImageFrom1xJPEGEncodedData()
Dimage_util.h23 size_t input_size);
Dimage.h105 size_t input_size);
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c142 shader->input_size = cso->req_input_mem; in evergreen_create_compute_state()
203 if (shader->input_size == 0) { in evergreen_compute_upload_input()
208 unsigned buffer_size = shader->input_size; in evergreen_compute_upload_input()
234 memcpy(kernel_parameters_start, input, shader->input_size); in evergreen_compute_upload_input()
237 (shader->input_size / 4); i++) { in evergreen_compute_upload_input()
249 shader->input_size, 0); in evergreen_compute_upload_input()
Devergreen_compute_internal.h79 unsigned input_size; member
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
Devergreen_compute.c142 shader->input_size = cso->req_input_mem; in evergreen_create_compute_state()
203 if (shader->input_size == 0) { in evergreen_compute_upload_input()
208 unsigned buffer_size = shader->input_size; in evergreen_compute_upload_input()
234 memcpy(kernel_parameters_start, input, shader->input_size); in evergreen_compute_upload_input()
237 (shader->input_size / 4); i++) { in evergreen_compute_upload_input()
249 shader->input_size, 0); in evergreen_compute_upload_input()
/external/qemu/target-arm/
Darm-semi.c427 size_t input_size; in do_arm_semihosting() local
432 input_size = arg1; in do_arm_semihosting()
450 if (output_size > input_size) { in do_arm_semihosting()
/external/chromium_org/net/cert/
Dct_serialization.cc207 size_t input_size = input.size(); in WriteVariableBytes() local
210 if (input_size > max_allowed_input_size) in WriteVariableBytes()

12