Lines Matching refs:height

105                       int left, int top, int width, int height, void** vaddr) {  in gfx_lock()  argument
117 left, top, width, height, vaddr); in gfx_lock()
196 vinfo.height = h->iHeight; in GetGfxBufferInfo()
222 LOG_V("Actual Width=%d, Height=%d, Stride=%d\n\n", vinfo.width, vinfo.height, vinfo.lumaStride); in GetGfxBufferInfo()
234 if (gfx_lock((buffer_handle_t)handle, usage, 0, 0, vinfo.width, vinfo.height, &vaddr[0]) != 0) in DumpGfx()
237 fwrite(vaddr[0], 1, vinfo.lumaStride * vinfo.height * 4, fp); in DumpGfx()
239 LOG_I("dump %d bytes data to %s\n", vinfo.lumaStride * vinfo.height * 4, filename); in DumpGfx()
299 int height = mVASurfaceHeight = mVinfo.height; in doMapping() local
316 height = tmp.height; in doMapping()
326 … if (gfx_alloc(width, height, HAL_PIXEL_FORMAT_NV12, usage, &mGfxHandle, &stride) != 0) in doMapping()
330 mGfxHandle, width, height, stride); in doMapping()
344 if(mAction & MAP_ACTION_ALIGN64 && width <= 320 && height <= 240) { in doMapping()
350 mVASurface = CreateNewVASurface(mVADisplay, stride, height); in doMapping()
354 mVASurfaceHeight = height; in doMapping()
425 …e=%d, width=%d, height=%d\n", mode, mVinfo.format, mVinfo.lumaStride, mVinfo.width, mVinfo.height); in MappingToVASurface()
460 mVinfo.size = mVinfo.lumaStride * mVinfo.height * 1.5; in MappingSurfaceID()
467 mVASurfaceHeight = mVinfo.height; in MappingSurfaceID()
479 mVASurfaceHeight = mVinfo.height; in MappingGfxHandle()
489 mVASurfaceHeight = tmp.height; in MappingGfxHandle()
499 vinfo.height = mVASurfaceHeight; in MappingGfxHandle()
512 mVinfo.size = mVinfo.lumaStride * mVinfo.height * 1.5; in MappingKbufHandle()
518 mVASurfaceHeight = mVinfo.height; in MappingKbufHandle()
531 mVASurfaceHeight = mVinfo.height; in MappingMallocPTR()
542 uint32_t width = 0, height = 0, stride = 0; in doActionCopy() local
555 mVinfo.mode, mVinfo.width, mVinfo.lumaStride, mVinfo.height); in doActionCopy()
562 height = mVinfo.height; in doActionCopy()
566 srcUV_offset = stride * height; in doActionCopy()
586 height = tmp.height; in doActionCopy()
596 srcUV_offset = stride * height; in doActionCopy()
602 if (gfx_lock((buffer_handle_t) handle, usage, 0, 0, width, height, &vaddr[0]) != 0) in doActionCopy()
625 LOG_V("height = %d\n", destImage.height); in doActionCopy()
627 if (width > destImage.width || height > destImage.height) { in doActionCopy()
640 for (uint32_t i = 0; i < height; i++) { in doActionCopy()
646 for (uint32_t i = 0; i < height / 2; i++) { in doActionCopy()
676 LOG_V("doActionColConv gfx_Blit width=%d, height=%d\n", mVinfo.width, mVinfo.height); in doActionColConv()
678 mVinfo.width, mVinfo.height, 0, 0) != 0) in doActionColConv()
704 extbuf.height = vinfo.height; in CreateSurfaceFromExternalBuf()
707 extbuf.data_size = vinfo.lumaStride * vinfo.height * 1.5; in CreateSurfaceFromExternalBuf()
715 extbuf.offsets[1] = vinfo.lumaStride * vinfo.height; in CreateSurfaceFromExternalBuf()
760 vinfo.height, &surface, 1, attribs, 2); in CreateSurfaceFromExternalBuf()
768 VASurfaceID CreateNewVASurface(VADisplay display, int32_t width, int32_t height) { in CreateNewVASurface() argument
778 extbuf.height = height; in CreateNewVASurface()
779 extbuf.data_size = width * height * 3 / 2; in CreateNewVASurface()
787 extbuf.offsets[1] = width * height; in CreateNewVASurface()
805 height, &surface, 1, attribs, 2); in CreateNewVASurface()