Searched refs:rescaler (Results 1 - 11 of 11) sorted by relevance

/external/webp/src/utils/
H A Drescaler.h49 // Initialize a rescaler given scratch area 'work' and dimensions of src & dst.
50 void WebPRescalerInit(WebPRescaler* const rescaler,
67 int WebPRescaleNeededLines(const WebPRescaler* const rescaler,
72 int WebPRescalerImport(WebPRescaler* const rescaler, int num_rows,
76 int WebPRescalerExport(WebPRescaler* const rescaler);
80 int WebPRescalerInputDone(const WebPRescaler* const rescaler) { argument
81 return (rescaler->src_y >= rescaler->src_height);
85 int WebPRescalerOutputDone(const WebPRescaler* const rescaler) { argument
86 return (rescaler
91 WebPRescalerHasPendingOutput(const WebPRescaler* const rescaler) argument
[all...]
H A Drescaler.c18 #include "./rescaler.h"
133 int WebPRescalerExport(WebPRescaler* const rescaler) { argument
135 while (WebPRescalerHasPendingOutput(rescaler)) {
136 WebPRescalerExportRow(rescaler);
/external/opencv3/3rdparty/libwebp/utils/
H A Drescaler.h40 // Initialize a rescaler given scratch area 'work' and dimensions of src & dst.
49 // Import a row of data and save its contribution in the rescaler.
51 void WebPRescalerImportRow(WebPRescaler* const rescaler,
56 int WebPRescalerImport(WebPRescaler* const rescaler, int num_rows,
61 int WebPRescalerHasPendingOutput(const WebPRescaler* const rescaler) { argument
62 return (rescaler->y_accum <= 0);
65 // Export one row from rescaler. Returns the pointer where output was written,
H A Drescaler.c16 #include "./rescaler.h"
141 int WebPRescalerExport(WebPRescaler* const rescaler) { argument
143 while (WebPRescalerHasPendingOutput(rescaler)) {
144 WebPRescalerExportRow(rescaler);
/external/opencv3/3rdparty/libwebp/dec/
H A Dvp8li.h87 WebPRescaler *rescaler; // Common rescaler for all channels. member in struct:__anon15361
H A Dvp8l.c378 const uint64_t memory_size = sizeof(*dec->rescaler) +
389 dec->rescaler = (WebPRescaler*)memory;
390 memory += sizeof(*dec->rescaler);
395 WebPRescalerInit(dec->rescaler, in_width, in_height, (uint8_t*)scaled_data,
405 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, argument
407 const uint32_t* const src = (const uint32_t*)rescaler->dst;
408 const int dst_width = rescaler->dst_width;
410 while (WebPRescalerHasPendingOutput(rescaler)) {
412 WebPRescalerExportRow(rescaler);
430 num_lines_in += WebPRescalerImport(dec->rescaler, mb_
519 WebPRescaler* const rescaler = dec->rescaler; local
[all...]
/external/webp/src/dec/
H A Dvp8li.h90 WebPRescaler *rescaler; // Common rescaler for all channels. member in struct:VP8LDecoder
H A Dvp8l.c497 const uint64_t memory_size = sizeof(*dec->rescaler) +
508 dec->rescaler = (WebPRescaler*)memory;
509 memory += sizeof(*dec->rescaler);
514 WebPRescalerInit(dec->rescaler, in_width, in_height, (uint8_t*)scaled_data,
523 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, argument
525 uint32_t* const src = (uint32_t*)rescaler->dst;
526 const int dst_width = rescaler->dst_width;
528 while (WebPRescalerHasPendingOutput(rescaler)) {
530 WebPRescalerExportRow(rescaler);
549 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_lef
605 WebPRescaler* const rescaler = dec->rescaler; local
[all...]
/external/webp/src/
H A DAndroid.mk76 utils/rescaler.c \
128 dsp/rescaler.c \
147 utils/rescaler.c \
/external/webp/src/enc/
H A Dpicture_rescale.c18 #include "../utils/rescaler.h"
161 // Simple picture rescaler
169 WebPRescaler rescaler; local
171 WebPRescalerInit(&rescaler, src_width, src_height,
175 y += WebPRescalerImport(&rescaler, src_height - y,
177 WebPRescalerExport(&rescaler);
/external/opencv3/3rdparty/libwebp/enc/
H A Dpicture.c19 #include "../utils/rescaler.h"
374 // Simple picture rescaler
382 WebPRescaler rescaler; local
384 WebPRescalerInit(&rescaler, src_width, src_height,
392 y += WebPRescalerImport(&rescaler, src_height - y,
394 WebPRescalerExport(&rescaler);

Completed in 615 milliseconds