• Home
  • Raw
  • Download

Lines Matching refs:height

86                     int left, int top, int width, int height, void** vaddr) {  in gfx_lock()  argument
101 .height = height in gfx_lock()
181 vinfo.height = h->iHeight; in GetGfxBufferInfo()
207 LOG_V("Actual Width=%d, Height=%d, Stride=%d\n\n", vinfo.width, vinfo.height, vinfo.lumaStride); in GetGfxBufferInfo()
219 if (gfx_lock((buffer_handle_t)handle, usage, 0, 0, vinfo.width, vinfo.height, &vaddr[0]) != 0) in DumpGfx()
222 fwrite(vaddr[0], 1, vinfo.lumaStride * vinfo.height * 4, fp); in DumpGfx()
224 LOG_I("dump %d bytes data to %s\n", vinfo.lumaStride * vinfo.height * 4, filename); in DumpGfx()
284 int height = mVASurfaceHeight = mVinfo.height; in doMapping() local
301 height = tmp.height; 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()
329 if(mAction & MAP_ACTION_ALIGN64 && width <= 320 && height <= 240) { in doMapping()
335 mVASurface = CreateNewVASurface(mVADisplay, stride, height); in doMapping()
339 mVASurfaceHeight = height; in doMapping()
410 …e=%d, width=%d, height=%d\n", mode, mVinfo.format, mVinfo.lumaStride, mVinfo.width, mVinfo.height); in MappingToVASurface()
445 mVinfo.size = mVinfo.lumaStride * mVinfo.height * 1.5; in MappingSurfaceID()
452 mVASurfaceHeight = mVinfo.height; in MappingSurfaceID()
464 mVASurfaceHeight = mVinfo.height; in MappingGfxHandle()
474 mVASurfaceHeight = tmp.height; in MappingGfxHandle()
484 vinfo.height = mVASurfaceHeight; in MappingGfxHandle()
497 mVinfo.size = mVinfo.lumaStride * mVinfo.height * 1.5; in MappingKbufHandle()
503 mVASurfaceHeight = mVinfo.height; in MappingKbufHandle()
516 mVASurfaceHeight = mVinfo.height; in MappingMallocPTR()
527 uint32_t width = 0, height = 0, stride = 0; in doActionCopy() local
540 mVinfo.mode, mVinfo.width, mVinfo.lumaStride, mVinfo.height); in doActionCopy()
547 height = mVinfo.height; in doActionCopy()
551 srcUV_offset = stride * height; in doActionCopy()
571 height = tmp.height; in doActionCopy()
581 srcUV_offset = stride * height; in doActionCopy()
587 if (gfx_lock((buffer_handle_t) handle, usage, 0, 0, width, height, &vaddr[0]) != 0) in doActionCopy()
610 LOG_V("height = %d\n", destImage.height); in doActionCopy()
612 if (width > destImage.width || height > destImage.height) { in doActionCopy()
625 for (uint32_t i = 0; i < height; i++) { in doActionCopy()
631 for (uint32_t i = 0; i < height / 2; i++) { in doActionCopy()
661 LOG_V("doActionColConv gfx_Blit width=%d, height=%d\n", mVinfo.width, mVinfo.height); in doActionColConv()
663 mVinfo.width, mVinfo.height, 0, 0) != 0) in doActionColConv()
689 extbuf.height = vinfo.height; in CreateSurfaceFromExternalBuf()
692 extbuf.data_size = vinfo.lumaStride * vinfo.height * 1.5; in CreateSurfaceFromExternalBuf()
700 extbuf.offsets[1] = vinfo.lumaStride * vinfo.height; in CreateSurfaceFromExternalBuf()
745 vinfo.height, &surface, 1, attribs, 2); in CreateSurfaceFromExternalBuf()
753 VASurfaceID CreateNewVASurface(VADisplay display, int32_t width, int32_t height) { in CreateNewVASurface() argument
763 extbuf.height = height; in CreateNewVASurface()
764 extbuf.data_size = width * height * 3 / 2; in CreateNewVASurface()
772 extbuf.offsets[1] = width * height; in CreateNewVASurface()
790 height, &surface, 1, attribs, 2); in CreateNewVASurface()