Home
last modified time | relevance | path

Searched refs:hwc_layer_1_t (Results 1 – 25 of 82) sorted by relevance

1234

/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp145 CHECK_MEMBER_AT(hwc_layer_1_t, compositionType, 0, 0); in CheckOffsets()
146 CHECK_MEMBER_AT(hwc_layer_1_t, hints, 4, 4); in CheckOffsets()
147 CHECK_MEMBER_AT(hwc_layer_1_t, flags, 8, 8); in CheckOffsets()
148 CHECK_MEMBER_AT(hwc_layer_1_t, backgroundColor, 12, 16); in CheckOffsets()
149 CHECK_MEMBER_AT(hwc_layer_1_t, handle, 12, 16); in CheckOffsets()
150 CHECK_MEMBER_AT(hwc_layer_1_t, transform, 16, 24); in CheckOffsets()
151 CHECK_MEMBER_AT(hwc_layer_1_t, blending, 20, 28); in CheckOffsets()
152 CHECK_MEMBER_AT(hwc_layer_1_t, sourceCropi, 24, 32); in CheckOffsets()
153 CHECK_MEMBER_AT(hwc_layer_1_t, sourceCrop, 24, 32); in CheckOffsets()
154 CHECK_MEMBER_AT(hwc_layer_1_t, sourceCropf, 24, 32); in CheckOffsets()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.h174 void add(hwc_layer_1_t* layer, overlay::Rotator *rot);
181 hwc_layer_1_t* getLayer(uint32_t index) const;
185 hwc_layer_1_t* mLayer[MAX_SESS];
194 inline hwc_layer_1_t* LayerRotMap::getLayer(uint32_t index) const { in getLayer()
225 void dumpLayer(hwc_layer_1_t const* l);
240 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
243 bool isAlphaScaled(hwc_layer_1_t const* layer);
244 bool needsScaling(hwc_layer_1_t const* layer);
245 bool isDownscaleRequired(hwc_layer_1_t const* layer);
246 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
[all …]
Dhwc_mdpcomp.h142 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
149 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
155 hwc_rect_t calculateDirtyRect(const hwc_layer_1_t* layer,
190 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
199 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer);
226 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer);
264 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
277 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
302 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
306 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
[all …]
Dhwc_copybit.h56 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
58 int fillColorUsingCopybit(hwc_layer_1_t *layer,
73 void getLayerResolution(const hwc_layer_1_t* layer,
Dhwc_dump_layers.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
Dhwc_mdpcomp.cpp205 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
292 hwc_layer_1_t const* layer = &list->hwLayers[i]; in isSameFrame()
300 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp()
311 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension()
421 hwc_rect_t MDPComp::calculateDirtyRect(const hwc_layer_1_t* layer, in calculateDirtyRect()
468 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
507 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
567 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
615 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
706 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame()
[all …]
Dhwc_virtual.cpp101 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in prepare()
141 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
156 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
279 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
298 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
321 hwc_layer_1_t *extLayer = &list->hwLayers[extOnlyLayerIndex]; in set()
Dhwc_dump_layers.cpp213 void HwcDebug::logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in logLayer()
221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer()
275 void HwcDebug::dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in dumpLayer()
302 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in dumpLayer()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.h128 void add(hwc_layer_1_t* layer, overlay::Rotator *rot);
131 hwc_layer_1_t* getLayer(uint32_t index) const;
135 hwc_layer_1_t* mLayer[MAX_SESS];
144 inline hwc_layer_1_t* LayerRotMap::getLayer(uint32_t index) const { in getLayer()
156 void dumpLayer(hwc_layer_1_t const* l);
166 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
169 bool needsScaling(hwc_layer_1_t const* layer);
170 bool isAlphaPresent(hwc_layer_1_t const* layer);
194 void setMdpFlags(hwc_layer_1_t *layer,
199 int configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy,
[all …]
Dhwc_mdpcomp.h126 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
146 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
155 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer);
191 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
213 bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
218 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
Dhwc_copybit.h51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
66 void getLayerResolution(const hwc_layer_1_t* layer,
Dhwc_mdpcomp.cpp151 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
266 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension()
404 hwc_layer_1_t* layer = &list->hwLayers[i]; in isFullFrameDoable()
516 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in isOnlyVideoDoable()
529 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) { in isYUVDoable()
649 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in updateYUV()
682 hwc_layer_1_t* layer = &list->hwLayers[index]; in programMDP()
710 hwc_layer_1_t* layer = &list->hwLayers[index]; in programYUV()
811 int MDPCompLowRes::configure(hwc_context_t *ctx, hwc_layer_1_t *layer, in configure()
861 hwc_layer_1_t* layer = &list->hwLayers[index]; in allocLayerPipes()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.h216 void add(hwc_layer_1_t* layer, overlay::Rotator *rot);
223 hwc_layer_1_t* getLayer(uint32_t index) const;
228 hwc_layer_1_t* mLayer[overlay::RotMgr::MAX_ROT_SESS];
269 inline hwc_layer_1_t* LayerRotMap::getLayer(uint32_t index) const { in getLayer()
300 void dumpLayer(hwc_layer_1_t const* l);
310 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
317 bool isAlphaScaled(hwc_layer_1_t const* layer);
318 bool needsScaling(hwc_layer_1_t const* layer);
319 bool isDownscaleRequired(hwc_layer_1_t const* layer);
320 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
[all …]
Dhwc_mdpcomp.h147 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
154 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
160 hwc_rect_t calculateDirtyRect(const hwc_layer_1_t* layer,
201 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
203 bool isSecureRGBDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
212 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer);
246 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer);
300 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
313 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
339 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
[all …]
Dhwc_copybit.h86 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
89 int drawRectUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
92 int fillColorUsingCopybit(hwc_layer_1_t *layer,
107 void getLayerResolution(const hwc_layer_1_t* layer,
Dhwc_dump_layers.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
Dhwc_mdpcomp.cpp288 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
375 hwc_layer_1_t const* layer = &list->hwLayers[i]; in isSameFrame()
383 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp()
394 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension()
521 hwc_rect_t MDPComp::calculateDirtyRect(const hwc_layer_1_t* layer, in calculateDirtyRect()
570 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
610 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
675 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
724 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
827 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame()
[all …]
Dhwc_virtual.cpp80 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in prepare()
127 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
142 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h199 void add(hwc_layer_1_t* layer, overlay::Rotator *rot);
206 hwc_layer_1_t* getLayer(uint32_t index) const;
210 hwc_layer_1_t* mLayer[MAX_SESS];
219 inline hwc_layer_1_t* LayerRotMap::getLayer(uint32_t index) const { in getLayer()
250 void dumpLayer(hwc_layer_1_t const* l);
260 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer);
267 bool isAlphaScaled(hwc_layer_1_t const* layer);
268 bool needsScaling(hwc_layer_1_t const* layer);
269 bool isDownscaleRequired(hwc_layer_1_t const* layer);
270 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer,
[all …]
Dhwc_mdpcomp.h147 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
154 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
194 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer);
203 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer);
230 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer);
269 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
282 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
307 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer,
311 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
324 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer,
[all …]
Dhwc_copybit.h86 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
89 int drawRectUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
92 int fillColorUsingCopybit(hwc_layer_1_t *layer,
107 void getLayerResolution(const hwc_layer_1_t* layer,
Dhwc_dump_layers.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
Dhwc_mdpcomp.cpp222 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
325 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp()
336 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension()
469 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
508 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
574 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
622 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
719 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame()
770 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp()
825 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
[all …]
Dhwc_virtual.cpp112 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in prepare()
153 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
168 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
318 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
336 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
359 hwc_layer_1_t *extLayer = &list->hwLayers[extOnlyLayerIndex]; in set()
/hardware/libhardware/include/hardware/
Dhwcomposer.h306 } hwc_layer_1_t; typedef
406 hwc_layer_1_t hwLayers[0];

1234