/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 143 CHECK_MEMBER_AT(hwc_layer_1_t, compositionType, 0, 0); in CheckOffsets() 144 CHECK_MEMBER_AT(hwc_layer_1_t, hints, 4, 4); in CheckOffsets() 145 CHECK_MEMBER_AT(hwc_layer_1_t, flags, 8, 8); in CheckOffsets() 146 CHECK_MEMBER_AT(hwc_layer_1_t, backgroundColor, 12, 16); in CheckOffsets() 147 CHECK_MEMBER_AT(hwc_layer_1_t, handle, 12, 16); in CheckOffsets() 148 CHECK_MEMBER_AT(hwc_layer_1_t, transform, 16, 24); in CheckOffsets() 149 CHECK_MEMBER_AT(hwc_layer_1_t, blending, 20, 28); in CheckOffsets() 150 CHECK_MEMBER_AT(hwc_layer_1_t, sourceCropi, 24, 32); in CheckOffsets() 151 CHECK_MEMBER_AT(hwc_layer_1_t, sourceCrop, 24, 32); in CheckOffsets() 152 CHECK_MEMBER_AT(hwc_layer_1_t, sourceCropf, 24, 32); in CheckOffsets() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.h | 174 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 …]
|
D | hwc_mdpcomp.h | 144 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 151 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, 189 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer); 198 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer); 225 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer); 263 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 276 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, 301 virtual bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, 305 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 318 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, [all …]
|
D | hwc_copybit.h | 56 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,
|
D | hwc_dump_layers.h | 122 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]); 131 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
|
D | hwc_mdpcomp.cpp | 205 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags() 308 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp() 319 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension() 450 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI() 489 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI() 555 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI() 603 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI() 699 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame() 748 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp() 816 hwc_layer_1_t* layer = &list->hwLayers[i]; in cacheBasedComp() [all …]
|
D | hwc_virtual.cpp | 101 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()
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.h | 128 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 …]
|
D | hwc_mdpcomp.h | 126 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,
|
D | hwc_mdpcomp.cpp | 151 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags() 267 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension() 407 hwc_layer_1_t* layer = &list->hwLayers[i]; in isFullFrameDoable() 519 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in isOnlyVideoDoable() 532 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) { in isYUVDoable() 652 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in updateYUV() 685 hwc_layer_1_t* layer = &list->hwLayers[index]; in programMDP() 713 hwc_layer_1_t* layer = &list->hwLayers[index]; in programYUV() 805 int MDPCompLowRes::configure(hwc_context_t *ctx, hwc_layer_1_t *layer, in configure() 837 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in allocLayerPipes() [all …]
|
D | hwc_copybit.h | 51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, 66 void getLayerResolution(const hwc_layer_1_t* layer,
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.h | 195 void add(hwc_layer_1_t* layer, overlay::Rotator *rot); 202 hwc_layer_1_t* getLayer(uint32_t index) const; 206 hwc_layer_1_t* mLayer[MAX_SESS]; 215 inline hwc_layer_1_t* LayerRotMap::getLayer(uint32_t index) const { in getLayer() 246 void dumpLayer(hwc_layer_1_t const* l); 256 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer); 263 bool isAlphaScaled(hwc_layer_1_t const* layer); 264 bool needsScaling(hwc_layer_1_t const* layer); 265 bool isDownscaleRequired(hwc_layer_1_t const* layer); 266 bool needsScalingWithSplit(hwc_context_t* ctx, hwc_layer_1_t const* layer, [all …]
|
D | hwc_mdpcomp.h | 147 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 …]
|
D | hwc_copybit.h | 86 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,
|
D | hwc_mdpcomp.cpp | 214 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags() 317 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp() 328 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension() 461 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI() 500 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI() 566 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI() 614 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI() 711 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame() 762 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp() 817 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR() [all …]
|
D | hwc_dump_layers.h | 122 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]); 131 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
|
D | hwc_virtual.cpp | 112 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/qcom/display/msm8974/libhwcomposer/ |
D | hwc_utils.h | 130 void add(hwc_layer_1_t* layer, overlay::Rotator *rot); 133 hwc_layer_1_t* getLayer(uint32_t index) const; 137 hwc_layer_1_t* mLayer[MAX_SESS]; 146 inline hwc_layer_1_t* LayerRotMap::getLayer(uint32_t index) const { in getLayer() 177 void dumpLayer(hwc_layer_1_t const* l); 187 bool isSecuring(hwc_context_t* ctx, hwc_layer_1_t const* layer); 189 bool needsScaling(hwc_context_t* ctx, hwc_layer_1_t const* layer, const int& dpy); 190 bool isAlphaPresent(hwc_layer_1_t const* layer); 214 void setMdpFlags(hwc_layer_1_t *layer, 231 int configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, [all …]
|
D | hwc_mdpcomp.h | 128 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 155 bool isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer); 162 bool isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer); 172 bool isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer); 198 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 222 bool acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, 226 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer,
|
D | hwc_mdpcomp.cpp | 169 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags() 244 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { in isSupportedForMDPComp() 255 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) { in isValidDimension() 394 hwc_layer_1_t* layer = &list->hwLayers[i]; in isFullFrameDoable() 450 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp() 504 hwc_layer_1_t* layer = &list->hwLayers[i]; in cacheBasedComp() 568 hwc_layer_1_t* layer = &list->hwLayers[j]; in loadBasedComp() 588 hwc_layer_1_t* layer = &list->hwLayers[i]; in loadBasedComp() 647 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in isOnlyVideoDoable() 664 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) { in isYUVDoable() [all …]
|
D | hwc_copybit.h | 51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, 66 void getLayerResolution(const hwc_layer_1_t* layer,
|
/hardware/intel/img/hwcomposer/common/base/ |
D | HwcLayer.h | 55 HwcLayer(int index, hwc_layer_1_t *layer); 77 hwc_layer_1_t* getLayer() const; 83 bool update(hwc_layer_1_t *layer); 98 hwc_layer_1_t *mLayer;
|
/hardware/ti/omap4-aah/hwc/ |
D | rgz_2d.c | 103 static void rgz_get_src_rect(hwc_layer_1_t* layer, blit_rect_t *subregion_rect, blit_rect_t *res_re… 107 static int rgz_hwc_scaled(hwc_layer_1_t *layer); 112 static hwc_layer_1_t bg_layer; 172 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; in get_layer_ops() 231 static void dump_layer(hwc_layer_1_t const* l, int iserr) in dump_layer() 264 hwc_layer_1_t *l = rgz_layers[i].hwc_layer; in dump_all() 308 static void rgz_get_displayframe_rect(hwc_layer_1_t *layer, blit_rect_t *res_rect) in rgz_get_displayframe_rect() 339 hwc_layer_1_t *hwc_layer = rgz_layer->hwc_layer; in rgz_set_src_data() 403 static void rgz_cfg_scale_mode(struct rgz_blt_entry* e, hwc_layer_1_t *layer) in rgz_cfg_scale_mode() 420 hwc_layer_1_t *hwc_src1 = rgz_src1->hwc_layer; in rgz_hwc_subregion_copy() [all …]
|
D | rgz_2d.h | 53 hwc_layer_1_t *layers; 265 hwc_layer_1_t *hwc_layer;
|
/hardware/samsung_slsi/exynos5/libhwc/ |
D | hwc.cpp | 154 static void dump_layer(hwc_layer_1_t const *l) in dump_layer() 234 static bool is_transformed(const hwc_layer_1_t &layer) in is_transformed() 239 static bool is_rotated(const hwc_layer_1_t &layer) in is_rotated() 245 static bool is_scaled(const hwc_layer_1_t &layer) in is_scaled() 349 static bool is_x_aligned(const hwc_layer_1_t &layer, int format) in is_x_aligned() 371 static bool exynos5_supports_gscaler(hwc_layer_1_t &layer, int format, in exynos5_supports_gscaler() 416 static bool exynos5_requires_gscaler(hwc_layer_1_t &layer, int format) in exynos5_requires_gscaler() 652 hwc_layer_1_t &layer, in hdmi_output() 764 bool exynos5_is_offscreen(hwc_layer_1_t &layer, in exynos5_is_offscreen() 773 size_t exynos5_visible_width(hwc_layer_1_t &layer, int format, in exynos5_visible_width() [all …]
|