Home
last modified time | relevance | path

Searched refs:vbuf_size (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_backend.c82 if (svga_render->vbuf_size in svga_vbuf_render_allocate_vertices()
92 svga_render->vbuf_size = MAX2(size, svga_render->vbuf_alloc_size); in svga_vbuf_render_allocate_vertices()
96 svga_render->vbuf_size)); in svga_vbuf_render_allocate_vertices()
104 svga_render->vbuf_size); in svga_vbuf_render_allocate_vertices()
390 svga_render->vbuf_size = 0; in svga_vbuf_render_create()
Dsvga_swtnl_private.h58 size_t vbuf_size; member
/external/libdrm/tests/amdgpu/
Dvce_tests.c489 uint32_t vbuf_size, bs_size = 0x154000, cpb_size; in amdgpu_cs_vce_encode() local
493 vbuf_size = ALIGN(enc.width, align) * ALIGN(enc.height, 16) * 1.5; in amdgpu_cs_vce_encode()
494 cpb_size = vbuf_size * 10; in amdgpu_cs_vce_encode()
504 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode()
513 memset(enc.vbuf.ptr, 0, vbuf_size); in amdgpu_cs_vce_encode()
670 uint32_t vbuf_size, bs_size = 0x154000, cpb_size; in amdgpu_cs_vce_encode_mv() local
674 vbuf_size = ALIGN(enc.width, align) * ALIGN(enc.height, 16) * 1.5; in amdgpu_cs_vce_encode_mv()
676 cpb_size = vbuf_size * 10; in amdgpu_cs_vce_encode_mv()
684 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode_mv()
686 alloc_resource(&enc.mvrefbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode_mv()
[all …]
Duvd_enc_tests.c332 uint32_t vbuf_size, bs_size = 0x003f4800, cpb_size; in amdgpu_cs_uvd_enc_encode() local
334 vbuf_size = ALIGN(enc.width, align) * ALIGN(enc.height, 16) * 1.5; in amdgpu_cs_uvd_enc_encode()
335 cpb_size = vbuf_size * 10; in amdgpu_cs_uvd_enc_encode()
343 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
352 memset(enc.vbuf.ptr, 0, vbuf_size); in amdgpu_cs_uvd_enc_encode()
/external/blktrace/
Dblkiomon.c528 int mode, vbuf_size; in blkiomon_open_output() local
536 vbuf_size = 4096; in blkiomon_open_output()
541 vbuf_size = 128 * 1024; in blkiomon_open_output()
547 if (setvbuf(out->fp, out->buf, mode, vbuf_size)) in blkiomon_open_output()