Searched defs:wrk (Results 1 - 7 of 7) sorted by relevance

/external/webp/src/dsp/
H A Drescaler.c28 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 Drescaler_mips32.c24 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 Drescaler_mips_dsp_r2.c27 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 Drescaler_neon.c59 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 Drescaler_sse2.c44 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 Drescaler.c22 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/webp/src/dec/
H A Dio.c240 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

Completed in 324 milliseconds