/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmcdc.h | 30 uint32 flags; /* flag defns given below */ member 57 #define CDC_IOC_IF_IDX(flags) (((flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT) argument 58 #define CDC_IOC_ID(flags) (((flags) & CDCF_IOC_ID_MASK) >> CDCF_IOC_ID_SHIFT) argument 61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT)) 63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT))) 72 uint8 flags; /* Flags */ member 119 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT))) 123 ((hdr)->flags = (((hdr)->flags & ~BDC_FLAG_PAD_MASK) | \
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxEnc.cpp | 318 vpx_enc_frame_flags_t flags = 0; in getEncodeFlags() local 324 flags |= VP8_EFLAG_NO_UPD_GF; in getEncodeFlags() 325 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 326 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 327 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 330 flags |= VP8_EFLAG_NO_REF_GF; in getEncodeFlags() 333 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() 334 flags |= VP8_EFLAG_NO_UPD_ARF; in getEncodeFlags() 335 flags |= VP8_EFLAG_NO_UPD_LAST; in getEncodeFlags() 338 flags |= VP8_EFLAG_NO_REF_ARF; in getEncodeFlags() [all …]
|
/hardware/qcom/gps/msm8998/android/ |
D | Gnss.cpp | 144 } else if (gnssConfig.flags != 0) { in updateConfiguration() 148 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in updateConfiguration() 149 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT; in updateConfiguration() 152 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in updateConfiguration() 153 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in updateConfiguration() 156 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT) { in updateConfiguration() 157 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT; in updateConfiguration() 167 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) { in updateConfiguration() 168 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT; in updateConfiguration() 171 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { in updateConfiguration() [all …]
|
/hardware/qcom/gps/msm8909w_3100/android/ |
D | Gnss.cpp | 144 } else if (gnssConfig.flags != 0) { in updateConfiguration() 148 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in updateConfiguration() 149 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT; in updateConfiguration() 152 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in updateConfiguration() 153 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in updateConfiguration() 156 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT) { in updateConfiguration() 157 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT; in updateConfiguration() 167 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) { in updateConfiguration() 168 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT; in updateConfiguration() 171 if (gnssConfig.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { in updateConfiguration() [all …]
|
/hardware/qcom/gps/msm8909w_3100/android/location_api/ |
D | MeasurementAPIClient.cpp | 141 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement() 142 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR; in convertGnssMeasurement() 143 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement() 144 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_FREQUENCY; in convertGnssMeasurement() 145 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement() 146 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_CYCLES; in convertGnssMeasurement() 147 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement() 148 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE; in convertGnssMeasurement() 149 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement() 150 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE_UNCERTAINTY; in convertGnssMeasurement() [all …]
|
D | LocationUtil.cpp | 41 if (in.flags & LOCATION_HAS_LAT_LONG_BIT) in convertGnssLocation() 43 if (in.flags & LOCATION_HAS_ALTITUDE_BIT) in convertGnssLocation() 45 if (in.flags & LOCATION_HAS_SPEED_BIT) in convertGnssLocation() 47 if (in.flags & LOCATION_HAS_BEARING_BIT) in convertGnssLocation() 49 if (in.flags & LOCATION_HAS_ACCURACY_BIT) in convertGnssLocation() 51 if (in.flags & LOCATION_HAS_VERTICAL_ACCURACY_BIT) in convertGnssLocation() 53 if (in.flags & LOCATION_HAS_SPEED_ACCURACY_BIT) in convertGnssLocation() 55 if (in.flags & LOCATION_HAS_BEARING_ACCURACY_BIT) in convertGnssLocation()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gpu.cpp | 64 int flags = 0; in gralloc_alloc_buffer() local 102 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer() 106 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer() 111 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 120 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer() 123 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 132 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer() 136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer() 140 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer() 144 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer() [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayMdssRot.cpp | 48 void MdssRot::setRotations(uint32_t flags) { mRotInfo.flags |= flags; } in setRotations() argument 95 void MdssRot::setFlags(const utils::eMdpFlags& flags) { in setFlags() argument 96 mRotInfo.flags |= flags; in setFlags() 102 mRotInfo.flags &= ~MDSS_ROT_MASK; in setTransform() 103 int flags = utils::getMdpOrient(rot); in setTransform() local 104 if (flags != -1) in setTransform() 105 setRotations(flags); in setTransform() 108 mOrientation = static_cast<utils::eTransform>(flags); in setTransform() 109 ALOGE_IF(DEBUG_OVERLAY, "%s: rot=%d", __FUNCTION__, flags); in setTransform() 119 mRotInfo.flags |= MDSS_MDP_ROT_ONLY; in commit() [all …]
|
/hardware/qcom/gps/msm8998/android/location_api/ |
D | GnssMeasurementAPIClient.cpp | 164 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement() 165 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR; in convertGnssMeasurement() 166 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement() 167 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_FREQUENCY; in convertGnssMeasurement() 168 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement() 169 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_CYCLES; in convertGnssMeasurement() 170 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement() 171 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE; in convertGnssMeasurement() 172 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement() 173 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE_UNCERTAINTY; in convertGnssMeasurement() [all …]
|
D | LocationUtil.cpp | 41 if (in.flags & LOCATION_HAS_LAT_LONG_BIT) in convertGnssLocation() 43 if (in.flags & LOCATION_HAS_ALTITUDE_BIT) in convertGnssLocation() 45 if (in.flags & LOCATION_HAS_SPEED_BIT) in convertGnssLocation() 47 if (in.flags & LOCATION_HAS_BEARING_BIT) in convertGnssLocation() 49 if (in.flags & LOCATION_HAS_ACCURACY_BIT) in convertGnssLocation() 51 if (in.flags & LOCATION_HAS_VERTICAL_ACCURACY_BIT) in convertGnssLocation() 53 if (in.flags & LOCATION_HAS_SPEED_ACCURACY_BIT) in convertGnssLocation() 55 if (in.flags & LOCATION_HAS_BEARING_ACCURACY_BIT) in convertGnssLocation()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMdssRot.cpp | 51 void MdssRot::setRotations(uint32_t flags) { mRotInfo.flags |= flags; } in setRotations() argument 109 void MdssRot::setFlags(const utils::eMdpFlags& flags) { in setFlags() argument 110 mRotInfo.flags = flags; in setFlags() 116 mRotInfo.flags &= ~MDSS_ROT_MASK; in setTransform() 117 int flags = utils::getMdpOrient(rot); in setTransform() local 118 if (flags != -1) in setTransform() 119 setRotations(flags); in setTransform() 120 mOrientation = static_cast<utils::eTransform>(flags); in setTransform() 121 ALOGE_IF(DEBUG_OVERLAY, "%s: rot=%d", __FUNCTION__, flags); in setTransform() 125 mRotInfo.flags |= mOrientation; in doTransform() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayMdssRot.cpp | 51 void MdssRot::setRotations(uint32_t flags) { mRotInfo.flags |= flags; } in setRotations() argument 100 void MdssRot::setFlags(const utils::eMdpFlags& flags) { in setFlags() argument 101 mRotInfo.flags = flags; in setFlags() 107 mRotInfo.flags &= ~MDSS_ROT_MASK; in setTransform() 108 int flags = utils::getMdpOrient(rot); in setTransform() local 109 if (flags != -1) in setTransform() 110 setRotations(flags); in setTransform() 111 mOrientation = static_cast<utils::eTransform>(flags); in setTransform() 112 ALOGE_IF(DEBUG_OVERLAY, "%s: rot=%d", __FUNCTION__, flags); in setTransform() 116 mRotInfo.flags |= mOrientation; in doTransform() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | mapper.cpp | 47 static IMemAlloc* getAllocator(int flags) in getAllocator() argument 51 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map() 64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map() 66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() 99 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap() 103 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() 192 if (hnd->flags & (private_handle_t::PRIV_FLAGS_USES_PMEM | in terminateBuffer() 199 hnd->flags); in terminateBuffer() 223 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) { in gralloc_map_and_invalidate() [all …]
|
D | gpu.cpp | 60 int flags = 0; in gralloc_alloc_buffer() local 99 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer() 103 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer() 108 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 117 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer() 120 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 129 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer() 133 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer() 137 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer() 141 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | mapper.cpp | 47 static IMemAlloc* getAllocator(int flags) in getAllocator() argument 51 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 63 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map() 64 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map() 66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() 99 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap() 103 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() 192 if (hnd->flags & (private_handle_t::PRIV_FLAGS_USES_PMEM | in terminateBuffer() 199 hnd->flags); in terminateBuffer() 223 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) { in gralloc_map_and_invalidate() [all …]
|
D | gpu.cpp | 59 int flags = 0; in gralloc_alloc_buffer() local 98 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer() 102 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer() 107 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer() 119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 128 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer() 132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer() 136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer() 140 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer() [all …]
|
/hardware/interfaces/gnss/1.0/default/ |
D | GnssUtils.cpp | 34 .gnssLocationFlags = static_cast<uint16_t>(location->flags & 0x1f), in convertToGnssLocation() 69 if (flpLocation->flags & FLP_LOCATION_HAS_LAT_LONG) { in convertToGnssLocation() 72 if (flpLocation->flags & FLP_LOCATION_HAS_ALTITUDE) { in convertToGnssLocation() 75 if (flpLocation->flags & FLP_LOCATION_HAS_SPEED) { in convertToGnssLocation() 78 if (flpLocation->flags & FLP_LOCATION_HAS_BEARING) { in convertToGnssLocation() 81 if (flpLocation->flags & FLP_LOCATION_HAS_ACCURACY) { in convertToGnssLocation()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_pcm.c | 396 if (pcm->flags & DEBUG_ON) { in pcm_avail() 402 if (pcm->flags & PCM_IN) { in pcm_avail() 408 …long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ?… in pcm_avail() 436 int channels = (pcm->flags & PCM_MONO) ? 1 : 2; in mmap_buffer() 439 if (pcm->flags & DEBUG_ON) in mmap_buffer() 461 …appl_ptr = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.appl_ptr… in dst_address() 474 int channels = (pcm->flags & PCM_MONO) ? 1 : 2; in mmap_transfer() 496 int channels = (pcm->flags & PCM_MONO) ? 1 : 2; in mmap_transfer_capture() 497 …unsigned int tmp = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.… in mmap_transfer_capture() 528 frames = (pcm->flags & PCM_MONO) ? (count / 2) : (count / 4); in pcm_write_mmap() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gpu.cpp | 63 int flags = 0; in gralloc_alloc_buffer() local 103 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer() 107 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer() 111 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer() 115 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer() 119 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer() 123 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer() 127 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer() 131 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer() 135 flags |= private_handle_t::PRIV_FLAGS_TILE_RENDERED; in gralloc_alloc_buffer() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | mapper.cpp | 49 static IMemAlloc* getAllocator(int flags) in getAllocator() argument 53 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 62 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map() 63 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map() 65 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() 95 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap() 99 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() 185 if (hnd->flags & (private_handle_t::PRIV_FLAGS_USES_PMEM | in terminateBuffer() 192 hnd->flags); in terminateBuffer() 219 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_and_invalidate() [all …]
|
D | gpu.cpp | 60 int flags = 0; in gralloc_alloc_buffer() local 96 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer() 99 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_BLOCK; in gralloc_alloc_buffer() 102 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_CC; in gralloc_alloc_buffer() 110 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 114 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer() 116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer() 119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer() 124 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer() 128 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | gpu.cpp | 56 int flags = 0; in gralloc_alloc_buffer() local 107 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer() 111 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer() 115 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer() 119 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer() 123 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer() 127 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer() 131 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer() 135 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer() 139 flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_alloc_buffer() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | gpu.cpp | 56 int flags = 0; in gralloc_alloc_buffer() local 107 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer() 111 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer() 115 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer() 119 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer() 123 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer() 127 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer() 131 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer() 135 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer() 139 flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_alloc_buffer() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display.cpp | 431 layer_buffer.format = GetSDMFormat(pvt_handle->format, pvt_handle->flags); in PrepareLayerParams() 450 layer_stack_.flags.video_present = true; in PrepareLayerParams() 451 layer_buffer.flags.video = true; in PrepareLayerParams() 454 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in PrepareLayerParams() 455 layer_stack_.flags.secure_present = true; in PrepareLayerParams() 456 layer_buffer.flags.secure = true; in PrepareLayerParams() 457 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_CAMERA_WRITE) { in PrepareLayerParams() 458 layer_buffer.flags.secure_camera = true; in PrepareLayerParams() 462 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_PROTECTED_BUFFER) { in PrepareLayerParams() 463 layer_stack_.flags.secure_present = true; in PrepareLayerParams() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display.cpp | 431 layer_buffer.format = GetSDMFormat(pvt_handle->format, pvt_handle->flags); in PrepareLayerParams() 450 layer_stack_.flags.video_present = true; in PrepareLayerParams() 451 layer_buffer.flags.video = true; in PrepareLayerParams() 454 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in PrepareLayerParams() 455 layer_stack_.flags.secure_present = true; in PrepareLayerParams() 456 layer_buffer.flags.secure = true; in PrepareLayerParams() 457 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_CAMERA_WRITE) { in PrepareLayerParams() 458 layer_buffer.flags.secure_camera = true; in PrepareLayerParams() 462 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_PROTECTED_BUFFER) { in PrepareLayerParams() 463 layer_stack_.flags.secure_present = true; in PrepareLayerParams() [all …]
|