Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/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
34 if (src.size() == 0) { in convertFromHidl()
40 const uint8_t* data = src.data(); in convertFromHidl()
42 if (get_camera_metadata_size((camera_metadata_t*)data) != src.size()) { in convertFromHidl()
51 void convertToHidl(const camera_metadata_t *src, CameraMetadata* dst) { in convertToHidl() argument
52 if (src == nullptr) { in convertToHidl()
55 size_t size = get_camera_metadata_size(src); in convertToHidl()
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()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleUtils.cpp82 inline void copyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in copyHidlVec() argument
83 for (size_t i = 0; i < std::min(dest->size(), src.size()); i++) { in copyHidlVec()
84 (*dest)[i] = src[i]; in copyHidlVec()
89 const VehiclePropValue::RawValue& src) { in copyVehicleRawValue() argument
90 dest->int32Values = src.int32Values; in copyVehicleRawValue()
91 dest->floatValues = src.floatValues; in copyVehicleRawValue()
92 dest->int64Values = src.int64Values; in copyVehicleRawValue()
93 dest->bytes = src.bytes; in copyVehicleRawValue()
94 dest->stringValue = src.stringValue; in copyVehicleRawValue()
98 void shallowCopyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in shallowCopyHidlVec() argument
[all …]
/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()
38 if (src->stream_type == CAMERA3_STREAM_OUTPUT) { in convertToHidl()
40 dst->v3_2.producerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
41 } else if (src->stream_type == CAMERA3_STREAM_INPUT) { in convertToHidl()
43 dst->v3_2.consumerUsage = (BufferUsageFlags)src->usage; in convertToHidl()
48 __FUNCTION__, src->stream_type); in convertToHidl()
[all …]
/hardware/interfaces/audio/core/all-versions/default/
DConversions.cpp143 const struct audio_microphone_characteristic_t& src) { in halToMicrophoneCharacteristics() argument
146 pDst->deviceId = src.device_id; in halToMicrophoneCharacteristics()
148 if (deviceAddressFromHal(src.device, src.address, &pDst->deviceAddress) != OK) { in halToMicrophoneCharacteristics()
153 pDst->channelMapping[ch] = halToChannelMapping(src.channel_mapping[ch]); in halToMicrophoneCharacteristics()
155 pDst->location = halToLocation(src.location); in halToMicrophoneCharacteristics()
156 pDst->group = (AudioMicrophoneGroup)src.group; in halToMicrophoneCharacteristics()
157 pDst->indexInTheGroup = (uint32_t)src.index_in_the_group; in halToMicrophoneCharacteristics()
158 pDst->sensitivity = src.sensitivity; in halToMicrophoneCharacteristics()
159 pDst->maxSpl = src.max_spl; in halToMicrophoneCharacteristics()
160 pDst->minSpl = src.min_spl; in halToMicrophoneCharacteristics()
[all …]
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFormatConvert.cpp71 uint8_t* src, in copyNV21toRGB32() argument
83 uint8_t* srcY = src; in copyNV21toRGB32()
84 uint8_t* srcUV = src+offsetUV; in copyNV21toRGB32()
103 uint8_t* src, in copyYV12toRGB32() argument
118 uint8_t* srcY = src; in copyYV12toRGB32()
119 uint8_t* srcU = src+offsetU; in copyYV12toRGB32()
120 uint8_t* srcV = src+offsetV; in copyYV12toRGB32()
138 uint8_t* src, unsigned srcStridePixels, in copyYUYVtoRGB32() argument
142 uint32_t* srcWords = (uint32_t*)src; in copyYUYVtoRGB32()
171 uint8_t* src, in copyNV21toBGR32() argument
[all …]
DFormatConvert.h29 uint8_t* src,
34 uint8_t* src,
44 uint8_t* src,
49 uint8_t* src,
57 uint8_t* src, unsigned srcStrideBytes,
62 uint8_t* src, unsigned srcStrideBytes,
70 void* src, unsigned srcStridePixels,
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/
DAndroid.mk24 src/mm_qcamera_main_menu.c \
25 src/mm_qcamera_app.c \
26 src/mm_qcamera_unit_test.c \
27 src/mm_qcamera_video.c \
28 src/mm_qcamera_preview.c \
29 src/mm_qcamera_snapshot.c \
30 src/mm_qcamera_rdi.c \
31 src/mm_qcamera_reprocess.c\
32 src/mm_qcamera_queue.c \
33 src/mm_qcamera_socket.c \
[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()
41 for (uint32_t i = 0; i < src.num_streams; i++) { 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()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp158 const struct copybit_rect_t *src, in set_rects() argument
187 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
188 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects()
190 e->src_rect.x = delta_x + src->l; in set_rects()
191 e->src_rect.y = delta_y + src->t; in set_rects()
195 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
197 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
203 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
205 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
244 l->req[i].src.width, in msm_copybit()
[all …]
/hardware/qcom/sdm845/display/gpu_tonemapper/
DEGLImageWrapper.cpp108 static EGLImageBuffer* L_wrap(const private_handle_t *src) in L_wrap() argument
113 native_handle_t *native_handle = const_cast<private_handle_t *>(src); in L_wrap()
119 if (src->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in L_wrap()
124 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format, in L_wrap()
128 flags, src->width /*src->stride*/, in L_wrap()
140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap() local
142 int ion_cookie = get_ion_cookie(ion_fd, src->fd); in wrap()
146 eglImage = L_wrap(src); in wrap()
/hardware/qcom/display/msm8998/gpu_tonemapper/
DEGLImageWrapper.cpp108 static EGLImageBuffer* L_wrap(const private_handle_t *src) in L_wrap() argument
113 native_handle_t *native_handle = const_cast<private_handle_t *>(src); in L_wrap()
119 if (src->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in L_wrap()
124 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format, in L_wrap()
128 flags, src->width /*src->stride*/, in L_wrap()
140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap() local
142 int ion_cookie = get_ion_cookie(ion_fd, src->fd); in wrap()
146 eglImage = L_wrap(src); in wrap()
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
DEGLImageWrapper.cpp108 static EGLImageBuffer* L_wrap(const private_handle_t *src) in L_wrap() argument
113 native_handle_t *native_handle = const_cast<private_handle_t *>(src); in L_wrap()
119 if (src->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in L_wrap()
124 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format, in L_wrap()
128 flags, src->width /*src->stride*/, in L_wrap()
140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap() local
142 int ion_cookie = get_ion_cookie(ion_fd, src->fd); in wrap()
146 eglImage = L_wrap(src); in wrap()
/hardware/qcom/display/msm8909/gpu_tonemapper/
DEGLImageWrapper.cpp108 static EGLImageBuffer* L_wrap(const private_handle_t *src) in L_wrap() argument
113 native_handle_t *native_handle = const_cast<private_handle_t *>(src); in L_wrap()
119 if (src->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in L_wrap()
124 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format, in L_wrap()
128 flags, src->width /*src->stride*/, in L_wrap()
140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap() local
142 int ion_cookie = get_ion_cookie(ion_fd, src->fd); in wrap()
146 eglImage = L_wrap(src); in wrap()
/hardware/qcom/sm8150/display/gpu_tonemapper/
DEGLImageWrapper.cpp149 static EGLImageBuffer* L_wrap(const private_handle_t *src) in L_wrap() argument
154 native_handle_t *native_handle = const_cast<private_handle_t *>(src); in L_wrap()
160 if (src->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in L_wrap()
165 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format, in L_wrap()
169 flags, src->width /*src->stride*/, in L_wrap()
181 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap() local
184 int ion_cookie = get_ion_cookie(ion_fd, src->fd); in wrap()
188 eglImage = L_wrap(src); in wrap()
194 string buffStr = get_ion_buff_str(src->fd); in wrap()
201 eglImage = L_wrap(src); in wrap()
[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);
52 void convertToHidl(const camera3_stream_configuration_t& src, HalStreamConfiguration* dst);
57 void convertToHidl(const camera3_notify_msg* src, NotifyMsg* dst);
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/
DAndroid.mk5 LOCAL_SRC_FILES := src/CtUpdateAmbassador.cpp \
6 src/HAL.cpp \
7 src/IpaEventRelay.cpp \
8 src/LocalLogBuffer.cpp \
9 src/OffloadStatistics.cpp \
10 src/PrefixParser.cpp
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/
DAndroid.mk5 LOCAL_SRC_FILES := src/CtUpdateAmbassador.cpp \
6 src/HAL.cpp \
7 src/IpaEventRelay.cpp \
8 src/LocalLogBuffer.cpp \
9 src/OffloadStatistics.cpp \
10 src/PrefixParser.cpp
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/
DAndroid.mk5 LOCAL_SRC_FILES := src/CtUpdateAmbassador.cpp \
6 src/HAL.cpp \
7 src/IpaEventRelay.cpp \
8 src/LocalLogBuffer.cpp \
9 src/OffloadStatistics.cpp \
10 src/PrefixParser.cpp
/hardware/qcom/bt/msm8909/libbt-vendor/
DAndroid.mk25 src/bt_vendor_qcom.c \
26 src/hardware.c \
27 src/hci_uart.c \
28 src/hci_smd.c \
29 src/hw_rome.c \
30 src/hw_ar3k.c \
31 src/bt_vendor_persist.cpp
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/
Dvdec.mk122 LOCAL_SRC_FILES := vdec/src/frameparser.cpp
123 LOCAL_SRC_FILES += vdec/src/h264_utils.cpp
124 LOCAL_SRC_FILES += vdec/src/ts_parser.cpp
125 LOCAL_SRC_FILES += vdec/src/mp4_utils.cpp
126 LOCAL_SRC_FILES += vdec/src/hevc_utils.cpp
128 LOCAL_SRC_FILES += vdec/src/omx_vdec_msm8974.cpp
132 LOCAL_SRC_FILES += vdec/src/power_module.cpp
133 LOCAL_SRC_FILES += vdec/src/omx_vdec.cpp
136 LOCAL_SRC_FILES += common/src/extra_data_handler.cpp
137 LOCAL_SRC_FILES += common/src/vidc_color_converter.cpp
[all …]
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/
DAndroid.mk25 src/bt_vendor_qcom.c \
26 src/hardware.c \
27 src/hci_uart.c \
28 src/hci_smd.c \
29 src/hw_rome.c \
30 src/hw_ar3k.c \
31 src/bt_vendor_persist.cpp
/hardware/st/secure_element2/secure_element/
DAndroid.bp17 "1.0/esehal/src/checksum.c",
18 "1.0/esehal/src/iso7816_t1.c",
19 "1.0/esehal/src/libse-gto.c",
20 "1.0/esehal/src/spi.c",
21 "1.0/esehal/src/transport.c",
22 "1.0/esehal/src/log.c",
27 "1.0/esehal/src",
92 "1.0/esehal/src/checksum.c",
93 "1.0/esehal/src/iso7816_t1.c",
94 "1.0/esehal/src/libse-gto.c",
[all …]
/hardware/qcom/media/msm8996/mm-core/
DAndroid.mk60 LOCAL_C_INCLUDES := $(LOCAL_PATH)/src/common
69 LOCAL_SRC_FILES := src/common/omx_core_cmp.cpp
70 LOCAL_SRC_FILES += src/common/qc_omx_core.c
72 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/registry_table_android.c
74 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/qc_registry_table_android.c
90 LOCAL_C_INCLUDES := $(LOCAL_PATH)/src/common
99 LOCAL_SRC_FILES := src/common/omx_core_cmp.cpp
100 LOCAL_SRC_FILES += src/common/qc_omx_core.c
102 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/registry_table.c
104 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/qc_registry_table.c
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp164 const struct copybit_rect_t *src, in set_rects() argument
191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
192 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects()
194 e->src_rect.x = delta_x + src->l; in set_rects()
195 e->src_rect.y = delta_y + src->t; in set_rects()
199 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
201 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
207 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects()
209 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects()
253 l->req[i].src.width, in msm_copybit()
[all …]

12345678910>>...19