Home
last modified time | relevance | path

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

12

/external/chromium_org/media/filters/
Dh264_to_annex_b_bitstream_converter.cc99 uint32 input_size) const { in CalculateNeededOutputBufferSize()
101 uint32 data_left = input_size; in CalculateNeededOutputBufferSize()
104 if (input == NULL || input_size == 0) { in CalculateNeededOutputBufferSize()
156 uint32 input_size, in ConvertAVCDecoderConfigToByteStream() argument
164 uint32 decoderconfiguration_size = input_size; in ConvertAVCDecoderConfigToByteStream()
234 const uint8* input, uint32 input_size, in ConvertNalUnitStreamToByteStream() argument
238 uint32 data_left = input_size; in ConvertNalUnitStreamToByteStream()
240 if (inscan == NULL || input_size == 0 || in ConvertNalUnitStreamToByteStream()
Dh264_to_annex_b_bitstream_converter.h52 uint32 input_size) const;
80 uint32 input_size,
108 bool ConvertNalUnitStreamToByteStream(const uint8* input, uint32 input_size,
/external/chromium/base/
Dbase64.cc16 int input_size = static_cast<int>(input.size()); in Base64Encode() local
17 int output_size= modp_b64_encode(&(temp[0]), input.data(), input_size); in Base64Encode()
31 int input_size = static_cast<int>(input.size()); in Base64Decode() local
32 int output_size = modp_b64_decode(&(temp[0]), input.data(), input_size); in Base64Decode()
/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/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/sdch/open-vcdiff/src/
Dvcdiff_main.cc401 size_t input_size = 0; in Encode() local
417 input_size += bytes_read; in Encode()
431 if (FLAGS_stats && (input_size > 0)) { in Encode()
432 std::cerr << "Original size: " << input_size in Encode()
434 << ((static_cast<double>(output_size) / input_size) * 100) in Encode()
456 size_t input_size = 0; in Decode() local
472 input_size += bytes_read; in Decode()
497 << "\tCompressed size: " << input_size << " (" in Decode()
498 << ((static_cast<double>(input_size) / output_size) * 100) in Decode()
520 size_t input_size = 0; in DecodeAndCompare() local
[all …]
/external/libvpx/libvpx/test/
Dpp_filter_test.cc50 const int input_size = input_width * input_height; in TEST_P() local
59 reinterpret_cast<uint8_t*>(vpx_calloc(input_size, 1)); in TEST_P()
73 (void)vpx_memset(src_image, 10, input_size); in TEST_P()
/external/chromium/net/base/
Dssl_false_start_blacklist_process.cc142 const long input_size = ftell(input); in main() local
149 char* buffer = static_cast<char*>(malloc(input_size)); in main()
151 while (done < input_size) { in main()
152 size_t n = fread(buffer + done, 1, input_size - done, input); in main()
168 for (long i = 0; i <= input_size; i++) { in main()
169 if (i == input_size || buffer[i] == '\n') { in main()
/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.h102 static bool Decode(const unsigned char* input, size_t input_size,
114 static bool Decode(const unsigned char* input, size_t input_size,
Dpng_codec.cc353 bool BuildPNGStruct(const unsigned char* input, size_t input_size, in BuildPNGStruct() argument
355 if (input_size < 8) in BuildPNGStruct()
399 bool PNGCodec::Decode(const unsigned char* input, size_t input_size, in Decode() argument
404 if (!BuildPNGStruct(input, input_size, &png_ptr, &info_ptr)) in Decode()
423 input_size); in Decode()
438 bool PNGCodec::Decode(const unsigned char* input, size_t input_size, in Decode() argument
443 if (!BuildPNGStruct(input, input_size, &png_ptr, &info_ptr)) in Decode()
461 input_size); in Decode()
Djpeg_codec.cc460 bool JPEGCodec::Decode(const unsigned char* input, size_t input_size, in Decode() argument
495 JpegDecoderState state(input, input_size); in Decode()
615 SkBitmap* JPEGCodec::Decode(const unsigned char* input, size_t input_size) { in Decode() argument
618 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/ui/gfx/image/
Dimage_util.cc18 size_t input_size) { in ImageFrom1xJPEGEncodedData() argument
19 scoped_ptr<SkBitmap> bitmap(gfx::JPEGCodec::Decode(input, input_size)); in ImageFrom1xJPEGEncodedData()
Dimage_util.h22 size_t input_size);
Dimage.h114 size_t input_size);
/external/chromium_org/tools/imagediff/
Dimage_diff_png.cc302 bool BuildPNGStruct(const unsigned char* input, size_t input_size, in BuildPNGStruct() argument
304 if (input_size < 8) in BuildPNGStruct()
327 bool Decode(const unsigned char* input, size_t input_size, in Decode() argument
332 if (!BuildPNGStruct(input, input_size, &png_ptr, &info_ptr)) in Decode()
350 input_size); in Decode()
621 bool DecodePNG(const unsigned char* input, size_t input_size, in DecodePNG() argument
624 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/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()
Devergreen_compute_internal.h79 unsigned input_size; member
/external/chromium_org/chrome/browser/media/
Dwebrtc_log_uploader.h96 void CompressLog(std::string* post_data, uint8* input, uint32 input_size);
Dwebrtc_log_uploader.cc200 uint32 input_size) { in CompressLog() argument
201 PartialCircularBuffer read_pcb(input, input_size); in CompressLog()
/external/chromium_org/net/cert/
Dct_serialization.cc204 size_t input_size = input.size(); in WriteVariableBytes() local
207 if (input_size > max_allowed_input_size) in WriteVariableBytes()

12