/external/webp/src/dsp/ |
H A D | rescaler.c | 28 void WebPRescalerImportRowExpandC(WebPRescaler* const wrk, const uint8_t* src) { argument 29 const int x_stride = wrk->num_channels; 30 const int x_out_max = wrk->dst_width * wrk->num_channels; 32 assert(!WebPRescalerInputDone(wrk)); 33 assert(wrk->x_expand); 38 int accum = wrk->x_add; 40 int right = (wrk->src_width > 1) ? src[x_in + x_stride] : left; 43 wrk->frow[x_out] = right * wrk 59 WebPRescalerImportRowShrinkC(WebPRescaler* const wrk, const uint8_t* src) argument 95 WebPRescalerExportRowExpandC(WebPRescaler* const wrk) argument 126 WebPRescalerExportRowShrinkC(WebPRescaler* const wrk) argument 160 WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* src) argument 169 WebPRescalerExportRow(WebPRescaler* const wrk) argument [all...] |
H A D | rescaler_mips32.c | 24 static void ImportRowShrink(WebPRescaler* const wrk, const uint8_t* src) { argument 25 const int x_stride = wrk->num_channels; 26 const int x_out_max = wrk->dst_width * wrk->num_channels; 27 const int fx_scale = wrk->fx_scale; 28 const int x_add = wrk->x_add; 29 const int x_sub = wrk->x_sub; 32 assert(!wrk->x_expand); 33 assert(!WebPRescalerInputDone(wrk)); 37 rescaler_t* frow = wrk 83 ImportRowExpand(WebPRescaler* const wrk, const uint8_t* src) argument 147 ExportRowExpand(WebPRescaler* const wrk) argument 210 ExportRowShrink(WebPRescaler* const wrk) argument [all...] |
H A D | rescaler_mips_dsp_r2.c | 27 static void ExportRowShrink(WebPRescaler* const wrk) { argument 29 const int x_out_max = wrk->dst_width * wrk->num_channels; 30 uint8_t* dst = wrk->dst; 31 rescaler_t* irow = wrk->irow; 32 const rescaler_t* frow = wrk->frow; 33 const int yscale = wrk->fy_scale * (-wrk->y_accum); 35 const int temp7 = (int)wrk->fxy_scale; 37 assert(!WebPRescalerOutputDone(wrk)); 165 ExportRowExpand(WebPRescaler* const wrk) argument [all...] |
H A D | rescaler_neon.c | 59 static void RescalerExportRowExpand(WebPRescaler* const wrk) { argument 61 uint8_t* const dst = wrk->dst; 62 rescaler_t* const irow = wrk->irow; 63 const int x_out_max = wrk->dst_width * wrk->num_channels; 65 const rescaler_t* const frow = wrk->frow; 66 const uint32_t fy_scale = wrk->fy_scale; 68 assert(!WebPRescalerOutputDone(wrk)); 69 assert(wrk->y_accum <= 0); 70 assert(wrk 115 RescalerExportRowShrink(WebPRescaler* const wrk) argument [all...] |
H A D | rescaler_sse2.c | 44 static void RescalerImportRowExpandSSE2(WebPRescaler* const wrk, argument 46 rescaler_t* frow = wrk->frow; 47 const rescaler_t* const frow_end = frow + wrk->dst_width * wrk->num_channels; 48 const int x_add = wrk->x_add; 52 assert(!WebPRescalerInputDone(wrk)); 53 assert(wrk->x_expand); 54 if (wrk->num_channels == 4) { 55 if (wrk->src_width < 2) { 56 WebPRescalerImportRowExpandC(wrk, sr 112 RescalerImportRowShrinkSSE2(WebPRescaler* const wrk, const uint8_t* src) argument 228 RescalerExportRowExpandSSE2(WebPRescaler* const wrk) argument 288 RescalerExportRowShrinkSSE2(WebPRescaler* const wrk) argument [all...] |
/external/webp/src/utils/ |
H A D | rescaler.c | 22 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, argument 28 wrk->x_expand = (src_width < dst_width); 29 wrk->y_expand = (src_height < dst_height); 30 wrk->src_width = src_width; 31 wrk->src_height = src_height; 32 wrk->dst_width = dst_width; 33 wrk->dst_height = dst_height; 34 wrk->src_y = 0; 35 wrk->dst_y = 0; 36 wrk 104 WebPRescaleNeededLines(const WebPRescaler* const wrk, int max_num_lines) argument 109 WebPRescalerImport(WebPRescaler* const wrk, int num_lines, const uint8_t* src, int src_stride) argument [all...] |
/external/opencv3/3rdparty/libwebp/utils/ |
H A D | rescaler.c | 27 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, argument 31 wrk->x_expand = (src_width < dst_width); 32 wrk->src_width = src_width; 33 wrk->src_height = src_height; 34 wrk->dst_width = dst_width; 35 wrk->dst_height = dst_height; 36 wrk->dst = dst; 37 wrk->dst_stride = dst_stride; 38 wrk->num_channels = num_channels; 40 wrk 54 WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* const src, int channel) argument 97 WebPRescalerExportRow(WebPRescaler* const wrk) argument 126 WebPRescalerImport(WebPRescaler* const wrk, int num_lines, const uint8_t* src, int src_stride) argument [all...] |
/external/opencv3/3rdparty/libwebp/dec/ |
H A D | io.c | 282 int new_lines, WebPRescaler* const wrk) { 285 const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride); 288 num_lines_out += WebPRescalerExport(wrk); // emit output row(s) 281 Rescale(const uint8_t* src, int src_stride, int new_lines, WebPRescaler* const wrk) argument
|
/external/webp/src/dec/ |
H A D | io.c | 240 int new_lines, WebPRescaler* const wrk) { 243 const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride); 246 num_lines_out += WebPRescalerExport(wrk); // emit output row(s) 239 Rescale(const uint8_t* src, int src_stride, int new_lines, WebPRescaler* const wrk) argument
|