Home
last modified time | relevance | path

Searched refs:x_sub (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Drescaler_mips32.c30 const int x_sub = wrk->x_sub; in ImportRowShrink_MIPS32() local
76 [x_sub]"r"(x_sub), [x_add]"r"(x_add), in ImportRowShrink_MIPS32()
89 const int x_sub = wrk->x_sub; in ImportRowExpand_MIPS32() local
137 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand_MIPS32()
142 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in ImportRowExpand_MIPS32()
A Drescaler.c48 accum -= wrk->x_sub; in WebPRescalerImportRowExpand_C()
57 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpand_C()
77 accum -= wrk->x_sub; in WebPRescalerImportRowShrink_C()
85 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrink_C()
A Drescaler_sse2.c71 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
91 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
114 const int x_sub = wrk->x_sub; in RescalerImportRowShrink_SSE2() local
117 const __m128i mult0 = _mm_set1_epi16(x_sub); in RescalerImportRowShrink_SSE2()
124 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { in RescalerImportRowShrink_SSE2()
141 accum -= x_sub; in RescalerImportRowShrink_SSE2()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Drescaler_utils.c26 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit() local
41 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add; in WebPRescalerInit()
42 wrk->x_sub = wrk->x_expand ? (x_add - 1) : x_sub; in WebPRescalerInit()
44 wrk->fx_scale = WEBP_RESCALER_FRAC(1, wrk->x_sub); in WebPRescalerInit()
A Drescaler_utils.h40 int x_add, x_sub; // horizontal increments member

Completed in 7 milliseconds