Searched defs:wrk (Results 1 - 8 of 8) sorted by relevance
/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_msa.c | 118 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(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(WebPRescaler* const wrk) argument [all...] |
H A D | rescaler_sse2.c | 45 static void RescalerImportRowExpandSSE2(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 WebPRescalerImportRowExpandC(wrk, sr 113 RescalerImportRowShrinkSSE2(WebPRescaler* const wrk, const uint8_t* src) argument 229 RescalerExportRowExpandSSE2(WebPRescaler* const wrk) argument 289 RescalerExportRowShrinkSSE2(WebPRescaler* const wrk) argument [all...] |
/external/webp/src/utils/ |
H A D | rescaler_utils.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 108 WebPRescaleNeededLines(const WebPRescaler* const wrk, int max_num_lines) argument 113 WebPRescalerImport(WebPRescaler* const wrk, int num_lines, const uint8_t* src, int src_stride) argument [all...] |
/external/webp/src/dec/ |
H A D | io_dec.c | 245 int new_lines, WebPRescaler* const wrk) { 248 const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride); 251 num_lines_out += WebPRescalerExport(wrk); // emit output row(s) 244 Rescale(const uint8_t* src, int src_stride, int new_lines, WebPRescaler* const wrk) argument
|
Completed in 5390 milliseconds