Home
last modified time | relevance | path

Searched refs:wrk (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Drescaler.c29 void WebPRescalerImportRowExpand_C(WebPRescaler* const wrk, in WebPRescalerImportRowExpand_C() argument
31 const int x_stride = wrk->num_channels; in WebPRescalerImportRowExpand_C()
32 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowExpand_C()
34 assert(!WebPRescalerInputDone(wrk)); in WebPRescalerImportRowExpand_C()
35 assert(wrk->x_expand); in WebPRescalerImportRowExpand_C()
40 int accum = wrk->x_add; in WebPRescalerImportRowExpand_C()
43 (wrk->src_width > 1) ? (rescaler_t)src[x_in + x_stride] : left; in WebPRescalerImportRowExpand_C()
46 wrk->frow[x_out] = right * wrk in WebPRescalerImportRowExpand_C()
62 WebPRescalerImportRowShrink_C(WebPRescaler* const wrk, const uint8_t* src) WebPRescalerImportRowShrink_C() argument
99 WebPRescalerExportRowExpand_C(WebPRescaler* const wrk) WebPRescalerExportRowExpand_C() argument
128 WebPRescalerExportRowShrink_C(WebPRescaler* const wrk) WebPRescalerExportRowShrink_C() argument
161 WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* src) WebPRescalerImportRow() argument
170 WebPRescalerExportRow(WebPRescaler* const wrk) WebPRescalerExportRow() argument
[all...]
H A Drescaler_mips32.c24 static void ImportRowShrink_MIPS32(WebPRescaler* const wrk, in ImportRowShrink_MIPS32() argument
26 const int x_stride = wrk->num_channels; in ImportRowShrink_MIPS32()
27 const int x_out_max = wrk->dst_width * wrk->num_channels; in ImportRowShrink_MIPS32()
28 const int fx_scale = wrk->fx_scale; in ImportRowShrink_MIPS32()
29 const int x_add = wrk->x_add; in ImportRowShrink_MIPS32()
30 const int x_sub = wrk->x_sub; in ImportRowShrink_MIPS32()
33 assert(!wrk->x_expand); in ImportRowShrink_MIPS32()
34 assert(!WebPRescalerInputDone(wrk)); in ImportRowShrink_MIPS32()
38 rescaler_t* frow = wrk in ImportRowShrink_MIPS32()
84 ImportRowExpand_MIPS32(WebPRescaler* const wrk, const uint8_t* src) ImportRowExpand_MIPS32() argument
149 ExportRowExpand_MIPS32(WebPRescaler* const wrk) ExportRowExpand_MIPS32() argument
[all...]
H A Drescaler_mips_dsp_r2.c29 static void ExportRowShrink_MIPSdspR2(WebPRescaler* const wrk) {
31 const int x_out_max = wrk->dst_width * wrk->num_channels;
32 uint8_t* dst = wrk->dst;
33 rescaler_t* irow = wrk->irow;
34 const rescaler_t* frow = wrk->frow;
35 const int yscale = wrk->fy_scale * (-wrk->y_accum);
37 const int temp7 = (int)wrk->fxy_scale;
39 assert(!WebPRescalerOutputDone(wrk));
166 ExportRowExpand_MIPSdspR2(WebPRescaler* const wrk) ExportRowExpand_MIPSdspR2() argument
[all...]
H A Drescaler_sse2.c46 static void RescalerImportRowExpand_SSE2(WebPRescaler* const wrk, in RescalerImportRowExpand_SSE2() argument
48 rescaler_t* frow = wrk->frow; in RescalerImportRowExpand_SSE2()
49 const rescaler_t* const frow_end = frow + wrk->dst_width * wrk->num_channels; in RescalerImportRowExpand_SSE2()
50 const int x_add = wrk->x_add; in RescalerImportRowExpand_SSE2()
55 if (wrk->src_width < 8 || accum >= (1 << 15)) { in RescalerImportRowExpand_SSE2()
56 WebPRescalerImportRowExpand_C(wrk, src); in RescalerImportRowExpand_SSE2()
60 assert(!WebPRescalerInputDone(wrk)); in RescalerImportRowExpand_SSE2()
61 assert(wrk->x_expand); in RescalerImportRowExpand_SSE2()
62 if (wrk in RescalerImportRowExpand_SSE2()
112 RescalerImportRowShrink_SSE2(WebPRescaler* const wrk, const uint8_t* src) RescalerImportRowShrink_SSE2() argument
228 RescalerExportRowExpand_SSE2(WebPRescaler* const wrk) RescalerExportRowExpand_SSE2() argument
286 RescalerExportRowShrink_SSE2(WebPRescaler* const wrk) RescalerExportRowShrink_SSE2() argument
[all...]
H A Drescaler_neon.c63 static void RescalerExportRowExpand_NEON(WebPRescaler* const wrk) { in RescalerExportRowExpand_NEON() argument
65 uint8_t* const dst = wrk->dst; in RescalerExportRowExpand_NEON()
66 rescaler_t* const irow = wrk->irow; in RescalerExportRowExpand_NEON()
67 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowExpand_NEON()
69 const rescaler_t* const frow = wrk->frow; in RescalerExportRowExpand_NEON()
70 const uint32_t fy_scale = wrk->fy_scale; in RescalerExportRowExpand_NEON()
72 assert(!WebPRescalerOutputDone(wrk)); in RescalerExportRowExpand_NEON()
73 assert(wrk->y_accum <= 0); in RescalerExportRowExpand_NEON()
74 assert(wrk in RescalerExportRowExpand_NEON()
117 RescalerExportRowShrink_NEON(WebPRescaler* const wrk) RescalerExportRowShrink_NEON() argument
[all...]
H A Drescaler_msa.c119 WebPRescaler* const wrk) { in ExportRowExpand_0()
120 const v4u32 scale = (v4u32)__msa_fill_w(wrk->fy_scale); in ExportRowExpand_0()
168 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_0()
176 WebPRescaler* const wrk) { in ExportRowExpand_1()
177 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub); in ExportRowExpand_1()
182 const v4u32 scale = (v4u32)__msa_fill_w(wrk->fy_scale); in ExportRowExpand_1()
242 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_1()
248 static void RescalerExportRowExpand_MIPSdspR2(WebPRescaler* const wrk) { in RescalerExportRowExpand_MIPSdspR2() argument
249 uint8_t* dst = wrk in RescalerExportRowExpand_MIPSdspR2()
117 ExportRowExpand_0(const uint32_t* frow, uint8_t* dst, int length, WebPRescaler* const wrk) ExportRowExpand_0() argument
174 ExportRowExpand_1(const uint32_t* frow, uint32_t* irow, uint8_t* dst, int length, WebPRescaler* const wrk) ExportRowExpand_1() argument
[all...]
H A Ddsp.h567 // the wrk->x_expand case. Otherwise, 'Shrink' is to be used.
568 typedef void (*WebPRescalerImportRowFunc)(struct WebPRescaler* const wrk,
575 // 'Expand' corresponds to the wrk->y_expand case.
577 typedef void (*WebPRescalerExportRowFunc)(struct WebPRescaler* const wrk);
582 extern void WebPRescalerImportRowExpand_C(struct WebPRescaler* const wrk,
584 extern void WebPRescalerImportRowShrink_C(struct WebPRescaler* const wrk,
586 extern void WebPRescalerExportRowExpand_C(struct WebPRescaler* const wrk);
587 extern void WebPRescalerExportRowShrink_C(struct WebPRescaler* const wrk);
590 extern void WebPRescalerImportRow(struct WebPRescaler* const wrk,
593 extern void WebPRescalerExportRow(struct WebPRescaler* const wrk);
[all...]
/third_party/lame/libmp3lame/
H A Dvbrquantize.c1157 int wrk[SFBMAX]; in outOfBitsStrategy() local
1169 int const sfmax = flattenDistribution(sfwork, wrk, dm, bi, p); in outOfBitsStrategy()
1170 nbits = tryThatOne(that, wrk, vbrsfmin, sfmax); in outOfBitsStrategy()
1187 int const sfmax = flattenDistribution(sfwork, wrk, dm, bi_ok, p); in outOfBitsStrategy()
1188 nbits = tryThatOne(that, wrk, vbrsfmin, sfmax); in outOfBitsStrategy()
1201 int const sfmax = flattenDistribution(sfwork, wrk, dm, dm, bi); in outOfBitsStrategy()
1202 nbits = tryThatOne(that, wrk, vbrsfmin, sfmax); in outOfBitsStrategy()
1219 int const sfmax = flattenDistribution(sfwork, wrk, dm, dm, bi_ok); in outOfBitsStrategy()
1220 nbits = tryThatOne(that, wrk, vbrsfmin, sfmax); in outOfBitsStrategy()
1227 searchGlobalStepsizeMax(that, wrk, vbrsfmi in outOfBitsStrategy()
[all...]
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dio_dec.c241 int new_lines, WebPRescaler* const wrk) { in Rescale()
244 const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride); in Rescale()
247 num_lines_out += WebPRescalerExport(wrk); // emit output row(s) in Rescale()
240 Rescale(const uint8_t* src, int src_stride, int new_lines, WebPRescaler* const wrk) Rescale() argument

Completed in 8 milliseconds