Lines Matching refs:dst

34  *      mlib_status mlib_ImageConvClearEdge(mlib_image     *dst,
43 * dst Pointer to an image.
58 * dst can have 1, 2, 3 or 4 channels of MLIB_BYTE or MLIB_SHORT or MLIB_INT
64 * If src and dst have just one channel,
73 static void mlib_ImageConvClearEdge_U8_1(mlib_image *dst,
80 static void mlib_ImageConvClearEdge_U8_2(mlib_image *dst,
88 static void mlib_ImageConvClearEdge_U8_3(mlib_image *dst,
96 static void mlib_ImageConvClearEdge_U8_4(mlib_image *dst,
104 static void mlib_ImageConvClearEdge_S16_1(mlib_image *dst,
111 static void mlib_ImageConvClearEdge_S16_2(mlib_image *dst,
119 static void mlib_ImageConvClearEdge_S16_3(mlib_image *dst,
127 static void mlib_ImageConvClearEdge_S16_4(mlib_image *dst,
135 static void mlib_ImageConvClearEdge_S32_1(mlib_image *dst,
142 static void mlib_ImageConvClearEdge_S32_2(mlib_image *dst,
150 static void mlib_ImageConvClearEdge_S32_3(mlib_image *dst,
158 static void mlib_ImageConvClearEdge_S32_4(mlib_image *dst,
168 type *pdst = (type *) mlib_ImageGetData(dst); \
171 mlib_s32 dst_height = mlib_ImageGetHeight(dst); \
172 mlib_s32 dst_width = mlib_ImageGetWidth(dst); \
173 mlib_s32 dst_stride = mlib_ImageGetStride(dst) / sizeof(type); \
237 mlib_status mlib_ImageConvClearEdge(mlib_image *dst,
245 mlib_s32 dst_width = mlib_ImageGetWidth(dst);
246 mlib_s32 dst_height = mlib_ImageGetHeight(dst);
258 switch (mlib_ImageGetType(dst)) {
260 return mlib_ImageConvClearEdge_Bit(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
263 switch (mlib_ImageGetChannels(dst)) {
266 mlib_ImageConvClearEdge_U8_1(dst, dx_l, dx_r, dy_t, dy_b, color);
270 mlib_ImageConvClearEdge_U8_2(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
274 mlib_ImageConvClearEdge_U8_3(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
278 mlib_ImageConvClearEdge_U8_4(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
289 switch (mlib_ImageGetChannels(dst)) {
292 mlib_ImageConvClearEdge_S16_1(dst, dx_l, dx_r, dy_t, dy_b, color);
296 mlib_ImageConvClearEdge_S16_2(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
300 mlib_ImageConvClearEdge_S16_3(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
304 mlib_ImageConvClearEdge_S16_4(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
314 switch (mlib_ImageGetChannels(dst)) {
317 mlib_ImageConvClearEdge_S32_1(dst, dx_l, dx_r, dy_t, dy_b, color);
321 mlib_ImageConvClearEdge_S32_2(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
325 mlib_ImageConvClearEdge_S32_3(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
329 mlib_ImageConvClearEdge_S32_4(dst, dx_l, dx_r, dy_t, dy_b, color, cmask);
346 mlib_status mlib_ImageConvZeroEdge(mlib_image *dst,
354 mlib_type type = mlib_ImageGetType(dst);
357 return mlib_ImageConvClearEdge_Fp(dst, dx_l, dx_r, dy_t, dy_b, zero, cmask);
360 return mlib_ImageConvClearEdge(dst, dx_l, dx_r, dy_t, dy_b, (mlib_s32 *) zero, cmask);
365 void mlib_ImageConvClearEdge_U8_1(mlib_image *dst,
411 void mlib_ImageConvClearEdge_U8_2(mlib_image *dst,
469 void mlib_ImageConvClearEdge_U8_3(mlib_image *dst,
584 void mlib_ImageConvClearEdge_U8_4(mlib_image *dst,
643 void mlib_ImageConvClearEdge_S16_1(mlib_image *dst,
688 void mlib_ImageConvClearEdge_S16_2(mlib_image *dst,
744 void mlib_ImageConvClearEdge_S16_3(mlib_image *dst,
858 void mlib_ImageConvClearEdge_S16_4(mlib_image *dst,
917 void mlib_ImageConvClearEdge_S32_1(mlib_image *dst,
961 void mlib_ImageConvClearEdge_S32_2(mlib_image *dst,
1015 void mlib_ImageConvClearEdge_S32_3(mlib_image *dst,
1124 void mlib_ImageConvClearEdge_S32_4(mlib_image *dst,