Lines Matching refs:dst
32 * mlib_status mlib_ImageCopy(mlib_image *dst,
36 * dst pointer to output or destination image
40 * src and dst must have the same size, type and number of channels.
75 mlib_image *dst);
77 mlib_image *dst);
79 mlib_image *dst);
81 mlib_image *dst);
87 mlib_status mlib_ImageCopy(mlib_image *dst,
92 mlib_s32 width; /* width in bytes of src and dst */
93 mlib_s32 height; /* height in lines of src and dst */
98 MLIB_IMAGE_CHECK(dst);
99 MLIB_IMAGE_TYPE_EQUAL(src, dst);
100 MLIB_IMAGE_CHAN_EQUAL(src, dst);
101 MLIB_IMAGE_SIZE_EQUAL(src, dst);
103 switch (mlib_ImageGetType(dst)) {
105 width = mlib_ImageGetWidth(dst) * mlib_ImageGetChannels(dst); /* size in bits */
108 da = (mlib_u8 *) mlib_ImageGetData(dst);
110 if (!mlib_ImageIsNotOneDvector(src) && !mlib_ImageIsNotOneDvector(dst)) {
112 if (!mlib_ImageIsNotAligned8(src) && !mlib_ImageIsNotAligned8(dst) && ((size & 7) == 0)) {
123 d_stride = mlib_ImageGetStride(dst);
125 d_offset = mlib_ImageGetBitOffset(dst); /* in bits */
144 mlib_c_ImageCopy_u8(src, dst);
148 mlib_c_ImageCopy_s16(src, dst);
152 mlib_c_ImageCopy_s32(src, dst);
155 mlib_c_ImageCopy_d64(src, dst);
167 type *pdst = (type *) mlib_ImageGetData(dst); \
171 mlib_s32 dst_stride = mlib_ImageGetStride(dst) / sizeof(type); \
172 mlib_s32 chan = mlib_ImageGetChannels(dst); \
327 mlib_image *dst)
435 mlib_image *dst)
537 mlib_image *dst)
606 mlib_image *dst)