Home
last modified time | relevance | path

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

123456

/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_stack.h107 bool operator==(const LayerTransform& transform) const {
108 return (rotation == transform.rotation && flip_horizontal == transform.flip_horizontal &&
109 flip_vertical == transform.flip_vertical);
112 bool operator!=(const LayerTransform& transform) const {
113 return !operator==(transform);
277 LayerTransform transform = {}; //!< Rotation/Flip operations which need to be member
/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.cpp109 int RotationBufferProvider::transFromHalToVa(int transform) in transFromHalToVa() argument
111 if (transform == HAL_TRANSFORM_ROT_90) in transFromHalToVa()
113 if (transform == HAL_TRANSFORM_ROT_180) in transFromHalToVa()
115 if (transform == HAL_TRANSFORM_ROT_270) in transFromHalToVa()
154 bool RotationBufferProvider::createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTar… in createVaSurface() argument
165 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 …]
/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.cpp109 int RotationBufferProvider::transFromHalToVa(int transform) in transFromHalToVa() argument
111 if (transform == HAL_TRANSFORM_ROT_90) in transFromHalToVa()
113 if (transform == HAL_TRANSFORM_ROT_180) in transFromHalToVa()
115 if (transform == HAL_TRANSFORM_ROT_270) in transFromHalToVa()
154 bool RotationBufferProvider::createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTar… in createVaSurface() argument
165 if (transFromHalToVa(transform) == VA_ROTATION_180) { in createVaSurface()
254 bool RotationBufferProvider::startVA(VideoPayloadBuffer *payload, int transform) in startVA() argument
314 ret = createVaSurface(payload, transform, true); in startVA()
367 if (!(pipelineCaps.rotation_flags & (1 << transFromHalToVa(transform)))) { in startVA()
369 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/qcom/display/msm8998/sdm/include/core/
Dlayer_stack.h137 bool operator==(const LayerTransform& transform) const {
138 return (rotation == transform.rotation && flip_horizontal == transform.flip_horizontal &&
139 flip_vertical == transform.flip_vertical);
142 bool operator!=(const LayerTransform& transform) const {
143 return !operator==(transform);
339 LayerTransform transform = {}; //!< Rotation/Flip operations which need to be member
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Dlayer_stack.h137 bool operator==(const LayerTransform& transform) const {
138 return (rotation == transform.rotation && flip_horizontal == transform.flip_horizontal &&
139 flip_vertical == transform.flip_vertical);
142 bool operator!=(const LayerTransform& transform) const {
143 return !operator==(transform);
340 LayerTransform transform = {}; //!< Rotation/Flip operations which need to be member
/hardware/qcom/display/msm8909/sdm/include/core/
Dlayer_stack.h137 bool operator==(const LayerTransform& transform) const {
138 return (rotation == transform.rotation && flip_horizontal == transform.flip_horizontal &&
139 flip_vertical == transform.flip_vertical);
142 bool operator!=(const LayerTransform& transform) const {
143 return !operator==(transform);
340 LayerTransform transform = {}; //!< Rotation/Flip operations which need to be member
/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/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp454 if(layer->transform & HWC_TRANSFORM_ROT_90) in setListStats()
779 void trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, in trimLayer() argument
786 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
795 const int& transform = layer->transform; in setMdpFlags() local
813 if(transform & HWC_TRANSFORM_ROT_90) { in setMdpFlags()
821 if(!(layer->transform & HWC_TRANSFORM_ROT_90) && !rotDownscale) { in setMdpFlags()
822 if(layer->transform & HWC_TRANSFORM_FLIP_H) { in setMdpFlags()
826 if(layer->transform & HWC_TRANSFORM_FLIP_V) { in setMdpFlags()
947 int transform = layer->transform; in configureLowRes() local
948 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/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()
1463 int rotDownscale, int transform) { in setMdpFlags() argument
1499 if(!(transform & HWC_TRANSFORM_ROT_90) && !rotDownscale) { in setMdpFlags()
1500 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()
1448 int rotDownscale, int transform) { in setMdpFlags() argument
1468 if(transform & HWC_TRANSFORM_ROT_90) { in setMdpFlags()
1483 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/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/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dimg_gralloc.h74 int w, int h, int x, int y, int transform, int input_fence, in gralloc0_blit_handle_to_handle_img() argument
78 x, y, transform, input_fence, output_fence); in gralloc0_blit_handle_to_handle_img()
Dhal_public.h154 int w, int h, int x, int y, int transform, int input_fence, in gralloc_blit_handle_to_handle_img() argument
160 transform, input_fence, in gralloc_blit_handle_to_handle_img()
165 transform, input_fence, in gralloc_blit_handle_to_handle_img()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dimg_gralloc.h74 int w, int h, int x, int y, int transform, int input_fence, in gralloc0_blit_handle_to_handle_img() argument
78 x, y, transform, input_fence, output_fence); in gralloc0_blit_handle_to_handle_img()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dblit_engine_c2d.cpp549 int transform = 0; in DrawRectUsingCopybit() local
550 if (layer->transform.rotation != 0.0f) transform |= COPYBIT_TRANSFORM_ROT_90; in DrawRectUsingCopybit()
551 if (layer->transform.flip_horizontal) transform |= COPYBIT_TRANSFORM_FLIP_H; in DrawRectUsingCopybit()
552 if (layer->transform.flip_vertical) transform |= COPYBIT_TRANSFORM_FLIP_V; in DrawRectUsingCopybit()
553 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_TRANSFORM, transform); in DrawRectUsingCopybit()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp534 int transform = 0; in DrawRectUsingCopybit() local
535 if (layer->transform.rotation != 0.0f) transform |= COPYBIT_TRANSFORM_ROT_90; in DrawRectUsingCopybit()
536 if (layer->transform.flip_horizontal) transform |= COPYBIT_TRANSFORM_FLIP_H; in DrawRectUsingCopybit()
537 if (layer->transform.flip_vertical) transform |= COPYBIT_TRANSFORM_FLIP_V; in DrawRectUsingCopybit()
538 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_TRANSFORM, transform); in DrawRectUsingCopybit()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dblit_engine_c2d.cpp549 int transform = 0; in DrawRectUsingCopybit() local
550 if (layer->transform.rotation != 0.0f) transform |= COPYBIT_TRANSFORM_ROT_90; in DrawRectUsingCopybit()
551 if (layer->transform.flip_horizontal) transform |= COPYBIT_TRANSFORM_FLIP_H; in DrawRectUsingCopybit()
552 if (layer->transform.flip_vertical) transform |= COPYBIT_TRANSFORM_FLIP_V; in DrawRectUsingCopybit()
553 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()

123456