Home
last modified time | relevance | path

Searched refs:is_NV12 (Results 1 – 3 of 3) sorted by relevance

/hardware/ti/omap4xxx/hwc/
Dhwc.c362 static int is_NV12(IMG_native_handle_t *handle) in is_NV12() function
383 if (handle == NULL || is_NV12(handle)) in mem1d()
773 … return omap4_hwc_can_scale(src_w, src_h, dst_w, dst_h, is_NV12(handle), &hwc_dev->fb_dis, &limits, in omap4_hwc_can_scale_layer()
789 if (!is_NV12(handle)) { in omap4_hwc_is_valid_layer()
981 if (scaled(layer) || is_NV12(handle)) in gather_layer_statistics()
988 else if (is_NV12(handle)) in gather_layer_statistics()
1090 (!tform || is_NV12(handle)) && in can_dss_render_layer()
1092 (!hwc_dev->flags_nv12_only || (!hwc_dev->use_sgx || is_NV12(handle))) && in can_dss_render_layer()
1304 scaled_gfx = scaled(layer) || is_NV12(handle); in omap4_hwc_prepare()
1305 } else if (scaled_gfx && !scaled(layer) && !is_NV12(handle)) { in omap4_hwc_prepare()
/hardware/ti/omap4-aah/hwc/
Dhwc.c492 static int is_NV12(IMG_native_handle_t *handle) in is_NV12() function
510 if (!is_NV12(handle)) in is_upscaled_NV12()
572 if (handle == NULL || is_NV12(handle)) in mem1d()
968 … return omap4_hwc_can_scale(src_w, src_h, dst_w, dst_h, is_NV12(handle), &hwc_dev->fb_dis, &limits, in omap4_hwc_can_scale_layer()
984 if (!is_NV12(handle)) { in omap4_hwc_is_valid_layer()
1227 if (scaled(layer) || is_NV12(handle) || hwc_dev->primary_transform) in gather_layer_statistics()
1234 else if (is_NV12(handle)) in gather_layer_statistics()
1353 (!tform || is_NV12(handle)) && in can_dss_render_layer()
1355 (!hwc_dev->flags_nv12_only || (!hwc_dev->use_sgx || is_NV12(handle))) && in can_dss_render_layer()
1769 scaled_gfx = scaled(layer) || is_NV12(handle); in omap4_hwc_prepare()
[all …]
Drgz_2d.c69 #define is_NV12(format) ((format) == HAL_PIXEL_FORMAT_TI_NV12 || (format) == HAL_PIXEL_FORMAT_TI_NV… macro
410 e->bp.scalemode = is_NV12(handle->iFormat) ? BVSCALE_9x9_TAP : BVSCALE_BILINEAR; in rgz_cfg_scale_mode()
756 if (is_NV12(handle->iFormat)) in rgz_in_valid_hwc_layer()
846 if (!(layers[l].flags & HWC_SKIP_LAYER) && handle && is_NV12(handle->iFormat)) in rgz_in_hwccheck()
1162 int bpp = is_NV12(h->iFormat) ? 0 : (h->iFormat == HAL_PIXEL_FORMAT_RGB_565 ? 2 : 4); in rgz_handle_to_stride()