/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 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/ |
D | VehicleUtils.cpp | 80 inline void copyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in copyHidlVec() argument 81 for (size_t i = 0; i < std::min(dest->size(), src.size()); i++) { in copyHidlVec() 82 (*dest)[i] = src[i]; in copyHidlVec() 87 const VehiclePropValue::RawValue& src) { in copyVehicleRawValue() argument 88 dest->int32Values = src.int32Values; in copyVehicleRawValue() 89 dest->floatValues = src.floatValues; in copyVehicleRawValue() 90 dest->int64Values = src.int64Values; in copyVehicleRawValue() 91 dest->bytes = src.bytes; in copyVehicleRawValue() 92 dest->stringValue = src.stringValue; in copyVehicleRawValue() 96 void shallowCopyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in shallowCopyHidlVec() argument [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() 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/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/ |
D | Android.mk | 24 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/qcom/display/msm8960/libcopybit/ |
D | copybit.cpp | 158 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/display/sdm845/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 108 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/ |
D | EGLImageWrapper.cpp | 108 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/interfaces/automotive/evs/1.0/vts/functional/ |
D | FormatConvert.cpp | 63 uint8_t* src, in copyNV21toRGB32() argument 74 uint8_t* srcY = src; in copyNV21toRGB32() 75 uint8_t* srcUV = src+offsetUV; in copyNV21toRGB32() 94 uint8_t* src, in copyYV12toRGB32() argument 108 uint8_t* srcY = src; in copyYV12toRGB32() 109 uint8_t* srcU = src+offsetU; in copyYV12toRGB32() 110 uint8_t* srcV = src+offsetV; in copyYV12toRGB32() 128 uint8_t* src, unsigned srcStridePixels, in copyYUYVtoRGB32() argument 131 uint32_t* srcWords = (uint32_t*)src; in copyYUYVtoRGB32() 160 void* src, unsigned srcStridePixels, in copyMatchedInterleavedFormats() argument [all …]
|
/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); 52 void convertToHidl(const camera3_stream_configuration_t& src, HalStreamConfiguration* dst); 57 void convertToHidl(const camera3_notify_msg* src, NotifyMsg* dst);
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/ |
D | Android.mk | 5 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/media/msm8974/mm-video-v4l2/vidc/ |
D | vdec.mk | 122 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/msm8909/libbt-vendor/ |
D | Android.mk | 25 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/bt/sdm845/libbt-vendor/ |
D | Android.mk | 25 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/display/msm8996/libcopybit/ |
D | copybit.cpp | 173 const struct copybit_rect_t *src, in set_rects() argument 203 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 204 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects() 206 e->src_rect.x = delta_x + src->l; in set_rects() 207 e->src_rect.y = delta_y + src->t; in set_rects() 211 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 213 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 219 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 221 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 267 l->req[i].src.width, in msm_copybit() [all …]
|
/hardware/qcom/display/sdm845/libcopybit/ |
D | copybit.cpp | 175 const struct copybit_rect_t *src, in set_rects() argument 205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 206 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects() 208 e->src_rect.x = delta_x + src->l; in set_rects() 209 e->src_rect.y = delta_y + src->t; in set_rects() 213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 215 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 221 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 223 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 269 l->req[i].src.width, in msm_copybit() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit.cpp | 164 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 …]
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit.cpp | 175 const struct copybit_rect_t *src, in set_rects() argument 205 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 206 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects() 208 e->src_rect.x = delta_x + src->l; in set_rects() 209 e->src_rect.y = delta_y + src->t; in set_rects() 213 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 215 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 221 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 223 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 269 l->req[i].src.width, in msm_copybit() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit.cpp | 164 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 …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit.cpp | 167 const struct copybit_rect_t *src, in set_rects() argument 194 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 195 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects() 197 e->src_rect.x = delta_x + src->l; in set_rects() 198 e->src_rect.y = delta_y + src->t; in set_rects() 202 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 204 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 210 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 212 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 256 l->req[i].src.width, in msm_copybit() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit.cpp | 170 const struct copybit_rect_t *src, in set_rects() argument 200 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects() 201 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects() 203 e->src_rect.x = delta_x + src->l; in set_rects() 204 e->src_rect.y = delta_y + src->t; in set_rects() 208 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 210 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 216 e->src_rect.y = (src->t + src->b) - (e->src_rect.y + e->src_rect.h); in set_rects() 218 e->src_rect.x = (src->l + src->r) - (e->src_rect.x + e->src_rect.w); in set_rects() 264 l->req[i].src.width, in msm_copybit() [all …]
|
/hardware/qcom/media/msm8996/mm-core/ |
D | Android.mk | 59 LOCAL_C_INCLUDES := $(LOCAL_PATH)/src/common 68 LOCAL_SRC_FILES := src/common/omx_core_cmp.cpp 69 LOCAL_SRC_FILES += src/common/qc_omx_core.c 71 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/registry_table_android.c 73 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/qc_registry_table_android.c 89 LOCAL_C_INCLUDES := $(LOCAL_PATH)/src/common 98 LOCAL_SRC_FILES := src/common/omx_core_cmp.cpp 99 LOCAL_SRC_FILES += src/common/qc_omx_core.c 101 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/registry_table.c 103 LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/qc_registry_table.c
|
/hardware/qcom/bt/msm8992/libbt-vendor/ |
D | Android.mk | 26 src/bt_vendor_qcom.c \ 27 src/hardware.c \ 28 src/hci_uart.c \ 29 src/hci_smd.c \ 30 src/hw_rome.c \ 31 src/hw_ar3k.c
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/ |
D | Makefile.am | 59 AM_CPPFLAGS += -I$(top_srcdir)/mm-core/src/common/ 61 c_sources := src/frameparser.cpp 62 c_sources += src/h264_utils.cpp 63 c_sources += src/ts_parser.cpp 64 c_sources += src/mp4_utils.cpp 65 c_sources += src/hevc_utils.cpp 66 c_sources += src/omx_vdec_v4l2.cpp 67 c_sources += $(top_srcdir)/mm-video-v4l2/vidc/common/src/extra_data_handler.cpp 68 c_sources += $(top_srcdir)/mm-video-v4l2/vidc/common/src/vidc_color_converter.cpp
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/ |
D | Android.mk | 64 src/mm_jpeg_queue.c \ 65 src/mm_jpeg_exif.c \ 66 src/mm_jpeg.c \ 67 src/mm_jpeg_interface.c \ 68 src/mm_jpeg_ionbuf.c \ 69 src/mm_jpegdec_interface.c \ 70 src/mm_jpegdec.c \ 71 src/mm_jpeg_mpo_composer.c
|