Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:hnd

386     private_handle_t *hnd = (private_handle_t *)layer->handle;
387 if(hnd) {
388 int format = hnd->format;
438 private_handle_t *hnd = (private_handle_t *)layer->handle;
449 } else if (UNLIKELY(isYuvBuffer(hnd))) {
503 private_handle_t *hnd = (private_handle_t *)layer->handle;
505 if (! isSecureBuffer(hnd)) {
518 if (isSecureBuffer(hnd)) {
793 private_handle_t *hnd = (private_handle_t *)layer->handle;
794 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata;
802 if(isYuvBuffer(hnd)) {
803 if(isSecureBuffer(hnd)) {
937 private_handle_t *hnd = (private_handle_t *)layer->handle;
938 if(!hnd) {
943 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata;
951 Whf whf(getWidth(hnd), getHeight(hnd),
952 getMdpFormat(hnd->format), hnd->size);
955 if(isYuvBuffer(hnd) && ctx->mMDP.version >= qdutils::MDP_V4_2 &&
967 if(prevWidth != (uint32_t)getWidth(hnd) ||
968 prevHeight != (uint32_t)getHeight(hnd)) {
973 prevWidth = (uint32_t)getWidth(hnd);
974 prevHeight = (uint32_t)getHeight(hnd);
981 if(isYuvBuffer(hnd) && //if 90 component or downscale, use rot
986 hnd->width, hnd->height,
987 getMdpFormat(hnd->format), hnd->size);
1016 private_handle_t *hnd = (private_handle_t *)layer->handle;
1017 if(!hnd) {
1022 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata;
1033 Whf whf(getWidth(hnd), getHeight(hnd),
1034 getMdpFormat(hnd->format), hnd->size);
1039 if(isYuvBuffer(hnd) && (transform & HWC_TRANSFORM_ROT_90)) {
1043 Whf origWhf(hnd->width, hnd->height,
1044 getMdpFormat(hnd->format), hnd->size);