Home
last modified time | relevance | path

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

/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp355 C2D_YUV_SURFACE_DEF * srcSurfaceDef = (C2D_YUV_SURFACE_DEF *)mSrcSurfaceDef; in updateYUVSurfaceDef() local
356 srcSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
357 srcSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
358 srcSurfaceDef->plane1 = (uint8_t *)data + mSrcYSize; in updateYUVSurfaceDef()
359 srcSurfaceDef->phys1 = (uint8_t *)srcSurfaceDef->phys0 + mSrcYSize; in updateYUVSurfaceDef()
360 if (srcSurfaceDef->format & C2D_COLOR_FORMAT_420_I420 || in updateYUVSurfaceDef()
361 srcSurfaceDef->format & C2D_COLOR_FORMAT_420_YV12) { in updateYUVSurfaceDef()
362 srcSurfaceDef->plane2 = (uint8_t *)srcSurfaceDef->plane1 + mSrcYSize/4; in updateYUVSurfaceDef()
363 srcSurfaceDef->phys2 = (uint8_t *)srcSurfaceDef->phys1 + mSrcYSize/4; in updateYUVSurfaceDef()
367 &(*srcSurfaceDef)); in updateYUVSurfaceDef()
[all …]
/hardware/qcom/media/msm8998/libc2dcolorconvert/
DC2DColorConverter.cpp361 C2D_YUV_SURFACE_DEF * srcSurfaceDef = (C2D_YUV_SURFACE_DEF *)mSrcSurfaceDef; in updateYUVSurfaceDef() local
362 srcSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
363 srcSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
364 srcSurfaceDef->plane1 = (uint8_t *)data + mSrcYSize; in updateYUVSurfaceDef()
365 srcSurfaceDef->phys1 = (uint8_t *)srcSurfaceDef->phys0 + mSrcYSize; in updateYUVSurfaceDef()
366 if (srcSurfaceDef->format & C2D_COLOR_FORMAT_420_I420 || in updateYUVSurfaceDef()
367 srcSurfaceDef->format & C2D_COLOR_FORMAT_420_YV12) { in updateYUVSurfaceDef()
368 srcSurfaceDef->plane2 = (uint8_t *)srcSurfaceDef->plane1 + mSrcYSize/4; in updateYUVSurfaceDef()
369 srcSurfaceDef->phys2 = (uint8_t *)srcSurfaceDef->phys1 + mSrcYSize/4; in updateYUVSurfaceDef()
373 &(*srcSurfaceDef)); in updateYUVSurfaceDef()
[all …]
/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.cpp328 C2D_YUV_SURFACE_DEF * srcSurfaceDef = (C2D_YUV_SURFACE_DEF *)mSrcSurfaceDef; in updateYUVSurfaceDef() local
329 srcSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
330 srcSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
331 srcSurfaceDef->plane1 = (uint8_t *)data + mSrcYSize; in updateYUVSurfaceDef()
332 srcSurfaceDef->phys1 = (uint8_t *)srcSurfaceDef->phys0 + mSrcYSize; in updateYUVSurfaceDef()
333 srcSurfaceDef->plane2 = (uint8_t *)srcSurfaceDef->plane1 + mSrcYSize/4; in updateYUVSurfaceDef()
334 srcSurfaceDef->phys2 = (uint8_t *)srcSurfaceDef->phys1 + mSrcYSize/4; in updateYUVSurfaceDef()
338 &(*srcSurfaceDef)); in updateYUVSurfaceDef()
357 C2D_RGB_SURFACE_DEF * srcSurfaceDef = (C2D_RGB_SURFACE_DEF *)mSrcSurfaceDef; in updateRGBSurfaceDef() local
358 srcSurfaceDef->buffer = data; in updateRGBSurfaceDef()
[all …]
/hardware/qcom/sdm845/media/libc2dcolorconvert/
DC2DColorConverter.cpp408 C2D_YUV_SURFACE_DEF * srcSurfaceDef = (C2D_YUV_SURFACE_DEF *)mSrcSurfaceDef; in updateYUVSurfaceDef() local
409 srcSurfaceDef->plane0 = data; in updateYUVSurfaceDef()
410 srcSurfaceDef->phys0 = gpuAddr + ((uint8_t *)data - (uint8_t *)base); in updateYUVSurfaceDef()
411 srcSurfaceDef->plane1 = (uint8_t *)data + mSrcYSize; in updateYUVSurfaceDef()
412 srcSurfaceDef->phys1 = (uint8_t *)srcSurfaceDef->phys0 + mSrcYSize; in updateYUVSurfaceDef()
413 if (srcSurfaceDef->format & C2D_COLOR_FORMAT_420_I420 || in updateYUVSurfaceDef()
414 srcSurfaceDef->format & C2D_COLOR_FORMAT_420_YV12) { in updateYUVSurfaceDef()
415 srcSurfaceDef->plane2 = (uint8_t *)srcSurfaceDef->plane1 + mSrcYSize/4; in updateYUVSurfaceDef()
416 srcSurfaceDef->phys2 = (uint8_t *)srcSurfaceDef->phys1 + mSrcYSize/4; in updateYUVSurfaceDef()
420 &(*srcSurfaceDef)); in updateYUVSurfaceDef()
[all …]