/hardware/interfaces/sensors/1.0/default/ |
D | convert.cpp | 27 void convertFromSensor(const sensor_t &src, SensorInfo *dst) { in convertFromSensor() argument 28 dst->name = src.name; in convertFromSensor() 29 dst->vendor = src.vendor; in convertFromSensor() 30 dst->version = src.version; in convertFromSensor() 31 dst->sensorHandle = src.handle; in convertFromSensor() 32 dst->type = (SensorType)src.type; in convertFromSensor() 33 dst->maxRange = src.maxRange; in convertFromSensor() 34 dst->resolution = src.resolution; in convertFromSensor() 35 dst->power = src.power; in convertFromSensor() 36 dst->minDelay = src.minDelay; in convertFromSensor() [all …]
|
/hardware/interfaces/camera/device/3.2/default/ |
D | convert.cpp | 33 bool convertFromHidl(const CameraMetadata &src, const camera_metadata_t** dst) { in convertFromHidl() argument 36 *dst = nullptr; in convertFromHidl() 46 *dst = (camera_metadata_t*) data; in convertFromHidl() 51 void convertToHidl(const camera_metadata_t *src, CameraMetadata* dst) { in convertToHidl() argument 56 dst->setToExternal((uint8_t *) src, size); in convertToHidl() 60 void convertFromHidl(const Stream &src, Camera3Stream* dst) { in convertFromHidl() argument 61 dst->mId = src.id; in convertFromHidl() 62 dst->stream_type = (int) src.streamType; in convertFromHidl() 63 dst->width = src.width; in convertFromHidl() 64 dst->height = src.height; in convertFromHidl() [all …]
|
/hardware/interfaces/camera/device/3.3/default/ |
D | convert.cpp | 33 void convertToHidl(const Camera3Stream* src, HalStream* dst) { in convertToHidl() argument 34 dst->overrideDataSpace = src->data_space; in convertToHidl() 35 dst->v3_2.id = src->mId; in convertToHidl() 36 dst->v3_2.overrideFormat = (PixelFormat) src->format; in convertToHidl() 37 dst->v3_2.maxBuffers = src->max_buffers; in convertToHidl() 39 dst->v3_2.consumerUsage = (BufferUsageFlags)0; in convertToHidl() 40 dst->v3_2.producerUsage = (BufferUsageFlags)src->usage; in convertToHidl() 42 dst->v3_2.producerUsage = (BufferUsageFlags)0; in convertToHidl() 43 dst->v3_2.consumerUsage = (BufferUsageFlags)src->usage; in convertToHidl() 52 void convertToHidl(const camera3_stream_configuration_t& src, HalStreamConfiguration* dst) { in convertToHidl() argument [all …]
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | FormatConvert.cpp | 72 uint32_t* dst, unsigned dstStridePixels, in copyNV21toRGB32() argument 91 uint32_t* rowDest = dst + r*dstStridePixels; in copyNV21toRGB32() 104 uint32_t* dst, unsigned dstStridePixels, in copyYV12toRGB32() argument 128 uint32_t* rowDest = dst + r*dstStridePixels; in copyYV12toRGB32() 139 uint32_t* dst, unsigned dstStridePixels, in copyYUYVtoRGB32() argument 158 *(dst+0) = yuvToRgbx(Y1, U, V, bgrxFormat); in copyYUYVtoRGB32() 159 *(dst+1) = yuvToRgbx(Y2, U, V, bgrxFormat); in copyYUYVtoRGB32() 160 dst += 2; in copyYUYVtoRGB32() 165 dst += dstRowPadding32; in copyYUYVtoRGB32() 172 uint32_t* dst, unsigned dstStridePixels) in copyNV21toBGR32() argument [all …]
|
D | FormatConvert.h | 30 uint32_t* dst, unsigned dstStridePixels, 35 uint32_t* dst, unsigned dstStridePixels); 45 uint32_t* dst, unsigned dstStridePixels, 50 uint32_t* dst, unsigned dstStridePixels); 58 uint32_t* dst, unsigned dstStrideBytes, 63 uint32_t* dst, unsigned dstStrideBytes); 71 void* dst, unsigned dstStridePixels,
|
/hardware/interfaces/camera/device/3.4/default/ |
D | convert.cpp | 34 void convertToHidl(const Camera3Stream* src, HalStream* dst) { in convertToHidl() argument 35 V3_3::implementation::convertToHidl(src, &dst->v3_3); in convertToHidl() 36 dst->physicalCameraId = src->physical_camera_id; in convertToHidl() 39 void convertToHidl(const camera3_stream_configuration_t& src, HalStreamConfiguration* dst) { in convertToHidl() argument 40 dst->streams.resize(src.num_streams); in convertToHidl() 42 convertToHidl(static_cast<Camera3Stream*>(src.streams[i]), &dst->streams[i]); in convertToHidl() 47 void convertFromHidl(const Stream &src, Camera3Stream* dst) { in convertFromHidl() argument 48 V3_2::implementation::convertFromHidl(src.v3_2, dst); in convertFromHidl() 50 dst->physical_camera_id = nullptr; in convertFromHidl()
|
/hardware/interfaces/camera/device/3.2/default/include/ |
D | convert.h | 42 bool convertFromHidl(const CameraMetadata &src, const camera_metadata_t** dst); 43 void convertToHidl(const camera_metadata_t* src, CameraMetadata* dst); 45 void convertFromHidl(const Stream &src, Camera3Stream* dst); 46 void convertToHidl(const Camera3Stream* src, HalStream* dst); 50 camera3_stream_buffer_t* dst); 52 void convertToHidl(const camera3_stream_configuration_t& src, HalStreamConfiguration* dst); 57 void convertToHidl(const camera3_notify_msg* src, NotifyMsg* dst);
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMdpRot.cpp | 40 return mRotDataInfo.dst.memory_id; in getDstMemId() 44 return mRotDataInfo.dst.offset; in getDstOffset() 48 return mRotImgInfo.dst.format; in getDstFormat() 54 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf() 55 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstWhf() 57 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf() 63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions() 64 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstDimensions() 112 mRotImgInfo.dst.width = whf.w; in setSource() 113 mRotImgInfo.dst.height = whf.h; in setSource() [all …]
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMdpRot.cpp | 45 return mRotDataInfo.dst.memory_id; in getDstMemId() 53 return mRotDataInfo.dst.offset; in getDstOffset() 57 return mRotImgInfo.dst.format; in getDstFormat() 63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf() 64 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstWhf() 66 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf() 72 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions() 73 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstDimensions() 121 mRotImgInfo.dst.width = whf.w; in setSource() 122 mRotImgInfo.dst.height = whf.h; in setSource() [all …]
|
/hardware/interfaces/broadcastradio/1.1/default/ |
D | BroadcastRadio.cpp | 174 V1_0::BandConfig dst; in getAmFmBands() local 176 dst.type = src.type; in getAmFmBands() 177 dst.antennaConnected = true; in getAmFmBands() 178 dst.lowerLimit = src.lowerLimit; in getAmFmBands() 179 dst.upperLimit = src.upperLimit; in getAmFmBands() 180 dst.spacings = src.spacings; in getAmFmBands() 183 dst.ext.am.stereo = true; in getAmFmBands() 185 dst.ext.fm.deemphasis = static_cast<Deemphasis>(Deemphasis::D50 | Deemphasis::D75); in getAmFmBands() 186 dst.ext.fm.stereo = true; in getAmFmBands() 187 dst.ext.fm.rds = static_cast<Rds>(Rds::WORLD | Rds::US); in getAmFmBands() [all …]
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit.cpp | 172 const struct copybit_rect_t *dst, in set_rects() argument 176 intersect(&clip, scissor, dst); in set_rects() 188 delta_x = (clip.t - dst->t); in set_rects() 189 delta_y = (dst->r - clip.r); in set_rects() 192 W = dst->b - dst->t; in set_rects() 193 H = dst->r - dst->l; in set_rects() 195 delta_x = (clip.l - dst->l); in set_rects() 196 delta_y = (clip.t - dst->t); in set_rects() 199 W = dst->r - dst->l; in set_rects() 200 H = dst->b - dst->t; in set_rects() [all …]
|
D | copybit_c2d.cpp | 147 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member 647 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit() 649 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit() 655 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit() 675 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit() 677 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit() 714 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit() 726 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit() 736 const struct copybit_rect_t *dst, in set_rects() argument 744 c2dObject->target_rect.x = (dst->t)<<16; in set_rects() [all …]
|
/hardware/qcom/sdm845/display/libcopybit/ |
D | copybit.cpp | 174 const struct copybit_rect_t *dst, in set_rects() argument 178 intersect(&clip, scissor, dst); in set_rects() 190 delta_x = (clip.t - dst->t); in set_rects() 191 delta_y = (dst->r - clip.r); in set_rects() 194 W = dst->b - dst->t; in set_rects() 195 H = dst->r - dst->l; in set_rects() 197 delta_x = (clip.l - dst->l); in set_rects() 198 delta_y = (clip.t - dst->t); in set_rects() 201 W = dst->r - dst->l; in set_rects() 202 H = dst->b - dst->t; in set_rects() [all …]
|
D | copybit_c2d.cpp | 147 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member 647 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit() 649 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit() 655 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit() 675 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit() 677 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit() 714 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit() 726 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit() 736 const struct copybit_rect_t *dst, in set_rects() argument 744 c2dObject->target_rect.x = (dst->t)<<16; in set_rects() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit.cpp | 166 const struct copybit_rect_t *dst, in set_rects() argument 170 intersect(&clip, scissor, dst); in set_rects() 179 delta_x = (clip.t - dst->t); in set_rects() 180 delta_y = (dst->r - clip.r); in set_rects() 183 W = dst->b - dst->t; in set_rects() 184 H = dst->r - dst->l; in set_rects() 186 delta_x = (clip.l - dst->l); in set_rects() 187 delta_y = (clip.t - dst->t); in set_rects() 190 W = dst->r - dst->l; in set_rects() 191 H = dst->b - dst->t; in set_rects() [all …]
|
D | copybit_c2d.cpp | 146 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member 645 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit() 647 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit() 653 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit() 673 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit() 675 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit() 710 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit() 722 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit() 732 const struct copybit_rect_t *dst, in set_rects() argument 740 c2dObject->target_rect.x = (dst->t)<<16; in set_rects() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit.cpp | 174 const struct copybit_rect_t *dst, in set_rects() argument 178 intersect(&clip, scissor, dst); in set_rects() 190 delta_x = (clip.t - dst->t); in set_rects() 191 delta_y = (dst->r - clip.r); in set_rects() 194 W = dst->b - dst->t; in set_rects() 195 H = dst->r - dst->l; in set_rects() 197 delta_x = (clip.l - dst->l); in set_rects() 198 delta_y = (clip.t - dst->t); in set_rects() 201 W = dst->r - dst->l; in set_rects() 202 H = dst->b - dst->t; in set_rects() [all …]
|
D | copybit_c2d.cpp | 147 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member 647 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit() 649 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit() 655 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit() 675 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit() 677 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit() 714 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit() 726 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit() 736 const struct copybit_rect_t *dst, in set_rects() argument 744 c2dObject->target_rect.x = (dst->t)<<16; in set_rects() [all …]
|
/hardware/qcom/display/msm8909w_3100/libcopybit/ |
D | copybit.cpp | 174 const struct copybit_rect_t *dst, in set_rects() argument 178 intersect(&clip, scissor, dst); in set_rects() 190 delta_x = (clip.t - dst->t); in set_rects() 191 delta_y = (dst->r - clip.r); in set_rects() 194 W = dst->b - dst->t; in set_rects() 195 H = dst->r - dst->l; in set_rects() 197 delta_x = (clip.l - dst->l); in set_rects() 198 delta_y = (clip.t - dst->t); in set_rects() 201 W = dst->r - dst->l; in set_rects() 202 H = dst->b - dst->t; in set_rects() [all …]
|
D | copybit_c2d.cpp | 147 unsigned int dst[NUM_SURFACE_TYPES]; // dst surfaces member 647 status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in flush_get_fence_copybit() 649 if(LINK_c2dFlush(ctx->dst[ctx->dst_surface_type], &ctx->time_stamp)) { in flush_get_fence_copybit() 655 if(LINK_c2dCreateFenceFD(ctx->dst[ctx->dst_surface_type], ctx->time_stamp, in flush_get_fence_copybit() 675 int status = msm_copybit(ctx, ctx->dst[ctx->dst_surface_type]); in finish_copybit() 677 if(LINK_c2dFinish(ctx->dst[ctx->dst_surface_type])) { in finish_copybit() 714 ret = set_image(ctx, ctx->dst[RGB_SURFACE], buf, in clear_copybit() 726 ret = LINK_c2dFillSurface(ctx->dst[RGB_SURFACE], 0x0, &c2drect); in clear_copybit() 736 const struct copybit_rect_t *dst, in set_rects() argument 744 c2dObject->target_rect.x = (dst->t)<<16; in set_rects() [all …]
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit.cpp | 172 const struct copybit_rect_t *dst, in set_rects() argument 176 intersect(&clip, scissor, dst); in set_rects() 188 delta_x = (clip.t - dst->t); in set_rects() 189 delta_y = (dst->r - clip.r); in set_rects() 192 W = dst->b - dst->t; in set_rects() 193 H = dst->r - dst->l; in set_rects() 195 delta_x = (clip.l - dst->l); in set_rects() 196 delta_y = (clip.t - dst->t); in set_rects() 199 W = dst->r - dst->l; in set_rects() 200 H = dst->b - dst->t; in set_rects() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit.cpp | 163 const struct copybit_rect_t *dst, in set_rects() argument 167 intersect(&clip, scissor, dst); in set_rects() 176 delta_x = (clip.t - dst->t); in set_rects() 177 delta_y = (dst->r - clip.r); in set_rects() 180 W = dst->b - dst->t; in set_rects() 181 H = dst->r - dst->l; in set_rects() 183 delta_x = (clip.l - dst->l); in set_rects() 184 delta_y = (clip.t - dst->t); in set_rects() 187 W = dst->r - dst->l; in set_rects() 188 H = dst->b - dst->t; in set_rects() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit.cpp | 163 const struct copybit_rect_t *dst, in set_rects() argument 167 intersect(&clip, scissor, dst); in set_rects() 176 delta_x = (clip.t - dst->t); in set_rects() 177 delta_y = (dst->r - clip.r); in set_rects() 180 W = dst->b - dst->t; in set_rects() 181 H = dst->r - dst->l; in set_rects() 183 delta_x = (clip.l - dst->l); in set_rects() 184 delta_y = (clip.t - dst->t); in set_rects() 187 W = dst->r - dst->l; in set_rects() 188 H = dst->b - dst->t; in set_rects() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit.cpp | 157 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 …]
|
D | copybit_c2d.cpp | 149 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 …]
|