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

/external/webp/src/dsp/
H A Drescaler.c28 void WebPRescalerImportRowExpand_C(WebPRescaler* const wrk, argument
30 const int x_stride = wrk->num_channels;
31 const int x_out_max = wrk->dst_width * wrk->num_channels;
33 assert(!WebPRescalerInputDone(wrk));
34 assert(wrk->x_expand);
39 int accum = wrk->x_add;
41 int right = (wrk->src_width > 1) ? src[x_in + x_stride] : left;
44 wrk->frow[x_out] = right * wrk
60 WebPRescalerImportRowShrink_C(WebPRescaler* const wrk, const uint8_t* src) argument
97 WebPRescalerExportRowExpand_C(WebPRescaler* const wrk) argument
128 WebPRescalerExportRowShrink_C(WebPRescaler* const wrk) argument
162 WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* src) argument
171 WebPRescalerExportRow(WebPRescaler* const wrk) argument
[all...]
H A Drescaler_mips32.c24 static void ImportRowShrink_MIPS32(WebPRescaler* const wrk, argument
26 const int x_stride = wrk->num_channels;
27 const int x_out_max = wrk->dst_width * wrk->num_channels;
28 const int fx_scale = wrk->fx_scale;
29 const int x_add = wrk->x_add;
30 const int x_sub = wrk->x_sub;
33 assert(!wrk->x_expand);
34 assert(!WebPRescalerInputDone(wrk));
38 rescaler_t* frow = wrk
84 ImportRowExpand_MIPS32(WebPRescaler* const wrk, const uint8_t* src) argument
149 ExportRowExpand_MIPS32(WebPRescaler* const wrk) argument
212 ExportRowShrink_MIPS32(WebPRescaler* const wrk) argument
[all...]
H A Drescaler_mips_dsp_r2.c27 static void ExportRowShrink_MIPSdspR2(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_MIPSdspR2(WebPRescaler* const wrk) argument
[all...]
H A Drescaler_neon.c59 static void RescalerExportRowExpand_NEON(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_NEON(WebPRescaler* const wrk) argument
[all...]
H A Drescaler_msa.c118 WebPRescaler* const wrk) {
119 const v4u32 scale = (v4u32)__msa_fill_w(wrk->fy_scale);
167 const int v = (int)MULT_FIX(J, wrk->fy_scale);
176 WebPRescaler* const wrk) {
177 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub);
182 const v4u32 scale = (v4u32)__msa_fill_w(wrk->fy_scale);
242 const int v = (int)MULT_FIX(J, wrk->fy_scale);
249 static void RescalerExportRowExpand_MIPSdspR2(WebPRescaler* const wrk) { argument
250 uint8_t* dst = wrk
116 ExportRowExpand_0(const uint32_t* frow, uint8_t* dst, int length, WebPRescaler* const wrk) argument
174 ExportRowExpand_1(const uint32_t* frow, uint32_t* irow, uint8_t* dst, int length, WebPRescaler* const wrk) argument
265 ExportRowShrink_0(const uint32_t* frow, uint32_t* irow, uint8_t* dst, int length, const uint32_t yscale, WebPRescaler* const wrk) argument
352 ExportRowShrink_1(uint32_t* irow, uint8_t* dst, int length, WebPRescaler* const wrk) argument
414 RescalerExportRowShrink_MIPSdspR2(WebPRescaler* const wrk) argument
[all...]
H A Drescaler_sse2.c45 static void RescalerImportRowExpand_SSE2(WebPRescaler* const wrk, argument
47 rescaler_t* frow = wrk->frow;
48 const rescaler_t* const frow_end = frow + wrk->dst_width * wrk->num_channels;
49 const int x_add = wrk->x_add;
53 assert(!WebPRescalerInputDone(wrk));
54 assert(wrk->x_expand);
55 if (wrk->num_channels == 4) {
56 if (wrk->src_width < 2) {
57 WebPRescalerImportRowExpand_C(wrk, sr
113 RescalerImportRowShrink_SSE2(WebPRescaler* const wrk, const uint8_t* src) argument
229 RescalerExportRowExpand_SSE2(WebPRescaler* const wrk) argument
289 RescalerExportRowShrink_SSE2(WebPRescaler* const wrk) argument
[all...]
/external/webp/src/utils/
H A Drescaler_utils.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
110 WebPRescaleNeededLines(const WebPRescaler* const wrk, int max_num_lines) argument
115 WebPRescalerImport(WebPRescaler* const wrk, int num_lines, const uint8_t* src, int src_stride) argument
[all...]
/external/webp/src/dec/
H A Dio_dec.c246 int new_lines, WebPRescaler* const wrk) {
249 const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride);
252 num_lines_out += WebPRescalerExport(wrk); // emit output row(s)
245 Rescale(const uint8_t* src, int src_stride, int new_lines, WebPRescaler* const wrk) argument

Completed in 643 milliseconds