Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:hnd

595                                private_handle_t *hnd,
604 if(!isYuvBuffer(hnd)) {
742 private_handle_t *hnd = (private_handle_t *)layer->handle;
757 sanitizeSourceCrop(cropL, cropR, hnd);
790 private_handle_t *hnd = (private_handle_t *)layer->handle;
791 if(hnd) {
792 int format = hnd->format;
883 private_handle_t *hnd = (private_handle_t *)layer->handle;
889 if(isSecureDisplayBuffer(hnd)) {
901 if (isSecureBuffer(hnd)) {
909 if (UNLIKELY(isYuvBuffer(hnd))) {
914 if(UNLIKELY(is4kx2kYuvBuffer(hnd))){
924 if(UNLIKELY(isExtOnly(hnd))){
979 private_handle_t *hnd = (private_handle_t *)layer->handle;
981 if (! isSecureBuffer(hnd)) {
987 if (isSecureBuffer(hnd)) {
1449 private_handle_t *hnd = (private_handle_t *)layer->handle;
1450 MetaData_t *metadata = hnd ? (MetaData_t *)hnd->base_metadata : NULL;
1457 if(isYuvBuffer(hnd)) {
1458 if(isSecureBuffer(hnd)) {
1474 if(isSecureDisplayBuffer(hnd)) {
1629 private_handle_t *hnd = (private_handle_t *)layer->handle;
1631 if(!hnd) {
1640 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata;
1648 uint32_t format = ovutils::getMdpFormat(hnd->format, isTileRendered(hnd));
1649 Whf whf(getWidth(hnd), getHeight(hnd), format, (uint32_t)hnd->size);
1653 if (hnd->format == HAL_PIXEL_FORMAT_RGBA_8888)
1655 else if (hnd->format == HAL_PIXEL_FORMAT_RGBX_8888)
1659 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient);
1661 if(isYuvBuffer(hnd) && ctx->mMDP.version >= qdutils::MDP_V4_2 &&
1675 if(isYuvBuffer(hnd) && //if 90 component or downscale, use rot
1708 private_handle_t *hnd) {
1710 if(isYuvBuffer(hnd)) {
1725 if(isYuvBuffer(hnd)) {
1739 private_handle_t *hnd = (private_handle_t *)layer->handle;
1740 if(!hnd) {
1745 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata;
1755 uint32_t format = ovutils::getMdpFormat(hnd->format, isTileRendered(hnd));
1756 Whf whf(getWidth(hnd), getHeight(hnd), format, (uint32_t)hnd->size);
1760 if (hnd->format == HAL_PIXEL_FORMAT_RGBA_8888)
1762 else if (hnd->format == HAL_PIXEL_FORMAT_RGBX_8888)
1768 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient);
1779 if(ctx->mAD->prepare(ctx, crop, whf, hnd)) {
1784 if(isYuvBuffer(hnd) && (transform & HWC_TRANSFORM_ROT_90)) {
1824 sanitizeSourceCrop(tmp_cropL, tmp_cropR, hnd);
1886 private_handle_t *hnd = (private_handle_t *)layer->handle;
1887 if(!hnd) {
1892 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata;
1905 Whf whf(getWidth(hnd), getHeight(hnd),
1906 getMdpFormat(hnd->format), (uint32_t)hnd->size);
1910 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient);
1915 if(isYuvBuffer(hnd) && (transform & HWC_TRANSFORM_ROT_90)) {
1950 sanitizeSourceCrop(tmp_cropL, tmp_cropR, hnd);