Searched refs:grallocFormat (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/display/msm8974/libgralloc/ |
D | gpu.cpp | 259 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/msm8084/libgralloc/ |
D | gpu.cpp | 267 int grallocFormat = format; in alloc_impl() local 275 grallocFormat = HAL_PIXEL_FORMAT_NV12_ENCODEABLE; //NV12 in alloc_impl() 278 grallocFormat = HAL_PIXEL_FORMAT_NV21_ZSL; //NV21 ZSL in alloc_impl() 280 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl() 282 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl() 285 grallocFormat = HAL_PIXEL_FORMAT_RGBA_8888; in alloc_impl() 288 getGrallocInformationFromFormat(grallocFormat, &bufferType); in alloc_impl() 289 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw, in alloc_impl() 310 grallocFormat, alignedw, alignedh); in alloc_impl()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gpu.cpp | 270 int grallocFormat = format; in alloc_impl() local 278 grallocFormat = HAL_PIXEL_FORMAT_NV12_ENCODEABLE; //NV12 in alloc_impl() 281 grallocFormat = HAL_PIXEL_FORMAT_NV21_ZSL; //NV21 ZSL in alloc_impl() 283 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl() 285 grallocFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP; //NV21 in alloc_impl() 288 grallocFormat = HAL_PIXEL_FORMAT_RGBA_8888; in alloc_impl() 291 getGrallocInformationFromFormat(grallocFormat, &bufferType); in alloc_impl() 292 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw, in alloc_impl() 313 grallocFormat, alignedw, alignedh); in alloc_impl()
|
/hardware/intel/img/hwcomposer/ips/common/ |
D | PixelFormat.cpp | 24 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp) in convertFormat() argument 26 switch (grallocFormat) { in convertFormat()
|
D | PixelFormat.h | 35 static bool convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp);
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | gpu.cpp | 253 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()
|