/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 | 34 bool convertFromHidl(const CameraMetadata &src, const camera_metadata_t** dst) { in convertFromHidl() argument 35 if (src.size() == 0) { in convertFromHidl() 41 const uint8_t* data = src.data(); in convertFromHidl() 43 if (get_camera_metadata_size((camera_metadata_t*)data) != src.size()) { in convertFromHidl() 59 void convertToHidl(const camera_metadata_t *src, CameraMetadata* dst) { in convertToHidl() argument 60 if (src == nullptr) { in convertToHidl() 63 size_t size = get_camera_metadata_size(src); in convertToHidl() 64 dst->setToExternal((uint8_t *) src, size); in convertToHidl() 68 void convertFromHidl(const Stream &src, Camera3Stream* dst) { in convertFromHidl() argument 69 dst->mId = src.id; in convertFromHidl() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/ |
D | Android.bp | 14 local_include_dirs: ["src"] + ["inc"], 27 "src/IPACM_Main.cpp", 28 "src/IPACM_EvtDispatcher.cpp", 29 "src/IPACM_Config.cpp", 30 "src/IPACM_CmdQueue.cpp", 31 "src/IPACM_Filtering.cpp", 32 "src/IPACM_Routing.cpp", 33 "src/IPACM_Header.cpp", 34 "src/IPACM_Lan.cpp", 35 "src/IPACM_Iface.cpp", [all …]
|
/hardware/interfaces/sensors/aidl/convert/ |
D | convert.cpp | 67 void convertToSensor(const SensorInfo& src, sensor_t* dst) { in convertToSensor() argument 68 dst->name = strdup(src.name.c_str()); in convertToSensor() 69 dst->vendor = strdup(src.vendor.c_str()); in convertToSensor() 70 dst->version = src.version; in convertToSensor() 71 dst->handle = src.sensorHandle; in convertToSensor() 72 dst->type = (int)src.type; in convertToSensor() 73 dst->maxRange = src.maxRange; in convertToSensor() 74 dst->resolution = src.resolution; in convertToSensor() 75 dst->power = src.power; in convertToSensor() 76 dst->minDelay = src.minDelayUs; in convertToSensor() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_yuv.c | 50 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_float() local 55 value = util_cpu_to_le32(*src++); in util_format_r8g8_b8g8_unorm_unpack_rgba_float() 76 value = util_cpu_to_le32(*src); in util_format_r8g8_b8g8_unorm_unpack_rgba_float() 104 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() local 109 value = util_cpu_to_le32(*src++); in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() 130 value = util_cpu_to_le32(*src); in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() 157 const float *src = src_row; in util_format_r8g8_b8g8_unorm_pack_rgba_float() local 163 r = 0.5f*(src[0] + src[4]); in util_format_r8g8_b8g8_unorm_pack_rgba_float() 164 g0 = src[1]; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 165 g1 = src[5]; in util_format_r8g8_b8g8_unorm_pack_rgba_float() [all …]
|
D | u_format_other.c | 42 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_float() local 44 uint32_t value = util_cpu_to_le32(*(const uint32_t *)src); in util_format_r9g9b9e5_float_unpack_rgba_float() 47 src += 4; in util_format_r9g9b9e5_float_unpack_rgba_float() 59 const float *src = src_row; in util_format_r9g9b9e5_float_pack_rgba_float() local 62 uint32_t value = util_cpu_to_le32(float3_to_rgb9e5(src)); in util_format_r9g9b9e5_float_pack_rgba_float() 64 src += 4; in util_format_r9g9b9e5_float_pack_rgba_float() 73 util_format_r9g9b9e5_float_fetch_rgba(void *restrict in_dst, const uint8_t *restrict src, in util_format_r9g9b9e5_float_fetch_rgba() argument 77 uint32_t value = util_cpu_to_le32(*(const uint32_t *)src); in util_format_r9g9b9e5_float_fetch_rgba() 91 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_8unorm() local 93 uint32_t value = util_cpu_to_le32(*(const uint32_t *)src); in util_format_r9g9b9e5_float_unpack_rgba_8unorm() [all …]
|
D | texcompress_etc_tmp.h | 84 TAG(etc1_parse_block)(struct TAG(etc1_block) *block, const UINT8_TYPE *src) in TAG() 86 if (src[3] & 0x2) { in TAG() 88 block->base_colors[0][0] = (int) TAG(etc1_base_color_diff_hi)(src[0]); in TAG() 89 block->base_colors[1][0] = (int) TAG(etc1_base_color_diff_lo)(src[0]); in TAG() 90 block->base_colors[0][1] = (int) TAG(etc1_base_color_diff_hi)(src[1]); in TAG() 91 block->base_colors[1][1] = (int) TAG(etc1_base_color_diff_lo)(src[1]); in TAG() 92 block->base_colors[0][2] = (int) TAG(etc1_base_color_diff_hi)(src[2]); in TAG() 93 block->base_colors[1][2] = (int) TAG(etc1_base_color_diff_lo)(src[2]); in TAG() 97 block->base_colors[0][0] = (int) TAG(etc1_base_color_ind_hi)(src[0]); in TAG() 98 block->base_colors[1][0] = (int) TAG(etc1_base_color_ind_lo)(src[0]); in TAG() [all …]
|
D | format_utils.h | 150 _mesa_unsigned_to_unsigned(unsigned src, unsigned dst_size) in _mesa_unsigned_to_unsigned() argument 152 return MIN2(src, u_uintN_max(dst_size)); in _mesa_unsigned_to_unsigned() 156 _mesa_unsigned_to_signed(unsigned src, unsigned dst_size) in _mesa_unsigned_to_signed() argument 158 return MIN2(src, (unsigned)u_intN_max(dst_size)); in _mesa_unsigned_to_signed() 162 _mesa_signed_to_signed(int src, unsigned dst_size) in _mesa_signed_to_signed() argument 164 return CLAMP(src, u_intN_min(dst_size), u_intN_max(dst_size)); in _mesa_signed_to_signed() 168 _mesa_signed_to_unsigned(int src, unsigned dst_size) in _mesa_signed_to_unsigned() argument 170 return CLAMP(src, 0, u_uintN_max(dst_size)); in _mesa_signed_to_unsigned() 174 _mesa_float_to_unsigned(float src, unsigned dst_bits) in _mesa_float_to_unsigned() argument 176 if (src < 0.0f) in _mesa_float_to_unsigned() [all …]
|
D | u_format_s3tc.c | 46 util_format_dxt1_rgb_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsigned… in util_format_dxt1_rgb_fetch_rgba_8unorm() argument 48 util_format_dxt1_rgb_fetch(0, src, i, j, dst); in util_format_dxt1_rgb_fetch_rgba_8unorm() 52 util_format_dxt1_rgba_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsigne… in util_format_dxt1_rgba_fetch_rgba_8unorm() argument 54 util_format_dxt1_rgba_fetch(0, src, i, j, dst); in util_format_dxt1_rgba_fetch_rgba_8unorm() 58 util_format_dxt3_rgba_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsigne… in util_format_dxt3_rgba_fetch_rgba_8unorm() argument 60 util_format_dxt3_rgba_fetch(0, src, i, j, dst); in util_format_dxt3_rgba_fetch_rgba_8unorm() 64 util_format_dxt5_rgba_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsigne… in util_format_dxt5_rgba_fetch_rgba_8unorm() argument 66 util_format_dxt5_rgba_fetch(0, src, i, j, dst); in util_format_dxt5_rgba_fetch_rgba_8unorm() 70 util_format_dxt1_rgb_fetch_rgba(void *restrict in_dst, const uint8_t *restrict src, unsigned i, uns… in util_format_dxt1_rgb_fetch_rgba() argument 74 util_format_dxt1_rgb_fetch(0, src, i, j, tmp); in util_format_dxt1_rgb_fetch_rgba() [all …]
|
D | u_format_zs.c | 147 const uint16_t *src = (const uint16_t *)src_row; in util_format_z16_unorm_unpack_z_float() local 149 *dst++ = z16_unorm_to_z32_float(*src++); in util_format_z16_unorm_unpack_z_float() 163 const float *src = src_row; in util_format_z16_unorm_pack_z_float() local 166 *dst++ = z32_float_to_z16_unorm(*src++); in util_format_z16_unorm_pack_z_float() 181 const uint16_t *src = (const uint16_t *)src_row; in util_format_z16_unorm_unpack_z_32unorm() local 183 *dst++ = z16_unorm_to_z32_unorm(*src++); in util_format_z16_unorm_unpack_z_32unorm() 197 const uint32_t *src = src_row; in util_format_z16_unorm_pack_z_32unorm() local 200 *dst++ = z32_unorm_to_z16_unorm(*src++); in util_format_z16_unorm_pack_z_32unorm() 215 const uint32_t *src = (const uint32_t *)src_row; in util_format_z32_unorm_unpack_z_float() local 217 *dst++ = z32_unorm_to_z32_float(*src++); in util_format_z32_unorm_unpack_z_float() [all …]
|
D | u_format_latc.c | 33 util_format_latc1_unorm_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsig… in util_format_latc1_unorm_fetch_rgba_8unorm() argument 39 util_format_unsigned_fetch_texel_rgtc(0, src, i, j, dst, 1); in util_format_latc1_unorm_fetch_rgba_8unorm() 65 const uint8_t *src = src_row; in util_format_latc1_unorm_unpack_rgba_float() local 71 util_format_unsigned_fetch_texel_rgtc(0, src, i, j, &tmp_r, 1); in util_format_latc1_unorm_unpack_rgba_float() 78 src += block_size; in util_format_latc1_unorm_unpack_rgba_float() 91 util_format_latc1_unorm_fetch_rgba(void *restrict in_dst, const uint8_t *restrict src, unsigned i, … in util_format_latc1_unorm_fetch_rgba() argument 96 util_format_unsigned_fetch_texel_rgtc(0, src, i, j, &tmp_r, 1); in util_format_latc1_unorm_fetch_rgba() 104 …mat_latc1_snorm_fetch_rgba_8unorm(UNUSED uint8_t *restrict dst, UNUSED const uint8_t *restrict src, in util_format_latc1_snorm_fetch_rgba_8unorm() argument 139 const int8_t *src = (int8_t *)src_row; in util_format_latc1_snorm_unpack_rgba_float() local 145 util_format_signed_fetch_texel_rgtc(0, src, i, j, &tmp_r, 1); in util_format_latc1_snorm_unpack_rgba_float() [all …]
|
D | u_format_rgtc.c | 32 util_format_rgtc1_unorm_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsig… in util_format_rgtc1_unorm_fetch_rgba_8unorm() argument 34 util_format_unsigned_fetch_texel_rgtc(0, src, i, j, dst, 1); in util_format_rgtc1_unorm_fetch_rgba_8unorm() 48 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_r_8unorm() local 55 util_format_unsigned_fetch_texel_rgtc(0, src, i, j, dst, 1); in util_format_rgtc1_unorm_unpack_r_8unorm() 58 src += block_size; in util_format_rgtc1_unorm_unpack_r_8unorm() 72 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_8unorm() local 79 util_format_unsigned_fetch_texel_rgtc(0, src, i, j, dst, 1); in util_format_rgtc1_unorm_unpack_rgba_8unorm() 85 src += block_size; in util_format_rgtc1_unorm_unpack_rgba_8unorm() 120 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_float() local 128 util_format_unsigned_fetch_texel_rgtc(0, src, i, j, &tmp_r, 1); in util_format_rgtc1_unorm_unpack_rgba_float() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehicleUtils.cpp | 82 const VehiclePropValue::RawValue& src) { in copyVehicleRawValue() argument 83 dest->int32Values = src.int32Values; in copyVehicleRawValue() 84 dest->floatValues = src.floatValues; in copyVehicleRawValue() 85 dest->int64Values = src.int64Values; in copyVehicleRawValue() 86 dest->bytes = src.bytes; in copyVehicleRawValue() 87 dest->stringValue = src.stringValue; in copyVehicleRawValue() 93 inline void copyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in copyHidlVec() argument 94 for (size_t i = 0; i < std::min(dest->size(), src.size()); i++) { in copyHidlVec() 95 (*dest)[i] = src[i]; in copyHidlVec() 100 void shallowCopyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in shallowCopyHidlVec() argument [all …]
|
/hardware/interfaces/sensors/common/utils/ |
D | convertV2_1.h | 80 inline void convertToSensor(const V2_1::SensorInfo& src, sensor_t* dst) { in convertToSensor() argument 81 dst->name = strdup(src.name.c_str()); in convertToSensor() 82 dst->vendor = strdup(src.vendor.c_str()); in convertToSensor() 83 dst->version = src.version; in convertToSensor() 84 dst->handle = src.sensorHandle; in convertToSensor() 85 dst->type = (int)src.type; in convertToSensor() 86 dst->maxRange = src.maxRange; in convertToSensor() 87 dst->resolution = src.resolution; in convertToSensor() 88 dst->power = src.power; in convertToSensor() 89 dst->minDelay = src.minDelay; in convertToSensor() [all …]
|
/hardware/google/graphics/gs201/libhwc2.1/libresource/ |
D | ExynosMPPModule.cpp | 37 const struct exynos_image &src, in checkSpecificRestriction() argument 41 VendorGraphicBufferMeta gmeta(src.bufferHandle); in checkSpecificRestriction() 45 if (src.w >= 3584 && src.h >= 1600) { in checkSpecificRestriction() 49 if (src.h >= 2600 && src.w >= 1450 && src.h > dst.h && (dst.h * 100 / src.h) < 67) { in checkSpecificRestriction() 52 } else if (src.w >= 1680 && src.h > dst.h && (dst.h * 100 / src.h) < 60) { in checkSpecificRestriction() 58 return ExynosMPP::checkSpecificRestriction(refreshRate, src, dst); in checkSpecificRestriction() 62 struct exynos_image &src, in isSupported() argument 64 if (mPhysicalType < MPP_DPP_NUM && src.bufferHandle != nullptr) { in isSupported() 67 if (checkSpecificRestriction(refreshRate, src, dst)) { in isSupported() 72 return ExynosMPP::isSupported(display, src, dst); in isSupported()
|
/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/google/graphics/common/libion/test/ |
D | ion_device_test.cpp | 56 void *src = ionMmap(fd, size); in TEST_F() local 58 fill(src, size, 0); in TEST_F() 66 ionMunmap(src, size); in TEST_F() 92 char *src = new char[size]; in TEST_F() local 95 fill(src, size, 0); in TEST_F() 98 ionTestWriteKernel(fd, src, size, 0); in TEST_F() 102 delete [] src; in TEST_F() 131 void *src = ionMmap(fd, size); in TEST_F() local 133 fill(src, size, 0); in TEST_F() 141 ionMunmap(src, size); in TEST_F() [all …]
|
/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() 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/sm7250/display/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 118 static EGLImageBuffer* L_wrap(const private_handle_t *src) in L_wrap() argument 123 uint32_t unaligned_width = src->unaligned_width; in L_wrap() 124 uint32_t unaligned_height = src->unaligned_height; in L_wrap() 125 uint32_t stride = src->width; in L_wrap() 126 native_handle_t *native_handle = const_cast<private_handle_t *>(src); in L_wrap() 129 if(!getMetaData(const_cast<private_handle_t *>(src), GET_BUFFER_GEOMETRY, &custom_dim)) { in L_wrap() 133 gralloc::BufferInfo info(unaligned_width, unaligned_height, src->format, src->usage); in L_wrap() 141 if (src->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in L_wrap() 146 new android::GraphicBuffer(unaligned_width, unaligned_height, src->format, in L_wrap() 162 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap() local [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/google/graphics/common/libhwc2.1/libresource/ |
D | ExynosMPP.cpp | 285 bool ExynosMPP::isDataspaceSupportedByMPP(struct exynos_image &src, struct exynos_image &dst) in isDataspaceSupportedByMPP() argument 287 uint32_t srcStandard = (src.dataSpace & HAL_DATASPACE_STANDARD_MASK); in isDataspaceSupportedByMPP() 289 uint32_t srcTransfer = (src.dataSpace & HAL_DATASPACE_TRANSFER_MASK); in isDataspaceSupportedByMPP() 306 if (!hasHdrInfo(src) && ((mAttr & MPP_ATTR_WCG) == 0)) in isDataspaceSupportedByMPP() 321 return checkCSCRestriction(src, dst); in isDataspaceSupportedByMPP() 324 bool ExynosMPP::isSupportedHDR(struct exynos_image &src, struct exynos_image &dst) in isSupportedHDR() argument 327 uint32_t srcStandard = (src.dataSpace & HAL_DATASPACE_STANDARD_MASK); in isSupportedHDR() 329 uint32_t srcTransfer = (src.dataSpace & HAL_DATASPACE_TRANSFER_MASK); in isSupportedHDR() 332 if (hasHdr10Plus(src) || hasHdrInfo(src) ) { in isSupportedHDR() 345 bool ExynosMPP::isSupportedHStrideCrop(struct exynos_image __unused &src) in isSupportedHStrideCrop() argument [all …]
|
/hardware/interfaces/automotive/evs/common/utils/default/ |
D | FormatConvert.cpp | 78 uint8_t* src, in copyNV21toRGB32() argument 90 uint8_t* srcY = src; in copyNV21toRGB32() 91 uint8_t* srcUV = src+offsetUV; in copyNV21toRGB32() 110 uint8_t* src, in copyYV12toRGB32() argument 125 uint8_t* srcY = src; in copyYV12toRGB32() 126 uint8_t* srcU = src+offsetU; in copyYV12toRGB32() 127 uint8_t* srcV = src+offsetV; in copyYV12toRGB32() 145 uint8_t* src, unsigned srcStridePixels, in copyYUYVtoRGB32() argument 149 uint32_t* srcWords = (uint32_t*)src; in copyYUYVtoRGB32() 178 uint8_t* src, in copyNV21toBGR32() argument [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/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_meta_private.h | 45 const struct vk_meta_rendering_info *src) in vk_meta_rendering_info_copy() argument 47 dst->view_mask = src->view_mask; in vk_meta_rendering_info_copy() 48 dst->samples = src->samples; in vk_meta_rendering_info_copy() 49 dst->color_attachment_count = src->color_attachment_count; in vk_meta_rendering_info_copy() 50 for (uint32_t a = 0; a < src->color_attachment_count; a++) in vk_meta_rendering_info_copy() 51 dst->color_attachment_formats[a] = src->color_attachment_formats[a]; in vk_meta_rendering_info_copy() 52 dst->depth_attachment_format = src->depth_attachment_format; in vk_meta_rendering_info_copy() 53 dst->stencil_attachment_format = src->stencil_attachment_format; in vk_meta_rendering_info_copy()
|
/hardware/qcom/display/msm8909/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()
|