Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8974/libgralloc/
Dgpu.cpp259 int grallocFormat = format; in alloc_impl() local
267 grallocFormat = HAL_PIXEL_FORMAT_NV12_ENCODEABLE; //NV12 in alloc_impl()
270 grallocFormat = HAL_PIXEL_FORMAT_NV21_ZSL; //NV21 ZSL in alloc_impl()
272 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl()
274 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl()
277 if (grallocFormat == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED && in alloc_impl()
280 grallocFormat = HAL_PIXEL_FORMAT_RGBA_8888; in alloc_impl()
283 getGrallocInformationFromFormat(grallocFormat, &bufferType); in alloc_impl()
284 size = getBufferSizeAndDimensions(w, h, grallocFormat, alignedw, alignedh); in alloc_impl()
311 grallocFormat, alignedw, alignedh); in alloc_impl()
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp253 int grallocFormat = format; in alloc_impl() local
261 grallocFormat = HAL_PIXEL_FORMAT_NV12_ENCODEABLE; //NV12 in alloc_impl()
263 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl()
265 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl()
268 getGrallocInformationFromFormat(grallocFormat, &bufferType); in alloc_impl()
269 size = getBufferSizeAndDimensions(w, h, grallocFormat, alignedw, alignedh); in alloc_impl()
296 grallocFormat, alignedw, alignedh); in alloc_impl()
/hardware/qcom/display/msm8x26/libgralloc/
Dgpu.cpp253 int grallocFormat = format; in alloc_impl() local
261 grallocFormat = HAL_PIXEL_FORMAT_NV12_ENCODEABLE; //NV12 in alloc_impl()
263 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl()
265 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl()
268 getGrallocInformationFromFormat(grallocFormat, &bufferType); in alloc_impl()
269 size = getBufferSizeAndDimensions(w, h, grallocFormat, alignedw, alignedh); in alloc_impl()
296 grallocFormat, alignedw, alignedh); in alloc_impl()