Home
last modified time | relevance | path

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

12345678910>>...14

/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp27 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/
Dconvert.cpp33 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/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DCopyBitsTest.cpp25 uint32_t dst; in TEST() member
40 uint32_t dst = test_vector.dst; in TEST() local
41 copyBits(&(test_vector.src), &dst, sizeof(dst), in TEST()
44 EXPECT_EQ(test_vector.expected_dst, dst); in TEST()
51 uint32_t dst; in TEST() member
66 uint32_t dst = test_vector.dst; in TEST() local
67 copyBits(&(test_vector.src), &dst, sizeof(dst), in TEST()
70 EXPECT_EQ(test_vector.expected_dst, dst); in TEST()
/hardware/interfaces/camera/device/3.3/default/
Dconvert.cpp33 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/google/graphics/common/libion/test/
Dion_device_test.cpp55 char *dst = new char[size]; in TEST_F() local
60 ionTestReadKernel(fd, dst, size, 0); in TEST_F()
62 EXPECT_TRUE(check(dst, size, 0)); in TEST_F()
64 delete [] dst; in TEST_F()
93 void *dst = ionMmap(fd, size); in TEST_F() local
96 dirtyCache(dst, size); in TEST_F()
100 EXPECT_TRUE(check(dst, size, 0)); in TEST_F()
104 ionMunmap(dst, size); in TEST_F()
130 char *dst = new char[size]; in TEST_F() local
135 ionTestReadKernel(fd, dst, size, 0); in TEST_F()
[all …]
/hardware/interfaces/camera/device/3.4/default/
Dconvert.cpp34 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/automotive/evs/common/utils/default/
DFormatConvert.cpp79 uint32_t* dst, unsigned dstStridePixels, in copyNV21toRGB32() argument
98 uint32_t* rowDest = dst + r*dstStridePixels; in copyNV21toRGB32()
111 uint32_t* dst, unsigned dstStridePixels, in copyYV12toRGB32() argument
135 uint32_t* rowDest = dst + r*dstStridePixels; in copyYV12toRGB32()
146 uint32_t* dst, unsigned dstStridePixels, in copyYUYVtoRGB32() argument
165 *(dst+0) = yuvToRgbx(Y1, U, V, bgrxFormat); in copyYUYVtoRGB32()
166 *(dst+1) = yuvToRgbx(Y2, U, V, bgrxFormat); in copyYUYVtoRGB32()
167 dst += 2; in copyYUYVtoRGB32()
172 dst += dstRowPadding32; in copyYUYVtoRGB32()
179 uint32_t* dst, unsigned dstStridePixels) in copyNV21toBGR32() argument
[all …]
/hardware/interfaces/camera/device/3.2/default/include/
Dconvert.h42 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/
DoverlayMdpRot.cpp40 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/interfaces/automotive/evs/common/utils/default/include/
DFormatConvert.h38 uint32_t* dst, unsigned dstStridePixels,
43 uint32_t* dst, unsigned dstStridePixels);
53 uint32_t* dst, unsigned dstStridePixels,
58 uint32_t* dst, unsigned dstStridePixels);
66 uint32_t* dst, unsigned dstStrideBytes,
71 uint32_t* dst, unsigned dstStrideBytes);
79 void* dst, unsigned dstStridePixels,
/hardware/interfaces/broadcastradio/1.1/default/
DBroadcastRadio.cpp174 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/msm8994/liboverlay/
DoverlayMdpRot.cpp45 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/google/graphics/common/libhwc2.1/libresource/
DExynosMPP.cpp278 bool ExynosMPP::isDataspaceSupportedByMPP(struct exynos_image &src, struct exynos_image &dst) in isDataspaceSupportedByMPP() argument
281 uint32_t dstStandard = (dst.dataSpace & HAL_DATASPACE_STANDARD_MASK); in isDataspaceSupportedByMPP()
283 uint32_t dstTransfer = (dst.dataSpace & HAL_DATASPACE_TRANSFER_MASK); in isDataspaceSupportedByMPP()
314 return checkCSCRestriction(src, dst); in isDataspaceSupportedByMPP()
317 bool ExynosMPP::isSupportedHDR10Plus(struct exynos_image &src, struct exynos_image &dst) in isSupportedHDR10Plus() argument
321 uint32_t dstStandard = (dst.dataSpace & HAL_DATASPACE_STANDARD_MASK); in isSupportedHDR10Plus()
323 uint32_t dstTransfer = (dst.dataSpace & HAL_DATASPACE_TRANSFER_MASK); in isSupportedHDR10Plus()
443 bool ExynosMPP::checkCSCRestriction(struct exynos_image &src, struct exynos_image &dst) in checkCSCRestriction() argument
484 bool ExynosMPP::isDstFormatSupported(struct exynos_image &dst) in isDstFormatSupported() argument
491 (mResourceManager->mFormatRestrictions[i].format == dst.format)) in isDstFormatSupported()
[all …]
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.cpp172 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/
Dcopybit.cpp163 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/msm8994/libcopybit/
Dcopybit.cpp166 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 …]
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit.cpp174 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 …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp163 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/sdm845/display/libcopybit/
Dcopybit.cpp174 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 …]
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit.cpp174 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 …]
/hardware/qcom/sm7250/display/libcopybit/
Dcopybit.cpp174 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 …]
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit.cpp172 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/msm8909/libcopybit/
Dcopybit.cpp174 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 …]
/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 …]

12345678910>>...14