Home
last modified time | relevance | path

Searched refs:dstSurfaceDef (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.cpp340 C2D_YUV_SURFACE_DEF * dstSurfaceDef = (C2D_YUV_SURFACE_DEF *)mDstSurfaceDef; in updateYUVSurfaceDef() local
341 dstSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
342 dstSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
343 dstSurfaceDef->plane1 = (uint8_t *)data + mDstYSize; in updateYUVSurfaceDef()
344 dstSurfaceDef->phys1 = (uint8_t *)dstSurfaceDef->phys0 + mDstYSize; in updateYUVSurfaceDef()
345 dstSurfaceDef->plane2 = (uint8_t *)dstSurfaceDef->plane1 + mDstYSize/4; in updateYUVSurfaceDef()
346 dstSurfaceDef->phys2 = (uint8_t *)dstSurfaceDef->phys1 + mDstYSize/4; in updateYUVSurfaceDef()
350 &(*dstSurfaceDef)); in updateYUVSurfaceDef()
364 C2D_RGB_SURFACE_DEF * dstSurfaceDef = (C2D_RGB_SURFACE_DEF *)mDstSurfaceDef; in updateRGBSurfaceDef() local
365 dstSurfaceDef->buffer = data; in updateRGBSurfaceDef()
[all …]
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp369 C2D_YUV_SURFACE_DEF * dstSurfaceDef = (C2D_YUV_SURFACE_DEF *)mDstSurfaceDef; in updateYUVSurfaceDef() local
370 dstSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
371 dstSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
372 dstSurfaceDef->plane1 = (uint8_t *)data + mDstYSize; in updateYUVSurfaceDef()
373 dstSurfaceDef->phys1 = (uint8_t *)dstSurfaceDef->phys0 + mDstYSize; in updateYUVSurfaceDef()
374 if (dstSurfaceDef->format & C2D_COLOR_FORMAT_420_I420 || in updateYUVSurfaceDef()
375 dstSurfaceDef->format & C2D_COLOR_FORMAT_420_YV12) { in updateYUVSurfaceDef()
376 dstSurfaceDef->plane2 = (uint8_t *)dstSurfaceDef->plane1 + mDstYSize/4; in updateYUVSurfaceDef()
377 dstSurfaceDef->phys2 = (uint8_t *)dstSurfaceDef->phys1 + mDstYSize/4; in updateYUVSurfaceDef()
382 &(*dstSurfaceDef)); in updateYUVSurfaceDef()
[all …]
/hardware/qcom/media/msm8998/libc2dcolorconvert/
DC2DColorConverter.cpp375 C2D_YUV_SURFACE_DEF * dstSurfaceDef = (C2D_YUV_SURFACE_DEF *)mDstSurfaceDef; in updateYUVSurfaceDef() local
376 dstSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
377 dstSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
378 dstSurfaceDef->plane1 = (uint8_t *)data + mDstYSize; in updateYUVSurfaceDef()
379 dstSurfaceDef->phys1 = (uint8_t *)dstSurfaceDef->phys0 + mDstYSize; in updateYUVSurfaceDef()
380 if (dstSurfaceDef->format & C2D_COLOR_FORMAT_420_I420 || in updateYUVSurfaceDef()
381 dstSurfaceDef->format & C2D_COLOR_FORMAT_420_YV12) { in updateYUVSurfaceDef()
382 dstSurfaceDef->plane2 = (uint8_t *)dstSurfaceDef->plane1 + mDstYSize/4; in updateYUVSurfaceDef()
383 dstSurfaceDef->phys2 = (uint8_t *)dstSurfaceDef->phys1 + mDstYSize/4; in updateYUVSurfaceDef()
388 &(*dstSurfaceDef)); in updateYUVSurfaceDef()
[all …]
/hardware/qcom/sdm845/media/libc2dcolorconvert/
DC2DColorConverter.cpp422 C2D_YUV_SURFACE_DEF * dstSurfaceDef = (C2D_YUV_SURFACE_DEF *)mDstSurfaceDef; in updateYUVSurfaceDef() local
423 dstSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
424 dstSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
425 dstSurfaceDef->plane1 = (uint8_t *)data + mDstYSize; in updateYUVSurfaceDef()
426 dstSurfaceDef->phys1 = (uint8_t *)dstSurfaceDef->phys0 + mDstYSize; in updateYUVSurfaceDef()
427 if (dstSurfaceDef->format & C2D_COLOR_FORMAT_420_I420 || in updateYUVSurfaceDef()
428 dstSurfaceDef->format & C2D_COLOR_FORMAT_420_YV12) { in updateYUVSurfaceDef()
429 dstSurfaceDef->plane2 = (uint8_t *)dstSurfaceDef->plane1 + mDstYSize/4; in updateYUVSurfaceDef()
430 dstSurfaceDef->phys2 = (uint8_t *)dstSurfaceDef->phys1 + mDstYSize/4; in updateYUVSurfaceDef()
435 &(*dstSurfaceDef)); in updateYUVSurfaceDef()
[all …]