Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:hnd

384     private_handle_t *hnd = (private_handle_t *)layer->handle;
385 if((has90Transform(layer) and (not isRotationDoable(ctx, hnd))) ||
395 private_handle_t *hnd = (private_handle_t *)layer->handle;
397 if(!hnd) {
407 if(!isSecureBuffer(hnd) && isNonIntegralSourceCrop(layer->sourceCropf))
447 if(isTileRendered(hnd)) {
725 private_handle_t *hnd = (private_handle_t *)layer->handle;
727 if (layerUpdating(layer) || isYuvBuffer(hnd)) {
828 private_handle_t *hnd = (private_handle_t *)layer->handle;
830 if(has90Transform(layer) && isRotationDoable(ctx, hnd)) {
843 (transform & HWC_TRANSFORM_FLIP_H) && (!isYuvBuffer(hnd)))
1046 private_handle_t *hnd = (private_handle_t *)layer->handle;
1047 Whf whf(hnd->width, hnd->height, hnd->format, hnd->size);
1049 hnd->width = renderBuf->width;
1050 hnd->height = renderBuf->height;
1051 hnd->format = renderBuf->format;
1110 private_handle_t *hnd = (private_handle_t *)list->hwLayers[idx].handle;
1111 hnd->width = layerWhf[i].w;
1112 hnd->height = layerWhf[i].h;
1113 hnd->format = layerWhf[i].format;
1734 private_handle_t *hnd = (private_handle_t *)layer->handle;
1735 if(!secureOnly || isSecureBuffer(hnd)) {
1835 private_handle_t *hnd = (private_handle_t *)layer->handle;
1836 if(isYUVSplitNeeded(hnd) && sEnableYUVsplit){
1888 private_handle_t *hnd = (private_handle_t *)layer->handle;
1889 if(has90Transform(layer) && isRotationDoable(ctx, hnd)) {
2164 private_handle_t *hnd = (private_handle_t *)layer->handle;
2165 if(isYUVSplitNeeded(hnd)) {
2203 private_handle_t *hnd = (private_handle_t *)layer->handle;
2204 if(isYUVSplitNeeded(hnd) && sEnableYUVsplit){
2217 pipeSpecs.formatClass = isYuvBuffer(hnd) ?
2270 private_handle_t *hnd = (private_handle_t *)layer->handle;
2271 if(!hnd) {
2283 if(isYUVSplitNeeded(hnd) && sEnableYUVsplit)
2290 int fd = hnd->fd;
2291 uint32_t offset = (uint32_t)hnd->offset;
2299 ALOGD_IF(isDebug(),"%s: MDP Comp: Drawing layer: %p hnd: %p \
2300 using pipe: %d", __FUNCTION__, layer, hnd, indexL );
2310 ALOGD_IF(isDebug(),"%s: MDP Comp: Drawing layer: %p hnd: %p \
2311 using pipe: %d", __FUNCTION__, layer, hnd, indexR );
2332 int fd = hnd->fd;
2333 uint32_t offset = (uint32_t)hnd->offset;
2336 hnd = ctx->mCopyBit[mDpy]->getCurrentRenderBuffer();
2337 fd = hnd->fd;
2341 ALOGD_IF(isDebug(),"%s: MDP Comp: Drawing layer: %p hnd: %p \
2343 hnd, dest );
2381 private_handle_t *hnd = (private_handle_t *)layer->handle;
2382 if(isYUVSplitNeeded(hnd)) {
2400 private_handle_t *hnd = (private_handle_t *)layer->handle;
2406 pipeSpecs.formatClass = isYuvBuffer(hnd) ?
2440 private_handle_t *hnd = (private_handle_t *)layer->handle;
2443 if(isYUVSplitNeeded(hnd) && sEnableYUVsplit){
2525 private_handle_t *hnd = (private_handle_t *)layer->handle;
2526 if(!hnd) {
2537 if(isYUVSplitNeeded(hnd) && sEnableYUVsplit)
2544 int fd = hnd->fd;
2545 uint32_t offset = (uint32_t)hnd->offset;
2553 ALOGD_IF(isDebug(),"%s: MDP Comp: Drawing layer: %p hnd: %p \
2554 using pipe: %d", __FUNCTION__, layer, hnd, indexL );
2564 ALOGD_IF(isDebug(),"%s: MDP Comp: Drawing layer: %p hnd: %p \
2565 using pipe: %d", __FUNCTION__, layer, hnd, indexR );
2581 int fd = hnd->fd;
2582 uint32_t offset = (uint32_t)hnd->offset;
2585 hnd = ctx->mCopyBit[mDpy]->getCurrentRenderBuffer();
2586 fd = hnd->fd;
2604 ALOGD_IF(isDebug(),"%s: MDP Comp: Drawing layer: %p hnd: %p \
2605 using pipe: %d", __FUNCTION__, layer, hnd, indexL );
2616 ALOGD_IF(isDebug(),"%s: MDP Comp: Drawing layer: %p hnd: %p \
2617 using pipe: %d", __FUNCTION__, layer, hnd, indexR );
2749 private_handle_t *hnd = (private_handle_t *)layer->handle;
2763 pipeSpecs.formatClass = isYuvBuffer(hnd) ?
2824 private_handle_t *hnd = (private_handle_t *)layer->handle;
2825 if(!hnd) {
2829 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata;
2841 uint32_t format = ovutils::getMdpFormat(hnd->format, hnd->flags);
2842 Whf whf(getWidth(hnd), getHeight(hnd), format, hnd->size);
2860 if (hnd->format == HAL_PIXEL_FORMAT_RGBA_8888)
2862 else if (hnd->format == HAL_PIXEL_FORMAT_RGBX_8888)
2866 if(ctx->listStats[mDpy].mAIVVideoMode && isYuvBuffer(hnd)) {
2871 calcExtDisplayPosition(ctx, hnd, mDpy, crop, dst, transform, orient);
2882 if((has90Transform(layer) or downscale) and isRotationDoable(ctx, hnd)) {
2888 BwcPM::setBwc(ctx, mDpy, hnd, crop, dst, transform, downscale,
2908 sanitizeSourceCrop(cropL, cropR, hnd);