/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
H A D | TngPlaneManager.cpp | 89 const ZOrderLayer *layer = config[i]; local 90 switch (layer->planeType) { 126 const ZOrderLayer *layer = config.itemAt(i); local 127 if (!getFreePlanes(dsp, layer->planeType)) { 128 DTRACE("no plane available for dsp %d, type %d", dsp, layer->planeType); 139 ZOrderLayer *layer = config.itemAt(i); local 140 layer->plane = getPlaneHelper(dsp, layer->planeType); 141 if (layer->plane == NULL) { 143 ETRACE("failed to assign plane for type %d", layer 153 ZOrderLayer *layer = config.itemAt(i); local [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
H A D | HwcLayer.cpp | 56 HwcLayer::HwcLayer(int index, hwc_layer_1_t *layer) argument 60 mLayer(layer), 153 // Upper layer HWComposer will reset the compositionType automatically. 256 bool HwcLayer::update(hwc_layer_1_t *layer) argument 258 // update layer 259 mLayer = layer; 280 ITRACE("fps of layer %d is %.1f", mIndex, fps); 284 // if not a FB layer & a plane was attached update plane's data buffer 286 mPlane->setPosition(layer->displayFrame.left, 287 layer [all...] |
H A D | DisplayAnalyzer.h | 38 bool isVideoLayer(hwc_layer_1_t &layer); 39 bool isVideoFullScreen(int device, hwc_layer_1_t &layer); 48 bool isPresentationLayer(hwc_layer_1_t &layer); 49 bool isProtectedLayer(hwc_layer_1_t &layer); 128 // by default if layer has HWC_SKIP_LAYER flag it should not be processed by HWC
|
H A D | DisplayAnalyzer.cpp | 175 // check if there is video layer in the primary device 186 // exclude the frame buffer target layer 200 // no video layer is found in the primary layer 204 // check whether video layer exists in external device or virtual device 213 // exclude the frame buffer target layer 217 VTRACE("video layer exists in device %d", i); 250 bool DisplayAnalyzer::isVideoLayer(hwc_layer_1_t &layer) argument 254 if (!layer.handle) { 257 DataBuffer *buffer = bm->lockDataBuffer(layer 267 isVideoFullScreen(int device, hwc_layer_1_t &layer) argument 587 hwc_layer_1 *layer = NULL; local 792 isPresentationLayer(hwc_layer_1_t &layer) argument 843 isProtectedLayer(hwc_layer_1_t &layer) argument 868 hwc_layer_1_t *layer = &display->hwLayers[i]; local [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
H A D | HwcLayer.cpp | 55 HwcLayer::HwcLayer(int index, hwc_layer_1_t *layer) argument 59 mLayer(layer), 133 // Upper layer HWComposer will reset the compositionType automatically. 236 bool HwcLayer::update(hwc_layer_1_t *layer) argument 238 // update layer 239 mLayer = layer; 242 // if not a FB layer & a plane was attached update plane's data buffer 244 mPlane->setPosition(layer->displayFrame.left, 245 layer->displayFrame.top, 246 layer [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_dump_layers.cpp | 208 ALOGI("Display[%s] Layer[*] %s-HwcModuleCompType, %d-layer MdpComp %s", 221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local 222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 223 hwc_rect_t displayFrame = layer->displayFrame; 224 size_t numHwcRects = layer->visibleRegionScreen.numRects; 225 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; 226 private_handle_t *hnd = (private_handle_t *)layer->handle; 255 (layer->compositionType == HWC_FRAMEBUFFER)? "Framebuffer(GPU)": 256 (layer->compositionType == HWC_OVERLAY)? "Overlay": 257 (layer 302 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local [all...] |
H A D | hwc_mdpcomp.cpp | 205 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 208 layer->compositionType = HWC_OVERLAY; 209 layer->hints |= HWC_HINT_CLEAR_FB; 211 /* Drop the layer when its already present in FB OR when it lies 214 layer->compositionType = HWC_OVERLAY; 257 // populate layer and MDP maps 292 hwc_layer_1_t const* layer = &list->hwLayers[i]; local 293 if(curFrame.isFBComposed[i] && layerUpdating(layer)){ 300 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { argument 301 private_handle_t *hnd = (private_handle_t *)layer 311 isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) argument 421 calculateDirtyRect(const hwc_layer_1_t* layer, hwc_rect_t& scissor) argument 468 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 507 hwc_layer_1_t* layer = &list->hwLayers[index]; local 567 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 615 hwc_layer_1_t* layer = &list->hwLayers[index]; local 706 hwc_layer_1_t* layer = &list->hwLayers[i]; local 755 hwc_layer_1_t* layer = &list->hwLayers[i]; local 823 hwc_layer_1_t* layer = &list->hwLayers[i]; local 891 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1023 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 1193 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1225 hwc_layer_1_t * layer = &list->hwLayers[i]; local 1249 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1280 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1326 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1540 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1558 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1568 __FUNCTION__, layer, zOrder, dest); local 1580 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1613 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1657 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1688 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1699 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 1721 using pipe: %d", __FUNCTION__, layer, local 1762 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1778 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 1821 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1847 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1871 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1882 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 1918 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1948 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1959 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 1995 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2007 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2023 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 2084 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2109 "dest_pipeR: %d",__FUNCTION__, layer, z, lDest, rDest); local [all...] |
H A D | hwc_copybit.h | 42 //Draws layer if the layer is set for copybit in prepare 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,
|
H A D | hwc_fbupdate.cpp | 67 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 68 mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) && 83 hwc_layer_1_t *layer, 94 ctx->mLayerRotMap[mDpy]->add(layer, mRot); 127 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 130 // ext only layer present.. 132 layer = &list->hwLayers[extOnlyLayerIndex]; 133 layer->compositionType = HWC_OVERLAY; 143 pipeSpecs.needsScaling = qhwc::needsScaling(layer); 165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer 82 preRotateExtDisplay(hwc_context_t *ctx, hwc_layer_1_t *layer, ovutils::Whf &info, hwc_rect_t& sourceCrop, ovutils::eMdpFlags& mdpFlags, int& rotFlags) argument 280 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 420 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_dump_layers.cpp | 208 ALOGI("Display[%s] Layer[*] %s-HwcModuleCompType, %d-layer MdpComp %s", 221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local 222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 223 hwc_rect_t displayFrame = layer->displayFrame; 224 size_t numHwcRects = layer->visibleRegionScreen.numRects; 225 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; 226 private_handle_t *hnd = (private_handle_t *)layer->handle; 255 (layer->compositionType == HWC_FRAMEBUFFER)? "Framebuffer(GPU)": 256 (layer->compositionType == HWC_OVERLAY)? "Overlay": 257 (layer 302 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local [all...] |
H A D | hwc_mdpcomp.cpp | 222 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 225 layer->compositionType = HWC_OVERLAY; 226 layer->hints |= HWC_HINT_CLEAR_FB; 228 /* Drop the layer when its already present in FB OR when it lies 231 layer->compositionType = HWC_OVERLAY; 274 // populate layer and MDP maps 325 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { argument 326 private_handle_t *hnd = (private_handle_t *)layer->handle; 327 if((has90Transform(layer) and (not isRotationDoable(ctx, hnd))) || 328 (not isValidDimension(ctx,layer)) 336 isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) argument 469 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 508 hwc_layer_1_t* layer = &list->hwLayers[index]; local 574 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 622 hwc_layer_1_t* layer = &list->hwLayers[index]; local 719 hwc_layer_1_t* layer = &list->hwLayers[i]; local 770 hwc_layer_1_t* layer = &list->hwLayers[i]; local 825 hwc_layer_1_t* layer = &list->hwLayers[i]; local 846 hwc_layer_1_t* layer = &list->hwLayers[i]; local 864 hwc_layer_1_t* layer = &list->hwLayers[j]; local 909 hwc_layer_1_t* layer = &list->hwLayers[i]; local 918 hwc_layer_1_t* layer = &list->hwLayers[i]; local 947 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1000 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1068 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1202 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 1372 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1427 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1458 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1504 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1557 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1762 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1780 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1790 __FUNCTION__, layer, zOrder, dest); local 1802 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1836 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 1870 hwc_layer_1_t *layer = &list->hwLayers[i]; local 1901 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 1912 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 1944 using pipe: %d", __FUNCTION__, layer, local 1982 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1998 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 2041 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2067 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2091 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2102 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 2128 hwc_layer_1_t *layer = &list->hwLayers[i]; local 2158 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2169 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2209 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2221 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2237 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 2297 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2322 "dest_pipeR: %d",__FUNCTION__, layer, z, lDest, rDest); local [all...] |
H A D | hwc_fbupdate.cpp | 74 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 75 mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) && 90 hwc_layer_1_t *layer, 101 ctx->mLayerRotMap[mDpy]->add(layer, mRot); 133 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 136 // ext only layer present.. 138 layer = &list->hwLayers[extOnlyLayerIndex]; 139 layer->compositionType = HWC_OVERLAY; 149 pipeSpecs.needsScaling = qhwc::needsScaling(layer); 171 hwc_rect_t sourceCrop = integerizeSourceCrop(layer 89 preRotateExtDisplay(hwc_context_t *ctx, hwc_layer_1_t *layer, ovutils::Whf &info, hwc_rect_t& sourceCrop, ovutils::eMdpFlags& mdpFlags, int& rotFlags) argument 286 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 426 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_display.cpp | 66 static void ApplyDeInterlaceAdjustment(Layer *layer) { argument 68 if (layer->input_buffer->flags.interlace) { 69 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; 70 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); 71 layer->src_rect.bottom = layer->src_rect.top + floorf(height); 322 // b) buffer handle for each layer 323 // c) number of visible rectangles in each layer 381 Layer &layer = layer_stack_.layers[i]; local 398 PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) argument 464 CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) argument 498 Layer &layer = layer_stack_.layers[i]; local 653 Layer &layer = layer_stack_.layers[i]; local 745 Layer &layer = layer_stack_.layers[i]; local 821 Layer &layer = layer_stack_.layers[i]; local 874 Layer &layer = layer_stack_.layers[i]; local 1313 hwc_layer_1_t *layer = &content_list->hwLayers[i]; local 1361 SetMetaData(const private_handle_t *pvt_handle, Layer *layer) argument 1505 Layer &layer = layer_stack_.layers[i]; local [all...] |
H A D | blit_engine_c2d.cpp | 214 Layer &layer = layer_stack->layers[i]; local 215 LayerBuffer *layer_buffer = layer.input_buffer; 216 if (layer.composition == kCompositionBlit) { 265 Layer &layer = layer_stack->layers[i]; local 271 if (Is10BitFormat(layer.input_buffer->format)) { 275 if (layer.composition == kCompositionGPUTarget) { 283 // No blit target layer 301 Layer &layer = layer_stack->layers[k]; local 302 LayerBuffer *layer_buffer = layer.input_buffer; 308 layer 332 Layer &layer = layer_stack->layers[i]; local 373 Layer &layer = layer_stack->layers[j + content_list->numHwLayers]; local 406 Layer &layer = layer_stack->layers[i]; local 428 Layer &layer = layer_stack->layers[i]; local 482 Layer &layer = layer_stack->layers[k]; local 491 DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect, LayerRect blit_dest_Rect) argument [all...] |
H A D | hwc_color_manager.cpp | 191 // 1. shallow copy HWC_FRAMEBUFFER_TARGET layer info solid fill layer list. 200 hwc_layer_1_t *layer = &layer_list->hwLayers[i]; local 201 layer->compositionType = HWC_OVERLAY; 220 // SurfaceFlinger layer stack is dropped in solid fill case and replaced with local layer stack 221 // Close acquire fence fds associated with SF layer stack 222 // Close release/retire fence fds returned along with local layer stack 259 // handle for solid fill layer with fd = -1. 276 hwc_layer_1_t &layer local 286 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; local 316 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_svc_layercontext.c | 18 int layer; local 30 for (layer = 0; layer < layer_end; ++layer) { 31 LAYER_CONTEXT *const lc = &cpi->svc.layer_context[layer]; 48 lc->target_bandwidth = oxcf->ts_target_bitrate[layer] * 1000; 51 lc->target_bandwidth = oxcf->ss_target_bitrate[layer] * 1000; 63 // Update the layer context from a change_config() call. 68 int layer; local 78 for (layer 118 const int layer = cpi->svc.temporal_layer_id; local [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
H A D | hwc_dump_layers.cpp | 213 ALOGI("Display[%s] Layer[*] %s-HwcModuleCompType, %d-layer MdpComp %s", 226 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local 227 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 228 hwc_rect_t displayFrame = layer->displayFrame; 229 size_t numHwcRects = layer->visibleRegionScreen.numRects; 230 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; 231 private_handle_t *hnd = (private_handle_t *)layer->handle; 260 (layer->compositionType == HWC_FRAMEBUFFER)? "Framebuffer(GPU)": 261 (layer->compositionType == HWC_OVERLAY)? "Overlay": 262 (layer 307 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local [all...] |
H A D | hwc_mdpcomp.cpp | 264 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 267 layer->compositionType = HWC_OVERLAY; 268 layer->hints |= HWC_HINT_CLEAR_FB; 270 /* Drop the layer when its already present in FB OR when it lies 273 layer->compositionType = HWC_OVERLAY; 316 // populate layer and MDP maps 351 hwc_layer_1_t const* layer = &list->hwLayers[i]; local 352 if(curFrame.isFBComposed[i] && layerUpdating(layer)) { 371 hwc_layer_1_t const* layer = &list->hwLayers[i]; local 372 if(layerUpdating(layer)) 379 isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) argument 390 isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) argument 538 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 578 hwc_layer_1_t* layer = &list->hwLayers[index]; local 638 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 687 hwc_layer_1_t* layer = &list->hwLayers[index]; local 801 hwc_layer_1_t* layer = &list->hwLayers[i]; local 851 hwc_layer_1_t* layer = &list->hwLayers[i]; local 915 hwc_layer_1_t* layer = &list->hwLayers[i]; local 945 hwc_layer_1_t* layer = &list->hwLayers[i]; local 962 hwc_layer_1_t* layer = &list->hwLayers[j]; local 991 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1037 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1096 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1107 hwc_layer_1_t* layer = &list->hwLayers[idx]; local 1163 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1233 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1432 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 1465 isSecureRGBDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 1623 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1655 hwc_layer_1_t * layer = &list->hwLayers[i]; local 1677 hwc_layer_1_t * layer = &list->hwLayers[i]; local 1696 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1727 hwc_layer_1_t* layer = &list->hwLayers[nSecureRGBIndex]; local 1755 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1801 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1854 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2127 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2145 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2154 __FUNCTION__, layer, zOrder, dest); local 2166 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2200 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2228 hwc_layer_1_t *layer = &list->hwLayers[i]; local 2259 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2270 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2301 using pipe: %d", __FUNCTION__, layer, local 2339 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2355 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 2398 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2424 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2447 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2457 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 2478 hwc_layer_1_t *layer = &list->hwLayers[i]; local 2508 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2519 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2559 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2571 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2587 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 2653 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2676 "dest_pipeR: %d",__FUNCTION__, layer, z, lDest, rDest); local [all...] |
H A D | hwc_fbupdate.cpp | 72 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 73 mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) && 88 hwc_layer_1_t *layer, 99 ctx->mLayerRotMap[mDpy]->add(layer, mRot); 131 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 141 pipeSpecs.needsScaling = qhwc::needsScaling(layer); 162 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 163 hwc_rect_t displayFrame = layer->displayFrame; 173 int transform = layer->transform; 186 sourceCrop = layer 87 preRotateExtDisplay(hwc_context_t *ctx, hwc_layer_1_t *layer, ovutils::Whf &info, hwc_rect_t& sourceCrop, ovutils::eMdpFlags& mdpFlags, int& rotFlags) argument 275 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 436 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_dump_layers.cpp | 212 ALOGI("Display[%s] Layer[*] %s-HwcModuleCompType, %d-layer MdpComp %s", 225 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local 226 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 227 hwc_rect_t displayFrame = layer->displayFrame; 228 size_t numHwcRects = layer->visibleRegionScreen.numRects; 229 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; 230 private_handle_t *hnd = (private_handle_t *)layer->handle; 259 (layer->compositionType == HWC_FRAMEBUFFER)? "Framebuffer(GPU)": 260 (layer->compositionType == HWC_OVERLAY)? "Overlay": 261 (layer 306 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local [all...] |
H A D | hwc_mdpcomp.cpp | 288 hwc_layer_1_t* layer = &(list->hwLayers[index]); local 291 layer->compositionType = HWC_OVERLAY; 292 layer->hints |= HWC_HINT_CLEAR_FB; 294 /* Drop the layer when its already present in FB OR when it lies 297 layer->compositionType = HWC_OVERLAY; 340 // populate layer and MDP maps 375 hwc_layer_1_t const* layer = &list->hwLayers[i]; local 376 if(curFrame.isFBComposed[i] && layerUpdating(layer)){ 383 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) { argument 384 private_handle_t *hnd = (private_handle_t *)layer 394 isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) argument 521 calculateDirtyRect(const hwc_layer_1_t* layer, hwc_rect_t& scissor) argument 570 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 610 hwc_layer_1_t* layer = &list->hwLayers[index]; local 675 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 724 hwc_layer_1_t* layer = &list->hwLayers[index]; local 827 hwc_layer_1_t* layer = &list->hwLayers[i]; local 871 hwc_layer_1_t* layer = &list->hwLayers[i]; local 926 hwc_layer_1_t* layer = &list->hwLayers[i]; local 947 hwc_layer_1_t* layer = &list->hwLayers[i]; local 964 hwc_layer_1_t* layer = &list->hwLayers[j]; local 993 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1039 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1098 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1109 hwc_layer_1_t* layer = &list->hwLayers[idx]; local 1164 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1226 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1457 isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 1490 isSecureRGBDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) argument 1648 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1680 hwc_layer_1_t * layer = &list->hwLayers[i]; local 1702 hwc_layer_1_t * layer = &list->hwLayers[i]; local 1721 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; local 1752 hwc_layer_1_t* layer = &list->hwLayers[nSecureRGBIndex]; local 1780 hwc_layer_1_t* layer = &list->hwLayers[i]; local 1826 hwc_layer_1_t* layer = &list->hwLayers[index]; local 1887 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2163 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2181 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2190 __FUNCTION__, layer, zOrder, dest); local 2202 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2236 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2269 hwc_layer_1_t *layer = &list->hwLayers[i]; local 2300 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2311 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2342 using pipe: %d", __FUNCTION__, layer, local 2380 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2396 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 2439 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2465 configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2488 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2498 "dest_pipeR: %d",__FUNCTION__, layer, zOrder, lDest, rDest); local 2524 hwc_layer_1_t *layer = &list->hwLayers[i]; local 2554 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2565 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2605 using pipe: %d", __FUNCTION__, layer, hnd, indexL ); local 2617 using pipe: %d", __FUNCTION__, layer, hnd, indexR ); local 2646 const hwc_layer_1_t* layer = &list->hwLayers[i]; local 2689 hwc_layer_1_t* layer = &list->hwLayers[index]; local 2747 acquireMDPPipes(hwc_context_t *ctx, hwc_layer_1_t* layer, MdpPipeInfoSplit& pipe_info) argument 2822 configure(hwc_context_t *ctx, hwc_layer_1_t *layer, PipeLayerPair& PipeLayerPair) argument 2845 "dest_pipeR: %d",__FUNCTION__, layer, z, lDest, rDest); local [all...] |
H A D | hwc_fbupdate.cpp | 72 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 73 mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) && 88 hwc_layer_1_t *layer, 99 ctx->mLayerRotMap[mDpy]->add(layer, mRot); 131 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 142 pipeSpecs.needsScaling = qhwc::needsScaling(layer); 165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 166 hwc_rect_t displayFrame = layer->displayFrame; 176 int transform = layer->transform; 189 sourceCrop = layer 87 preRotateExtDisplay(hwc_context_t *ctx, hwc_layer_1_t *layer, ovutils::Whf &info, hwc_rect_t& sourceCrop, ovutils::eMdpFlags& mdpFlags, int& rotFlags) argument 278 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local 442 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; local [all...] |
H A D | hwc_mdpcomp.h | 93 /* per layer data */ 102 /* maps layer list to mdp list */ 106 /* maps mdp list to layer list */ 110 /* layer composing on FB? */ 147 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 149 /* Increments mdpCount if 4k2k yuv layer split is enabled. 150 * updates framebuffer z order if fb lies above source-split layer */ 153 /* configures 4kx2k yuv layer*/ 154 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, 159 /* Calculates the dirtyRegion for the given layer */ [all...] |
H A D | hwc_copybit.cpp | 120 // Skipping last layer since FrameBuffer layer should not affect 148 //swap rect will kick in only for single updating layer 157 //dirty rect for same layer at least equal of number of 167 //disable swap rect for overlapping visible layer(s) 191 //1.Only single layer is updating. 194 //4.No video layer 198 //swap rect will kick in only for single updating layer 288 //GPU/CPU composition, don't change layer composition type 322 hwc_layer_1_t *layer local 532 hwc_layer_1_t *layer = &list->hwLayers[mDirtyLayerIndex]; local 634 hwc_layer_1_t *layer = &list->hwLayers[i]; local 687 drawRectUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, private_handle_t *renderBuffer, hwc_rect_t overlap, hwc_rect_t destRect) argument 772 drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, private_handle_t *renderBuffer, bool isFG) argument 1038 fillColorUsingCopybit(hwc_layer_1_t *layer, private_handle_t *renderBuffer) argument 1077 getLayerResolution(const hwc_layer_1_t* layer, unsigned int& width, unsigned int& height) argument [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_copybit.h | 37 //Draws layer if the layer is set for copybit in prepare 51 int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, 66 void getLayerResolution(const hwc_layer_1_t* layer,
|