Lines Matching refs:stride
45 int usage, buffer_handle_t* handle, int32_t* stride) { in gfx_alloc() argument
57 stride); in gfx_alloc()
285 int stride = mVASurfaceStride = mVinfo.lumaStride; in doMapping() local
302 stride = tmp.lumaStride; in doMapping()
311 … if (gfx_alloc(width, height, HAL_PIXEL_FORMAT_NV12, usage, &mGfxHandle, &stride) != 0) in doMapping()
315 mGfxHandle, width, height, stride); in doMapping()
323 if (mAction & MAP_ACTION_ALIGN64 && stride % 64 != 0) { in doMapping()
325 stride = (stride + 63 ) & ~63; in doMapping()
335 mVASurface = CreateNewVASurface(mVADisplay, stride, height); in doMapping()
338 mVASurfaceWidth = mVASurfaceStride = stride; in doMapping()
527 uint32_t width = 0, height = 0, stride = 0; in doActionCopy() local
548 stride = mVinfo.lumaStride; in doActionCopy()
551 srcUV_offset = stride * height; in doActionCopy()
552 srcY_pitch = stride; in doActionCopy()
553 srcUV_pitch = stride; in doActionCopy()
572 stride = tmp.lumaStride; in doActionCopy()
581 srcUV_offset = stride * height; in doActionCopy()
582 srcY_pitch = stride; in doActionCopy()
583 srcUV_pitch = stride; in doActionCopy()