Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 163) sorted by relevance

1234567

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp189 int HWCBufferAllocator::SetBufferInfo(LayerBufferFormat format, int *target, int *flags) { in SetBufferInfo() argument
191 case kFormatRGBA8888: *target = HAL_PIXEL_FORMAT_RGBA_8888; break; in SetBufferInfo()
192 case kFormatRGBX8888: *target = HAL_PIXEL_FORMAT_RGBX_8888; break; in SetBufferInfo()
193 case kFormatRGB888: *target = HAL_PIXEL_FORMAT_RGB_888; break; in SetBufferInfo()
194 case kFormatRGB565: *target = HAL_PIXEL_FORMAT_RGB_565; break; in SetBufferInfo()
195 case kFormatBGR565: *target = HAL_PIXEL_FORMAT_BGR_565; break; in SetBufferInfo()
196 case kFormatBGRA8888: *target = HAL_PIXEL_FORMAT_BGRA_8888; break; in SetBufferInfo()
197 case kFormatYCrCb420PlanarStride16: *target = HAL_PIXEL_FORMAT_YV12; break; in SetBufferInfo()
198 case kFormatYCrCb420SemiPlanar: *target = HAL_PIXEL_FORMAT_YCrCb_420_SP; break; in SetBufferInfo()
199 case kFormatYCbCr420SemiPlanar: *target = HAL_PIXEL_FORMAT_YCbCr_420_SP; break; in SetBufferInfo()
[all …]
Dhwc_display.h148 inline void SetRect(const hwc_rect_t &source, LayerRect *target);
149 inline void SetRect(const hwc_frect_t &source, LayerRect *target);
150 inline void SetComposition(const int32_t &source, LayerComposition *target);
151 inline void SetComposition(const LayerComposition &source, int32_t *target);
152 inline void SetBlending(const int32_t &source, LayerBlending *target);
153 int SetFormat(const int32_t &source, const int flags, LayerBufferFormat *target);
159 DisplayError SetCSC(ColorSpace_t source, LayerCSC *target);
160 DisplayError SetIGC(IGC_t source, LayerIGC *target);
Dhwc_display.cpp745 void HWCDisplay::SetRect(const hwc_rect_t &source, LayerRect *target) { in SetRect() argument
746 target->left = FLOAT(source.left); in SetRect()
747 target->top = FLOAT(source.top); in SetRect()
748 target->right = FLOAT(source.right); in SetRect()
749 target->bottom = FLOAT(source.bottom); in SetRect()
752 void HWCDisplay::SetRect(const hwc_frect_t &source, LayerRect *target) { in SetRect() argument
753 target->left = floorf(source.left); in SetRect()
754 target->top = floorf(source.top); in SetRect()
755 target->right = ceilf(source.right); in SetRect()
756 target->bottom = ceilf(source.bottom); in SetRect()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp169 int HWCBufferAllocator::SetBufferInfo(LayerBufferFormat format, int *target, int *flags) { in SetBufferInfo() argument
172 *target = HAL_PIXEL_FORMAT_RGBA_8888; in SetBufferInfo()
175 *target = HAL_PIXEL_FORMAT_RGBX_8888; in SetBufferInfo()
178 *target = HAL_PIXEL_FORMAT_RGB_888; in SetBufferInfo()
181 *target = HAL_PIXEL_FORMAT_RGB_565; in SetBufferInfo()
184 *target = HAL_PIXEL_FORMAT_BGR_565; in SetBufferInfo()
187 *target = HAL_PIXEL_FORMAT_BGRA_8888; in SetBufferInfo()
190 *target = HAL_PIXEL_FORMAT_YV12; in SetBufferInfo()
193 *target = HAL_PIXEL_FORMAT_YCrCb_420_SP; in SetBufferInfo()
196 *target = HAL_PIXEL_FORMAT_YCbCr_420_SP; in SetBufferInfo()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp169 int HWCBufferAllocator::SetBufferInfo(LayerBufferFormat format, int *target, int *flags) { in SetBufferInfo() argument
172 *target = HAL_PIXEL_FORMAT_RGBA_8888; in SetBufferInfo()
175 *target = HAL_PIXEL_FORMAT_RGBX_8888; in SetBufferInfo()
178 *target = HAL_PIXEL_FORMAT_RGB_888; in SetBufferInfo()
181 *target = HAL_PIXEL_FORMAT_RGB_565; in SetBufferInfo()
184 *target = HAL_PIXEL_FORMAT_BGR_565; in SetBufferInfo()
187 *target = HAL_PIXEL_FORMAT_BGRA_8888; in SetBufferInfo()
190 *target = HAL_PIXEL_FORMAT_YV12; in SetBufferInfo()
193 *target = HAL_PIXEL_FORMAT_YCrCb_420_SP; in SetBufferInfo()
196 *target = HAL_PIXEL_FORMAT_YCbCr_420_SP; in SetBufferInfo()
[all …]
Dhwc_layers.cpp288 void HWCLayer::SetRect(const hwc_rect_t &source, LayerRect *target) { in SetRect() argument
289 target->left = FLOAT(source.left); in SetRect()
290 target->top = FLOAT(source.top); in SetRect()
291 target->right = FLOAT(source.right); in SetRect()
292 target->bottom = FLOAT(source.bottom); in SetRect()
295 void HWCLayer::SetRect(const hwc_frect_t &source, LayerRect *target) { in SetRect() argument
297 target->left = std::ceil(source.left); in SetRect()
298 target->top = std::ceil(source.top); in SetRect()
299 target->right = std::floor(source.right); in SetRect()
300 target->bottom = std::floor(source.bottom); in SetRect()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp202 int HWCBufferAllocator::SetBufferInfo(LayerBufferFormat format, int *target, int *flags) { in SetBufferInfo() argument
204 case kFormatRGBA8888: *target = HAL_PIXEL_FORMAT_RGBA_8888; break; in SetBufferInfo()
205 case kFormatRGBX8888: *target = HAL_PIXEL_FORMAT_RGBX_8888; break; in SetBufferInfo()
206 case kFormatRGB888: *target = HAL_PIXEL_FORMAT_RGB_888; break; in SetBufferInfo()
207 case kFormatRGB565: *target = HAL_PIXEL_FORMAT_RGB_565; break; in SetBufferInfo()
208 case kFormatBGR565: *target = HAL_PIXEL_FORMAT_BGR_565; break; in SetBufferInfo()
209 case kFormatBGRA8888: *target = HAL_PIXEL_FORMAT_BGRA_8888; break; in SetBufferInfo()
210 case kFormatYCrCb420PlanarStride16: *target = HAL_PIXEL_FORMAT_YV12; break; in SetBufferInfo()
211 case kFormatYCrCb420SemiPlanar: *target = HAL_PIXEL_FORMAT_YCrCb_420_SP; break; in SetBufferInfo()
212 case kFormatYCbCr420SemiPlanar: *target = HAL_PIXEL_FORMAT_YCbCr_420_SP; break; in SetBufferInfo()
[all …]
Dhwc_display.cpp696 void HWCDisplay::SetLayerS3DMode(const LayerBufferS3DFormat &source, uint32_t *target) { in SetLayerS3DMode() argument
699 case kS3dFormatNone: *target = HWC_S3DMODE_NONE; break; in SetLayerS3DMode()
700 case kS3dFormatLeftRight: *target = HWC_S3DMODE_LR; break; in SetLayerS3DMode()
701 case kS3dFormatRightLeft: *target = HWC_S3DMODE_RL; break; in SetLayerS3DMode()
702 case kS3dFormatTopBottom: *target = HWC_S3DMODE_TB; break; in SetLayerS3DMode()
703 case kS3dFormatFramePacking: *target = HWC_S3DMODE_FP; break; in SetLayerS3DMode()
704 default: *target = HWC_S3DMODE_MAX; break; in SetLayerS3DMode()
929 void HWCDisplay::SetRect(const hwc_rect_t &source, LayerRect *target) { in SetRect() argument
930 target->left = FLOAT(source.left); in SetRect()
931 target->top = FLOAT(source.top); in SetRect()
[all …]
/hardware/qcom/media/msm8998/
Dconfigure.ac29 AC_ARG_ENABLE([target-msm8953],
30 AC_HELP_STRING([--enable-target-msm8953],
31 [Enable conditional compile for target msm8953 [default=no]]),
34 AC_ARG_ENABLE([target-msm8909],
35 AC_HELP_STRING([--enable-target-msm8909],
36 [Enable conditional compile for target msm8909 [default=no]]),
39 AC_ARG_ENABLE([target-msm8996],
40 AC_HELP_STRING([--enable-target-msm8996],
41 [Enable conditional compile for target msm8996 [default=no]]),
44 AC_ARG_ENABLE([target-msm8610],
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_device.cpp524 DisplayError HWDevice::SetFormat(const LayerBufferFormat &source, uint32_t *target) { in SetFormat() argument
526 case kFormatARGB8888: *target = MDP_ARGB_8888; break; in SetFormat()
527 case kFormatRGBA8888: *target = MDP_RGBA_8888; break; in SetFormat()
528 case kFormatBGRA8888: *target = MDP_BGRA_8888; break; in SetFormat()
529 case kFormatRGBX8888: *target = MDP_RGBX_8888; break; in SetFormat()
530 case kFormatBGRX8888: *target = MDP_BGRX_8888; break; in SetFormat()
531 case kFormatRGBA5551: *target = MDP_RGBA_5551; break; in SetFormat()
532 case kFormatRGBA4444: *target = MDP_RGBA_4444; break; in SetFormat()
533 case kFormatRGB888: *target = MDP_RGB_888; break; in SetFormat()
534 case kFormatBGR888: *target = MDP_BGR_888; break; in SetFormat()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_device.cpp548 DisplayError HWDevice::SetFormat(const LayerBufferFormat &source, uint32_t *target) { in SetFormat() argument
550 case kFormatARGB8888: *target = MDP_ARGB_8888; break; in SetFormat()
551 case kFormatRGBA8888: *target = MDP_RGBA_8888; break; in SetFormat()
552 case kFormatBGRA8888: *target = MDP_BGRA_8888; break; in SetFormat()
553 case kFormatRGBX8888: *target = MDP_RGBX_8888; break; in SetFormat()
554 case kFormatBGRX8888: *target = MDP_BGRX_8888; break; in SetFormat()
555 case kFormatRGBA5551: *target = MDP_RGBA_5551; break; in SetFormat()
556 case kFormatRGBA4444: *target = MDP_RGBA_4444; break; in SetFormat()
557 case kFormatRGB888: *target = MDP_RGB_888; break; in SetFormat()
558 case kFormatBGR888: *target = MDP_BGR_888; break; in SetFormat()
[all …]
/hardware/qcom/gps/msm8960/utils/
Dloc_target.cpp87 unsigned int target = TARGET_DEFAULT; in get_target() local
105 target = TARGET_MPQ; in get_target()
107 target = TARGET_APQ_SA; in get_target()
118 target = TARGET_MDM; in get_target()
124 target = TARGET_MSM_NO_SSC; in get_target()
126 return target; in get_target()
/hardware/qcom/display/msm8998/gpu_tonemapper/
DEGLImageBuffer.cpp128 int target = 0x8D65; in bindAsTexture() local
129 GL(glBindTexture(target, textureID)); in bindAsTexture()
130 GL(glTexParameteri(target, GL_TEXTURE_MIN_FILTER, GL_LINEAR)); in bindAsTexture()
131 GL(glTexParameteri(target, GL_TEXTURE_MAG_FILTER, GL_LINEAR)); in bindAsTexture()
132 GL(glTexParameteri(target, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE)); in bindAsTexture()
133 GL(glTexParameteri(target, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE)); in bindAsTexture()
/hardware/invensense/65xx/libsensors_iio/software/build/android/
Dcommon.mk38 ANDROID_LINK += -L$(ANDROID_ROOT)/out/target/product/$(PRODUCT)/obj/lib
39 ANDROID_LINK += -L$(ANDROID_ROOT)/out/target/product/$(PRODUCT)/system/lib
46 ANDROID_LINK_EXECUTABLE += $(ANDROID_ROOT)/out/target/product/$(PRODUCT)/obj/lib/crtbegin_dynamic.o
47 ANDROID_LINK_EXECUTABLE += $(ANDROID_ROOT)/out/target/product/$(PRODUCT)/obj/lib/crtend_android.o
56 ANDROID_INCLUDES += -I$(ANDROID_ROOT)/out/target/product/generic/obj/include
67 ANDROID_INCLUDES += -I$(ANDROID_ROOT)/out/target/product/generic/obj/SHARED_LIBRARIES/libm_intermed…
/hardware/intel/common/libmix/mix_common/src/
Dmixparams.c28 static gboolean mix_params_copy_default (MixParams *target, const MixParams *src);
83 gboolean mix_params_copy (MixParams *target, const MixParams *src) in mix_params_copy() argument
86 MixParamsClass *klass = MIX_PARAMS_GET_CLASS(target); in mix_params_copy()
89 return klass->copy(target, src); in mix_params_copy()
93 return mix_params_copy_default(target, src); in mix_params_copy()
105 static gboolean mix_params_copy_default (MixParams *target, const MixParams *src) in mix_params_copy_default() argument
107 if (MIX_IS_PARAMS(target) && MIX_IS_PARAMS(src)) in mix_params_copy_default()
Dmixdrmparams.c23 gboolean mix_drmparams_copy(MixParams* target, const MixParams *src);
112 gboolean mix_drmparams_copy(MixParams* target, const MixParams *src) in mix_drmparams_copy() argument
114 if (MIX_IS_DRMPARAMS(target) && MIX_IS_DRMPARAMS(src)) in mix_drmparams_copy()
125 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST(src)); in mix_drmparams_copy()
/hardware/libhardware/tests/vehicle/
DREADME7 This code also provides a simple command line utility for the target to test the
25 These are native tests that can be run on the target to validate basic
52 i) out/target/product/XXX/vendor/lib/hw/vehicle.default.so
53 ii) out/target/product/XXX/data/nativetest/vehicle_tests
54 iii) out/target/product/XXX/system/bin/vehicle-hal-tool
57 $ adb push out/target/product/XXX/vendor/lib/hw/vehicle.default.so
63 target device. You can load it anywhere in your /data directory and run it as:
64 $ adb push out/target/product/XXX/data/nativetest/vehicle_tests
71 The last binary is the command line tool, to push the binary on your target do:
72 $ adb push out/target/product/XXX/system/bin/vehicle-hal-tool
/hardware/intel/common/libmix/mix_video/src/
Dmixdrmparams.c23 gboolean mix_drmparams_copy (MixParams * target, const MixParams * src);
117 mix_drmparams_copy (MixParams * target, const MixParams * src) in mix_drmparams_copy() argument
121 if (MIX_IS_DRMPARAMS (target) && MIX_IS_DRMPARAMS (src)) in mix_drmparams_copy()
124 this_target = MIX_DRMPARAMS (target); in mix_drmparams_copy()
132 return parent_class->copy (MIX_PARAMS_CAST (target), in mix_drmparams_copy()
Dmixvideoconfigparamsdec_h264.c23 gboolean mix_videoconfigparamsdec_h264_copy (MixParams * target,
143 mix_videoconfigparamsdec_h264_copy (MixParams * target, const MixParams * src) in mix_videoconfigparamsdec_h264_copy() argument
148 if (MIX_IS_VIDEOCONFIGPARAMSDEC_H264 (target) in mix_videoconfigparamsdec_h264_copy()
152 this_target = MIX_VIDEOCONFIGPARAMSDEC_H264 (target); in mix_videoconfigparamsdec_h264_copy()
162 return root_class->copy (MIX_PARAMS_CAST (target), in mix_videoconfigparamsdec_h264_copy()
Dmixvideoconfigparamsenc_preview.c27 gboolean mix_videoconfigparamsenc_preview_copy (MixParams * target,
148 mix_videoconfigparamsenc_preview_copy (MixParams * target, const MixParams * src) in mix_videoconfigparamsenc_preview_copy() argument
155 if (MIX_IS_VIDEOCONFIGPARAMSENC_PREVIEW (target) in mix_videoconfigparamsenc_preview_copy()
159 this_target = MIX_VIDEOCONFIGPARAMSENC_PREVIEW (target); in mix_videoconfigparamsenc_preview_copy()
167 return root_class->copy (MIX_PARAMS_CAST (target), in mix_videoconfigparamsenc_preview_copy()
Dmixvideoconfigparamsdec_vc1.c23 gboolean mix_videoconfigparamsdec_vc1_copy(MixParams * target,
127 gboolean mix_videoconfigparamsdec_vc1_copy(MixParams * target, in mix_videoconfigparamsdec_vc1_copy() argument
132 if (MIX_IS_VIDEOCONFIGPARAMSDEC_VC1(target) && MIX_IS_VIDEOCONFIGPARAMSDEC_VC1( in mix_videoconfigparamsdec_vc1_copy()
135 this_target = MIX_VIDEOCONFIGPARAMSDEC_VC1(target); in mix_videoconfigparamsdec_vc1_copy()
144 return root_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST( in mix_videoconfigparamsdec_vc1_copy()
Dmixvideoconfigparams.c25 gboolean mix_videoconfigparams_copy(MixParams * target, const MixParams * src);
111 gboolean mix_videoconfigparams_copy(MixParams * target, const MixParams * src) { in mix_videoconfigparams_copy() argument
115 if (MIX_IS_VIDEOCONFIGPARAMS(target) && MIX_IS_VIDEOCONFIGPARAMS(src)) { in mix_videoconfigparams_copy()
122 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST( in mix_videoconfigparams_copy()
/hardware/invensense/6515/libsensors_iio/software/build/android/
Dcommon.mk47 ANDROID_LINK += -L$(ANDROID_ROOT)/out/target/product/$(PRODUCT)/obj/lib
49 ANDROID_LINK += -L$(ANDROID_ROOT)/out/target/product/$(PRODUCT)/system/lib
65 ANDROID_LINK_EXECUTABLE += $(ANDROID_ROOT)/out/target/product/$(PRODUCT)/obj/lib/crtbegin_dynamic.o
66 ANDROID_LINK_EXECUTABLE += $(ANDROID_ROOT)/out/target/product/$(PRODUCT)/obj/lib/crtend_android.o
75 ANDROID_INCLUDES += -I$(ANDROID_ROOT)/out/target/product/generic/obj/include
104 ANDROID_INCLUDES += -I$(ANDROID_ROOT)/out/target/product/generic/obj/SHARED_LIBRARIES/libm_intermed…
/hardware/intel/common/libmix/mix_audio/src/
Dmixacpmp3.c26 gboolean mix_acp_mp3_copy(MixParams* target, const MixParams *src);
111 gboolean mix_acp_mp3_copy(MixParams* target, const MixParams *src) in mix_acp_mp3_copy() argument
113 if (MIX_IS_AUDIOCONFIGPARAMSMP3(target) && MIX_IS_AUDIOCONFIGPARAMSMP3(src)) in mix_acp_mp3_copy()
115 MixAudioConfigParamsMP3 *t = MIX_AUDIOCONFIGPARAMSMP3(target); in mix_acp_mp3_copy()
126 return klass->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST(src)); in mix_acp_mp3_copy()
Dmixaip.c27 gboolean mix_aip_copy(MixParams* target, const MixParams *src);
118 gboolean mix_aip_copy(MixParams* target, const MixParams *src) in mix_aip_copy() argument
120 if (MIX_IS_AUDIOINITPARAMS(target) && MIX_IS_AUDIOINITPARAMS(src)) in mix_aip_copy()
131 return parent_class->copy(MIX_PARAMS_CAST(target), MIX_PARAMS_CAST(src)); in mix_aip_copy()

1234567