Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 64) sorted by relevance

123

/hardware/samsung_slsi/exynos5/libcamera2/
DMetadataConverter.cpp83 struct camera2_shot * dst = NULL; in ToInternalShot() local
89 dst = &dst_ext->shot; in ToInternalShot()
91 dst->magicNumber = 0x23456789; in ToInternalShot()
92 dst->ctl.aa.aeTargetFpsRange[0] = 15; in ToInternalShot()
93 dst->ctl.aa.aeTargetFpsRange[1] = 30; in ToInternalShot()
94 dst->ctl.aa.aeExpCompensation = 5; in ToInternalShot()
105 dst->ctl.lens.focusDistance = curr_entry.data.f[0]; in ToInternalShot()
111 dst->ctl.lens.aperture = curr_entry.data.f[0]; in ToInternalShot()
117 dst->ctl.lens.focalLength = curr_entry.data.f[0]; in ToInternalShot()
123 dst->ctl.lens.filterDensity = curr_entry.data.f[0]; in ToInternalShot()
[all …]
/hardware/qcom/display/msm8x26/libcopybit/
Dcopybit.cpp157 const struct copybit_rect_t *dst, in set_rects() argument
163 intersect(&clip, scissor, dst); in set_rects()
172 delta_x = (clip.t - dst->t); in set_rects()
173 delta_y = (dst->r - clip.r); in set_rects()
176 W = dst->b - dst->t; in set_rects()
177 H = dst->r - dst->l; in set_rects()
179 delta_x = (clip.l - dst->l); in set_rects()
180 delta_y = (clip.t - dst->t); in set_rects()
183 W = dst->r - dst->l; in set_rects()
184 H = dst->b - dst->t; in set_rects()
[all …]
Dcopybit_c2d.cpp149 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member
626 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit()
628 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit()
634 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit()
654 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit()
656 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit()
687 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit()
696 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit()
705 const struct copybit_rect_t *dst, in set_rects() argument
713 c2dObject->target_rect.x = (dst->t)<<16; in set_rects()
[all …]
Dsoftware_converter.cpp150 unsigned char *dst = (unsigned char*)dst_base; in copy_source_to_destination() local
154 memcpy(dst, src, width); in copy_source_to_destination()
156 dst += info.dst_stride; in copy_source_to_destination()
161 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination()
165 memcpy(dst, src, info.src_stride); in copy_source_to_destination()
167 dst += info.dst_stride; in copy_source_to_destination()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp157 const struct copybit_rect_t *dst, in set_rects() argument
163 intersect(&clip, scissor, dst); in set_rects()
172 delta_x = (clip.t - dst->t); in set_rects()
173 delta_y = (dst->r - clip.r); in set_rects()
176 W = dst->b - dst->t; in set_rects()
177 H = dst->r - dst->l; in set_rects()
179 delta_x = (clip.l - dst->l); in set_rects()
180 delta_y = (clip.t - dst->t); in set_rects()
183 W = dst->r - dst->l; in set_rects()
184 H = dst->b - dst->t; in set_rects()
[all …]
Dcopybit_c2d.cpp149 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member
626 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit()
628 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit()
634 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit()
654 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit()
656 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit()
687 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit()
696 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit()
705 const struct copybit_rect_t *dst, in set_rects() argument
713 c2dObject->target_rect.x = (dst->t)<<16; in set_rects()
[all …]
Dsoftware_converter.cpp150 unsigned char *dst = (unsigned char*)dst_base; in copy_source_to_destination() local
154 memcpy(dst, src, width); in copy_source_to_destination()
156 dst += info.dst_stride; in copy_source_to_destination()
161 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination()
165 memcpy(dst, src, info.src_stride); in copy_source_to_destination()
167 dst += info.dst_stride; in copy_source_to_destination()
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit.cpp160 const struct copybit_rect_t *dst, in set_rects() argument
166 intersect(&clip, scissor, dst); in set_rects()
175 delta_x = (clip.t - dst->t); in set_rects()
176 delta_y = (dst->r - clip.r); in set_rects()
179 W = dst->b - dst->t; in set_rects()
180 H = dst->r - dst->l; in set_rects()
182 delta_x = (clip.l - dst->l); in set_rects()
183 delta_y = (clip.t - dst->t); in set_rects()
186 W = dst->r - dst->l; in set_rects()
187 H = dst->b - dst->t; in set_rects()
[all …]
Dcopybit_c2d.cpp149 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member
637 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit()
639 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit()
645 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit()
665 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit()
667 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit()
702 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit()
714 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit()
724 const struct copybit_rect_t *dst, in set_rects() argument
732 c2dObject->target_rect.x = (dst->t)<<16; in set_rects()
[all …]
Dsoftware_converter.cpp150 unsigned char *dst = (unsigned char*)dst_base; in copy_source_to_destination() local
154 memcpy(dst, src, width); in copy_source_to_destination()
156 dst += info.dst_stride; in copy_source_to_destination()
161 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination()
165 memcpy(dst, src, info.src_stride); in copy_source_to_destination()
167 dst += info.dst_stride; in copy_source_to_destination()
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp103 static void nv21_to_yuv(uint8_t* dst, uint8_t* y, uint8_t* uv, int width) { in nv21_to_yuv() argument
104 if (!dst || !y || !uv) { in nv21_to_yuv()
112 dst[0] = y0; in nv21_to_yuv()
113 dst[1] = u0; in nv21_to_yuv()
114 dst[2] = v0; in nv21_to_yuv()
115 dst += 3; in nv21_to_yuv()
121 static void uyvy_to_yuv(uint8_t* dst, uint32_t* src, int width) { in uyvy_to_yuv() argument
122 if (!dst || !src) { in uyvy_to_yuv()
137 dst[0] = y0; in uyvy_to_yuv()
138 dst[1] = u0; in uyvy_to_yuv()
[all …]
/hardware/samsung_slsi/exynos5/librotator/
Dexynos_rotator.c86 struct rotator_info dst; member
371 if (rotator_handle->dst.stream_on == true) { in m_exynos_rotator_destroy()
372 if (exynos_v4l2_streamoff(rotator_handle->rotator_fd, rotator_handle->dst.buf_type) < 0) in m_exynos_rotator_destroy()
375 rotator_handle->dst.stream_on = false; in m_exynos_rotator_destroy()
598 memset(&rotator_handle->dst, 0, sizeof(struct rotator_info)); in exynos_rotator_create()
601 rotator_handle->dst.buf_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in exynos_rotator_create()
742 rotator_handle->dst.width = width; in exynos_rotator_set_dst_format()
743 rotator_handle->dst.height = height; in exynos_rotator_set_dst_format()
744 rotator_handle->dst.crop_left = crop_left; in exynos_rotator_set_dst_format()
745 rotator_handle->dst.crop_top = crop_top; in exynos_rotator_set_dst_format()
[all …]
/hardware/qcom/display/msm8x26/liboverlay/
DoverlayMdpRot.cpp39 return mRotDataInfo.dst.memory_id; in getDstMemId()
43 return mRotDataInfo.dst.offset; in getDstOffset()
47 return mRotImgInfo.dst.format; in getDstFormat()
93 mRotImgInfo.dst.width = whf.w; in setSource()
94 mRotImgInfo.dst.height = whf.h; in setSource()
115 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
135 ovutils::Whf destWhf(mRotImgInfo.dst.width, in calcOutputBufSize()
136 mRotImgInfo.dst.height, mRotImgInfo.dst.format); in calcOutputBufSize()
155 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
156 mRotDataInfo.dst.offset = 0; in open_i()
[all …]
/hardware/qcom/display/msm8974/liboverlay/
DoverlayMdpRot.cpp39 return mRotDataInfo.dst.memory_id; in getDstMemId()
43 return mRotDataInfo.dst.offset; in getDstOffset()
47 return mRotImgInfo.dst.format; in getDstFormat()
93 mRotImgInfo.dst.width = whf.w; in setSource()
94 mRotImgInfo.dst.height = whf.h; in setSource()
117 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
137 ovutils::Whf destWhf(mRotImgInfo.dst.width, in calcOutputBufSize()
138 mRotImgInfo.dst.height, mRotImgInfo.dst.format); in calcOutputBufSize()
157 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
158 mRotDataInfo.dst.offset = 0; in open_i()
[all …]
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMdpRot.cpp39 return mRotDataInfo.dst.memory_id; in getDstMemId()
43 return mRotDataInfo.dst.offset; in getDstOffset()
47 return mRotImgInfo.dst.format; in getDstFormat()
93 mRotImgInfo.dst.width = whf.w; in setSource()
94 mRotImgInfo.dst.height = whf.h; in setSource()
120 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
144 mRotImgInfo.dst.format); in calcOutputBufSize()
163 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
164 mRotDataInfo.dst.offset = 0; in open_i()
232 mRotDataInfo.dst.offset = in queueBuffer()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp505 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() argument
515 int& dst_l = dst.left; in calculate_crop_rects()
516 int& dst_t = dst.top; in calculate_crop_rects()
517 int& dst_r = dst.right; in calculate_crop_rects()
518 int& dst_b = dst.bottom; in calculate_crop_rects()
519 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
520 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
739 hwc_rect_t& crop, hwc_rect_t& dst) { in trimLayer() argument
742 if(dst.left < 0 || dst.top < 0 || in trimLayer()
743 dst.right > hw_w || dst.bottom > hw_h) { in trimLayer()
[all …]
/hardware/samsung_slsi/exynos5/libgscaler/
Dexynos_gscaler.c722 memset(&gsc_handle->dst, 0, sizeof(struct gsc_info)); in exynos_gsc_create()
725 gsc_handle->dst.buf_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in exynos_gsc_create()
904 gsc_handle->dst.buf_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in exynos_gsc_create_exclusive()
1106 gsc_handle->dst.width = width; in exynos_gsc_set_dst_format()
1107 gsc_handle->dst.height = height; in exynos_gsc_set_dst_format()
1108 gsc_handle->dst.crop_left = crop_left; in exynos_gsc_set_dst_format()
1109 gsc_handle->dst.crop_top = crop_top; in exynos_gsc_set_dst_format()
1110 gsc_handle->dst.crop_width = crop_width; in exynos_gsc_set_dst_format()
1111 gsc_handle->dst.crop_height = crop_height; in exynos_gsc_set_dst_format()
1112 gsc_handle->dst.v4l2_colorformat = v4l2_colorformat; in exynos_gsc_set_dst_format()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp544 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() argument
554 int& dst_l = dst.left; in calculate_crop_rects()
555 int& dst_t = dst.top; in calculate_crop_rects()
556 int& dst_r = dst.right; in calculate_crop_rects()
557 int& dst_b = dst.bottom; in calculate_crop_rects()
558 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
559 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
772 hwc_rect_t& crop, hwc_rect_t& dst) { in trimLayer() argument
775 if(dst.left < 0 || dst.top < 0 || in trimLayer()
776 dst.right > hw_w || dst.bottom > hw_h) { in trimLayer()
[all …]
/hardware/qcom/display/msm8x26/libhwcomposer/
Dhwc_utils.cpp504 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() argument
514 int& dst_l = dst.left; in calculate_crop_rects()
515 int& dst_t = dst.top; in calculate_crop_rects()
516 int& dst_r = dst.right; in calculate_crop_rects()
517 int& dst_b = dst.bottom; in calculate_crop_rects()
518 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
519 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
733 hwc_rect_t& crop, hwc_rect_t& dst) { in trimLayer() argument
736 if(dst.left < 0 || dst.top < 0 || in trimLayer()
737 dst.right > hw_w || dst.bottom > hw_h) { in trimLayer()
[all …]
/hardware/samsung_slsi/exynos5/libcsc/
Dcsc.c64 struct fimg2d_image dst; member
336 blit.dst = &g2d->dst; in conv_hw()
479 g2d->dst.width = ALIGN(csc_handle->dst_format.width, in csc_set_format()
481 g2d->dst.height = csc_handle->dst_format.height; in csc_set_format()
482 g2d->dst.stride = g2d->dst.width * in csc_set_format()
484 g2d->dst.order = hal_2_g2d_pixel_order(csc_handle->dst_format.color_format); in csc_set_format()
485 g2d->dst.fmt = hal_2_g2d_color_format(csc_handle->dst_format.color_format); in csc_set_format()
486 g2d->dst.rect.x1 = csc_handle->dst_format.crop_left; in csc_set_format()
487 g2d->dst.rect.y1 = csc_handle->dst_format.crop_top; in csc_set_format()
488 g2d->dst.rect.x2 = csc_handle->dst_format.crop_left + in csc_set_format()
[all …]
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_rotator.h40 struct msmfb_img dst; member
55 struct msmfb_data dst; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_rotator.h27 struct msmfb_img dst; member
40 struct msmfb_data dst; member
/hardware/ti/wlan/lib/
Dscanmerge.c132 void copy_scan_res( scan_result_t *dst, scan_result_t *src ) in copy_scan_res() argument
136 os_memcpy(src->ssid, dst->ssid, dst->ssid_len); in copy_scan_res()
137 src->ssid_len = dst->ssid_len; in copy_scan_res()
140 os_memcpy(dst, src, sizeof(scan_result_t)); in copy_scan_res()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_rotator.h49 struct msmfb_img dst; member
64 struct msmfb_data dst; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_rotator.h36 struct msmfb_img dst; member
49 struct msmfb_data dst; member

123