Home
last modified time | relevance | path

Searched refs:transform (Results 1 – 25 of 96) sorted by relevance

1234

/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_stack.h124 bool operator==(const LayerTransform& transform) const {
125 return (rotation == transform.rotation && flip_horizontal == transform.flip_horizontal &&
126 flip_vertical == transform.flip_vertical);
129 bool operator!=(const LayerTransform& transform) const {
130 return !operator==(transform);
291 LayerTransform transform; //!< Rotation/Flip operations which need to be member
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DRotationBufferProvider.h46 bool setupRotationBuffer(VideoPayloadBuffer *payload, int transform);
51 bool startVA(VideoPayloadBuffer *payload, int transform);
53 bool isContextChanged(int width, int height, int transform);
54 int transFromHalToVa(int transform);
57 bool createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTarget);
DRotationBufferProvider.cpp108 int RotationBufferProvider::transFromHalToVa(int transform) in transFromHalToVa() argument
110 if (transform == HAL_TRANSFORM_ROT_90) in transFromHalToVa()
112 if (transform == HAL_TRANSFORM_ROT_180) in transFromHalToVa()
114 if (transform == HAL_TRANSFORM_ROT_270) in transFromHalToVa()
153 bool RotationBufferProvider::createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTar… in createVaSurface() argument
164 if (transFromHalToVa(transform) == VA_ROTATION_180) { in createVaSurface()
253 bool RotationBufferProvider::startVA(VideoPayloadBuffer *payload, int transform) in startVA() argument
313 ret = createVaSurface(payload, transform, true); in startVA()
366 if (!(pipelineCaps.rotation_flags & (1 << transFromHalToVa(transform)))) { in startVA()
368 transFromHalToVa(transform)); in startVA()
[all …]
DVideoPayloadManager.cpp49 metadata->transform = p->metadata_transform; in getMetaData()
86 if (metadata->transform == 0 || metadata->transform == HAL_TRANSFORM_ROT_180) { in getMetaData()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DRotationBufferProvider.h46 bool setupRotationBuffer(VideoPayloadBuffer *payload, int transform);
51 bool startVA(VideoPayloadBuffer *payload, int transform);
53 bool isContextChanged(int width, int height, int transform);
54 int transFromHalToVa(int transform);
57 bool createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTarget);
DRotationBufferProvider.cpp108 int RotationBufferProvider::transFromHalToVa(int transform) in transFromHalToVa() argument
110 if (transform == HAL_TRANSFORM_ROT_90) in transFromHalToVa()
112 if (transform == HAL_TRANSFORM_ROT_180) in transFromHalToVa()
114 if (transform == HAL_TRANSFORM_ROT_270) in transFromHalToVa()
153 bool RotationBufferProvider::createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTar… in createVaSurface() argument
164 if (transFromHalToVa(transform) == VA_ROTATION_180) { in createVaSurface()
252 bool RotationBufferProvider::startVA(VideoPayloadBuffer *payload, int transform) in startVA() argument
312 ret = createVaSurface(payload, transform, true); in startVA()
365 if (!(pipelineCaps.rotation_flags & (1 << transFromHalToVa(transform)))) { in startVA()
367 transFromHalToVa(transform)); in startVA()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_fbupdate.cpp173 int transform = layer->transform; in configure() local
177 static_cast<ovutils::eTransform>(transform); in configure()
196 transform, orient); in configure()
199 setMdpFlags(ctx, layer, mdpFlags, 0, transform); in configure()
209 transform = 0; in configure()
285 static_cast<ovutils::eTransform>(layer->transform); in configure()
302 int transform = layer->transform; in configure() local
322 transform, orient); in configure()
465 int transform = layer->transform; in configure() local
467 static_cast<ovutils::eTransform>(transform); in configure()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_idct4x4_add_neon.asm27 ; The 2D transform is done with two passes which are actually pretty
28 ; similar. We first transform the rows. This is done by transposing
29 ; the inputs, doing an SIMD column transform (the columns are the
31 ; in normal/row positions). Then, we transform the columns by doing
32 ; another SIMD column transform.
33 ; So, two passes of a transpose followed by a column transform.
73 ; do the transform on transposed rows
124 ; do the transform on columns
Dvp9_iht4x4_add_neon.asm158 ; decide the type of transform
169 ; first transform rows
175 ; then transform columns
185 ; first transform rows
191 ; then transform columns
200 ; first transform rows
206 ; then transform columns
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_fbupdate.cpp176 int transform = layer->transform; in configure() local
180 static_cast<ovutils::eTransform>(transform); in configure()
199 transform, orient); in configure()
202 setMdpFlags(ctx, layer, mdpFlags, 0, transform); in configure()
212 transform = 0; in configure()
291 static_cast<ovutils::eTransform>(layer->transform); in configure()
308 int transform = layer->transform; in configure() local
328 transform, orient); in configure()
473 int transform = layer->transform; in configure() local
475 static_cast<ovutils::eTransform>(transform); in configure()
[all …]
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c105 static int rgz_get_orientation(unsigned int transform);
106 static int rgz_get_flip_flags(unsigned int transform, int use_src2_flags);
242 l->compositionType, l->flags, l->handle, l->transform, l->blending, in dump_layer()
352 srcgeom->orientation = rgz_get_orientation(hwc_layer->transform); in rgz_set_src_data()
354 if (hwc_layer->transform & HAL_TRANSFORM_ROT_90) in rgz_set_src_data()
424 e->bp.flags |= rgz_get_flip_flags(hwc_src1->transform, 0); in rgz_hwc_subregion_copy()
459 e->bp.flags |= rgz_get_flip_flags(hwc_src1->transform, 0); in rgz_hwc_subregion_blend()
481 e->bp.flags |= rgz_get_flip_flags(hwc_src2->transform, 1); in rgz_hwc_subregion_blend()
596 if (layer->transform & HWC_TRANSFORM_ROT_90) in getscalew()
607 if (layer->transform & HWC_TRANSFORM_ROT_90) in getscaleh()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp454 if(layer->transform & HWC_TRANSFORM_ROT_90) in setListStats()
777 void trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, in trimLayer() argument
784 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
793 const int& transform = layer->transform; in setMdpFlags() local
811 if(transform & HWC_TRANSFORM_ROT_90) { in setMdpFlags()
819 if(!(layer->transform & HWC_TRANSFORM_ROT_90) && !rotDownscale) { in setMdpFlags()
820 if(layer->transform & HWC_TRANSFORM_FLIP_H) { in setMdpFlags()
824 if(layer->transform & HWC_TRANSFORM_FLIP_V) { in setMdpFlags()
945 int transform = layer->transform; in configureLowRes() local
946 eTransform orient = static_cast<eTransform>(transform); in configureLowRes()
[all …]
Dhwc_fbupdate.cpp103 int transform = layer->transform; in configure() local
105 static_cast<ovutils::eTransform>(transform); in configure()
231 int transform = layer->transform; in configure() local
233 static_cast<ovutils::eTransform>(transform); in configure()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dimg_gralloc_public.h235 int w, int h, int x, int y, int transform,
279 int transform, int input_fence, in gralloc_module_blit_handle_to_handle_img() argument
283 src, dest, w, h, x, y, transform, input_fence, in gralloc_module_blit_handle_to_handle_img()
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dimg_gralloc_public.h235 int w, int h, int x, int y, int transform,
279 int transform, int input_fence, in gralloc_module_blit_handle_to_handle_img() argument
283 src, dest, w, h, x, y, transform, input_fence, in gralloc_module_blit_handle_to_handle_img()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_fbupdate.cpp182 int transform = layer->transform; in configure() local
186 static_cast<ovutils::eTransform>(transform); in configure()
207 transform, orient); in configure()
210 setMdpFlags(ctx, layer, mdpFlags, 0, transform); in configure()
220 transform = 0; in configure()
302 static_cast<ovutils::eTransform>(layer->transform); in configure()
453 int transform = layer->transform; in configure() local
455 static_cast<ovutils::eTransform>(transform); in configure()
Dhwc_utils.cpp586 int& transform, in calcExtDisplayPosition() argument
642 transform = extOrient; in calcExtDisplayPosition()
791 static void trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, in trimLayer() argument
799 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
809 list->hwLayers[i].transform, in trimList()
1202 int transform =layer->transform; in optimizeLayerRects() local
1210 dest_rect, transform); in optimizeLayerRects()
1461 int rotDownscale, int transform) { in setMdpFlags() argument
1497 if(!(transform & HWC_TRANSFORM_ROT_90) && !rotDownscale) { in setMdpFlags()
1498 if(transform & HWC_TRANSFORM_FLIP_H) { in setMdpFlags()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_fbupdate.cpp176 int transform = layer->transform; in configure() local
180 static_cast<ovutils::eTransform>(transform); in configure()
201 transform, orient); in configure()
204 setMdpFlags(layer, mdpFlags, 0, transform); in configure()
214 transform = 0; in configure()
296 static_cast<ovutils::eTransform>(layer->transform); in configure()
447 int transform = layer->transform; in configure() local
449 static_cast<ovutils::eTransform>(transform); in configure()
Dhwc_utils.cpp599 int& transform, in calcExtDisplayPosition() argument
655 transform = extOrient; in calcExtDisplayPosition()
804 static void trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, in trimLayer() argument
812 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
822 list->hwLayers[i].transform, in trimList()
1214 int transform =layer->transform; in optimizeLayerRects() local
1222 dest_rect, transform); in optimizeLayerRects()
1446 int rotDownscale, int transform) { in setMdpFlags() argument
1466 if(transform & HWC_TRANSFORM_ROT_90) { in setMdpFlags()
1481 if(!(transform & HWC_TRANSFORM_ROT_90) && !rotDownscale) { in setMdpFlags()
[all …]
Dhwc_copybit.cpp182 if (layer->transform & HAL_TRANSFORM_ROT_90) { in prepare()
400 int layerTransform = layer->transform ; in drawLayerUsingCopybit()
407 if (((layer->transform& HAL_TRANSFORM_FLIP_H) || in drawLayerUsingCopybit()
408 (layer->transform & HAL_TRANSFORM_FLIP_V)) && in drawLayerUsingCopybit()
409 (layer->transform & HAL_TRANSFORM_ROT_90) && in drawLayerUsingCopybit()
410 !(layer->transform == HAL_TRANSFORM_ROT_270)){ in drawLayerUsingCopybit()
411 if(layer->transform & HAL_TRANSFORM_FLIP_H){ in drawLayerUsingCopybit()
415 if(layer->transform & HAL_TRANSFORM_FLIP_V){ in drawLayerUsingCopybit()
454 if (layer->transform & HWC_TRANSFORM_ROT_90) { in drawLayerUsingCopybit()
630 uint32_t color = layer->transform; in fillColorUsingCopybit()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/
Dlibvpx.mk99 $(transform-generated-source)
107 $(transform-generated-source)
120 $(transform-generated-source)
138 $(transform-generated-source)
/hardware/bsp/intel/peripheral/light/mraa/
Dlights.c54 int (*transform)(int); member
294 if (dev->transform != NULL) { in set_light_generic()
295 current_state->color = dev->transform(current_state->color); in set_light_generic()
440 light_devices[type].transform = NULL; in init_module()
459 light_devices[type].transform = invert_value; in init_module()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DPlaneCapabilities.cpp40 uint32_t trans = hwcLayer->getLayer()->transform; in isFormatSupported()
168 uint32_t trans = hwcLayer->getLayer()->transform; in isScalingSupported()
231 uint32_t trans = hwcLayer->getLayer()->transform; in isTransformSupported()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp541 int transform = 0; in DrawRectUsingCopybit() local
542 if (layer->transform.rotation != 0.0f) transform |= COPYBIT_TRANSFORM_ROT_90; in DrawRectUsingCopybit()
543 if (layer->transform.flip_horizontal) transform |= COPYBIT_TRANSFORM_FLIP_H; in DrawRectUsingCopybit()
544 if (layer->transform.flip_vertical) transform |= COPYBIT_TRANSFORM_FLIP_V; in DrawRectUsingCopybit()
545 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_TRANSFORM, transform); in DrawRectUsingCopybit()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DPlaneCapabilities.cpp41 uint32_t trans = hwcLayer->getLayer()->transform; in isFormatSupported()
188 uint32_t trans = hwcLayer->getLayer()->transform; in isScalingSupported()
259 uint32_t trans = hwcLayer->getLayer()->transform; in isTransformSupported()

1234