Home
last modified time | relevance | path

Searched refs:wrk (Results 1 – 14 of 14) sorted by relevance

/external/webp/src/utils/
Drescaler.c22 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, in WebPRescalerInit() argument
28 wrk->x_expand = (src_width < dst_width); in WebPRescalerInit()
29 wrk->y_expand = (src_height < dst_height); in WebPRescalerInit()
30 wrk->src_width = src_width; in WebPRescalerInit()
31 wrk->src_height = src_height; in WebPRescalerInit()
32 wrk->dst_width = dst_width; in WebPRescalerInit()
33 wrk->dst_height = dst_height; in WebPRescalerInit()
34 wrk->src_y = 0; in WebPRescalerInit()
35 wrk->dst_y = 0; in WebPRescalerInit()
36 wrk->dst = dst; in WebPRescalerInit()
[all …]
/external/webp/src/dsp/
Drescaler.c28 void WebPRescalerImportRowExpandC(WebPRescaler* const wrk, const uint8_t* src) { in WebPRescalerImportRowExpandC() argument
29 const int x_stride = wrk->num_channels; in WebPRescalerImportRowExpandC()
30 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowExpandC()
32 assert(!WebPRescalerInputDone(wrk)); in WebPRescalerImportRowExpandC()
33 assert(wrk->x_expand); in WebPRescalerImportRowExpandC()
38 int accum = wrk->x_add; in WebPRescalerImportRowExpandC()
40 int right = (wrk->src_width > 1) ? src[x_in + x_stride] : left; in WebPRescalerImportRowExpandC()
43 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpandC()
46 accum -= wrk->x_sub; in WebPRescalerImportRowExpandC()
50 assert(x_in < wrk->src_width * x_stride); in WebPRescalerImportRowExpandC()
[all …]
Drescaler_mips32.c24 static void ImportRowShrink(WebPRescaler* const wrk, const uint8_t* src) { in ImportRowShrink() argument
25 const int x_stride = wrk->num_channels; in ImportRowShrink()
26 const int x_out_max = wrk->dst_width * wrk->num_channels; in ImportRowShrink()
27 const int fx_scale = wrk->fx_scale; in ImportRowShrink()
28 const int x_add = wrk->x_add; in ImportRowShrink()
29 const int x_sub = wrk->x_sub; in ImportRowShrink()
32 assert(!wrk->x_expand); in ImportRowShrink()
33 assert(!WebPRescalerInputDone(wrk)); in ImportRowShrink()
37 rescaler_t* frow = wrk->frow + channel; in ImportRowShrink()
83 static void ImportRowExpand(WebPRescaler* const wrk, const uint8_t* src) { in ImportRowExpand() argument
[all …]
Drescaler_mips_dsp_r2.c27 static void ExportRowShrink(WebPRescaler* const wrk) { in ExportRowShrink() argument
29 const int x_out_max = wrk->dst_width * wrk->num_channels; in ExportRowShrink()
30 uint8_t* dst = wrk->dst; in ExportRowShrink()
31 rescaler_t* irow = wrk->irow; in ExportRowShrink()
32 const rescaler_t* frow = wrk->frow; in ExportRowShrink()
33 const int yscale = wrk->fy_scale * (-wrk->y_accum); in ExportRowShrink()
35 const int temp7 = (int)wrk->fxy_scale; in ExportRowShrink()
37 assert(!WebPRescalerOutputDone(wrk)); in ExportRowShrink()
38 assert(wrk->y_accum <= 0); in ExportRowShrink()
39 assert(!wrk->y_expand); in ExportRowShrink()
[all …]
Drescaler_sse2.c44 static void RescalerImportRowExpandSSE2(WebPRescaler* const wrk, in RescalerImportRowExpandSSE2() argument
46 rescaler_t* frow = wrk->frow; in RescalerImportRowExpandSSE2()
47 const rescaler_t* const frow_end = frow + wrk->dst_width * wrk->num_channels; in RescalerImportRowExpandSSE2()
48 const int x_add = wrk->x_add; in RescalerImportRowExpandSSE2()
52 assert(!WebPRescalerInputDone(wrk)); in RescalerImportRowExpandSSE2()
53 assert(wrk->x_expand); in RescalerImportRowExpandSSE2()
54 if (wrk->num_channels == 4) { in RescalerImportRowExpandSSE2()
55 if (wrk->src_width < 2) { in RescalerImportRowExpandSSE2()
56 WebPRescalerImportRowExpandC(wrk, src); in RescalerImportRowExpandSSE2()
67 accum -= wrk->x_sub; in RescalerImportRowExpandSSE2()
[all …]
Drescaler_neon.c59 static void RescalerExportRowExpand(WebPRescaler* const wrk) { in RescalerExportRowExpand() argument
61 uint8_t* const dst = wrk->dst; in RescalerExportRowExpand()
62 rescaler_t* const irow = wrk->irow; in RescalerExportRowExpand()
63 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowExpand()
65 const rescaler_t* const frow = wrk->frow; in RescalerExportRowExpand()
66 const uint32_t fy_scale = wrk->fy_scale; in RescalerExportRowExpand()
68 assert(!WebPRescalerOutputDone(wrk)); in RescalerExportRowExpand()
69 assert(wrk->y_accum <= 0); in RescalerExportRowExpand()
70 assert(wrk->y_expand); in RescalerExportRowExpand()
71 assert(wrk->y_sub != 0); in RescalerExportRowExpand()
[all …]
Ddsp.h360 typedef void (*WebPRescalerImportRowFunc)(struct WebPRescaler* const wrk,
369 typedef void (*WebPRescalerExportRowFunc)(struct WebPRescaler* const wrk);
374 extern void WebPRescalerImportRowExpandC(struct WebPRescaler* const wrk,
376 extern void WebPRescalerImportRowShrinkC(struct WebPRescaler* const wrk,
378 extern void WebPRescalerExportRowExpandC(struct WebPRescaler* const wrk);
379 extern void WebPRescalerExportRowShrinkC(struct WebPRescaler* const wrk);
382 extern void WebPRescalerImportRow(struct WebPRescaler* const wrk,
385 extern void WebPRescalerExportRow(struct WebPRescaler* const wrk);
/external/opencv3/3rdparty/libwebp/utils/
Drescaler.c27 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, in WebPRescalerInit() argument
31 wrk->x_expand = (src_width < dst_width); in WebPRescalerInit()
32 wrk->src_width = src_width; in WebPRescalerInit()
33 wrk->src_height = src_height; in WebPRescalerInit()
34 wrk->dst_width = dst_width; in WebPRescalerInit()
35 wrk->dst_height = dst_height; in WebPRescalerInit()
36 wrk->dst = dst; in WebPRescalerInit()
37 wrk->dst_stride = dst_stride; in WebPRescalerInit()
38 wrk->num_channels = num_channels; in WebPRescalerInit()
40 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add - x_sub; in WebPRescalerInit()
[all …]
Drescaler.h41 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height,
67 uint8_t* WebPRescalerExportRow(WebPRescaler* const wrk);
70 int WebPRescalerExport(WebPRescaler* const wrk);
/external/ceres-solver/examples/
DMakefile.example36 CERES_SRC_DIR := /home/keir/wrk/ceres-extra
40 CERES_BIN_DIR := /home/keir/wrk/ceres-extra-bin
/external/curl/packages/vms/
Dcompare_curl_source.com120 $ wrk = "VMS_ROOT:" + odelim + wrk_base_dir
134 $ wrk = "src_root1:[" + wrk_base_dir
150 $ wrk = "vms_root1:[" + wrk_base_dir
216 $ wrk_path = wrk + rel_path
313 $ ref_spec = f$search("''wrk'...]*.*;")
/external/webp/src/dec/
Dio.c240 int new_lines, WebPRescaler* const wrk) { in Rescale() argument
243 const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride); in Rescale()
246 num_lines_out += WebPRescalerExport(wrk); // emit output row(s) in Rescale()
/external/opencv3/3rdparty/libwebp/dec/
Dio.c282 int new_lines, WebPRescaler* const wrk) { in Rescale() argument
285 const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride); in Rescale()
288 num_lines_out += WebPRescalerExport(wrk); // emit output row(s) in Rescale()
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt6619 "wrk~p",