/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,
|
/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...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc/ |
H A D | hwc_display.cpp | 56 static void ApplyDeInterlaceAdjustment(Layer *layer) { argument 58 if (layer->input_buffer->flags.interlace) { 59 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; 60 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); 61 layer->src_rect.bottom = layer->src_rect.top + floorf(height); 325 Layer *layer = new Layer(); local 327 layer 342 PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) argument 423 CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) argument 458 Layer *layer = layer_stack_.layers.at(i); local 650 Layer *layer = layer_stack_.layers.at(i); local 751 Layer *layer = layer_stack_.layers.at(i); local 803 IsLayerUpdating(hwc_display_contents_1_t *content_list, const Layer *layer) argument 1221 hwc_layer_1_t *layer = &content_list->hwLayers[i]; local 1254 SetMetaData(const private_handle_t *pvt_handle, Layer *layer) argument 1383 Layer *layer = layer_stack_.layers.at(i); local 1396 Layer *layer = layer_stack_.layers[i]; local 1446 PrepareDynamicRefreshRate(Layer *layer) argument [all...] |
H A D | blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); local 210 LayerBuffer *layer_buffer = layer->input_buffer; 211 if (layer->composition == kCompositionBlit) { 262 Layer *layer = layer_stack->layers.at(i); local 265 if (Is10BitFormat(layer->input_buffer->format)) { 269 if (layer->composition == kCompositionGPUTarget) { 277 // No blit target layer 295 Layer *layer = layer_stack->layers.at(k); local 296 LayerBuffer *layer_buffer = layer->input_buffer; 308 layer 334 Layer *layer = layer_stack->layers.at(i); local 380 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); local 413 Layer *layer = layer_stack->layers.at(i); local 435 Layer *layer = layer_stack->layers.at(i); local 490 Layer *layer = layer_stack->layers.at(k); local 499 DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect, LayerRect blit_dest_Rect) argument [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_display.cpp | 56 static void ApplyDeInterlaceAdjustment(Layer *layer) { argument 58 if (layer->input_buffer->flags.interlace) { 59 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; 60 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); 61 layer->src_rect.bottom = layer->src_rect.top + floorf(height); 323 Layer *layer = new Layer(); local 325 layer 340 PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) argument 406 CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) argument 440 Layer *layer = layer_stack_.layers.at(i); local 599 Layer *layer = layer_stack_.layers.at(i); local 684 Layer *layer = layer_stack_.layers.at(i); local 734 IsLayerUpdating(hwc_display_contents_1_t *content_list, const Layer *layer) argument 1140 hwc_layer_1_t *layer = &content_list->hwLayers[i]; local 1173 SetMetaData(const private_handle_t *pvt_handle, Layer *layer) argument 1310 Layer *layer = layer_stack_.layers.at(i); local 1323 Layer *layer = layer_stack_.layers[i]; local 1368 PrepareDynamicRefreshRate(Layer *layer) argument [all...] |
H A D | blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); local 210 LayerBuffer *layer_buffer = layer->input_buffer; 211 if (layer->composition == kCompositionBlit) { 262 Layer *layer = layer_stack->layers.at(i); local 265 if (Is10BitFormat(layer->input_buffer->format)) { 269 if (layer->composition == kCompositionGPUTarget) { 277 // No blit target layer 295 Layer *layer = layer_stack->layers.at(k); local 296 LayerBuffer *layer_buffer = layer->input_buffer; 302 layer 326 Layer *layer = layer_stack->layers.at(i); local 367 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); local 398 Layer *layer = layer_stack->layers.at(i); local 420 Layer *layer = layer_stack->layers.at(i); local 475 Layer *layer = layer_stack->layers.at(k); local 484 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 | 178 // 1. shallow copy HWC_FRAMEBUFFER_TARGET layer info solid fill layer list. 187 hwc_layer_1_t *layer = &layer_list->hwLayers[i]; local 188 layer->compositionType = HWC_OVERLAY; 207 // SurfaceFlinger layer stack is dropped in solid fill case and replaced with local layer stack 208 // Close acquire fence fds associated with SF layer stack 209 // Close release/retire fence fds returned along with local layer stack 246 // handle for solid fill layer with fd = -1. 263 hwc_layer_1_t &layer local 273 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; local 303 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...] |
/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,
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 50 static void ApplyDeInterlaceAdjustment(Layer *layer) { argument 52 if (layer->input_buffer->flags.interlace) { 53 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; 54 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); 55 layer->src_rect.bottom = layer->src_rect.top + floorf(height); 286 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_)); local 287 layer_map_.emplace(std::make_pair(layer 309 const auto layer = map_layer->second; local 332 Layer *layer = hwc_layer->GetSDMLayer(); local 437 const auto layer = map_layer->second; local 750 Layer *layer = hwc_layer->GetSDMLayer(); local 917 Layer *layer = hwc_layer->GetSDMLayer(); local 1121 auto layer = layer_stack_.layers.at(i); local 1389 SetCursorPosition(hwc2_layer_t layer, int x, int y) argument 1423 auto layer = hwc_layer->GetSDMLayer(); local 1433 Layer *layer = hwc_layer->GetSDMLayer(); local 1579 auto layer = layer_stack_.layers.at(i); local 1588 IsLayerUpdating(const Layer *layer) argument 1629 auto layer = hwc_layer->GetSDMLayer(); local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 50 static void ApplyDeInterlaceAdjustment(Layer *layer) { argument 52 if (layer->input_buffer->flags.interlace) { 53 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; 54 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); 55 layer->src_rect.bottom = layer->src_rect.top + floorf(height); 286 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_)); local 287 layer_map_.emplace(std::make_pair(layer 309 const auto layer = map_layer->second; local 332 Layer *layer = hwc_layer->GetSDMLayer(); local 435 const auto layer = map_layer->second; local 748 Layer *layer = hwc_layer->GetSDMLayer(); local 916 Layer *layer = hwc_layer->GetSDMLayer(); local 1120 auto layer = layer_stack_.layers.at(i); local 1386 SetCursorPosition(hwc2_layer_t layer, int x, int y) argument 1420 auto layer = hwc_layer->GetSDMLayer(); local 1430 Layer *layer = hwc_layer->GetSDMLayer(); local 1574 auto layer = layer_stack_.layers.at(i); local 1583 IsLayerUpdating(const Layer *layer) argument 1624 auto layer = hwc_layer->GetSDMLayer(); local [all...] |