Home
last modified time | relevance | path

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

/third_party/libdrm/tests/amdgpu/
Dvce_tests.c59 struct amdgpu_vce_bo mvrefbuf; member
577 mv_ref_luma_offset = enc->mvrefbuf.addr; in amdgpu_cs_vce_mv()
686 alloc_resource(&enc.mvrefbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode_mv()
687 resources[num_resources++] = enc.mvrefbuf.handle; in amdgpu_cs_vce_encode_mv()
708 r = amdgpu_bo_cpu_map(enc.mvrefbuf.handle, (void **)&enc.mvrefbuf.ptr); in amdgpu_cs_vce_encode_mv()
711 memset(enc.mvrefbuf.ptr, 0, vbuf_size); in amdgpu_cs_vce_encode_mv()
713 memcpy(enc.mvrefbuf.ptr, (frame + (enc.height - i -1) * enc.width), enc.width); in amdgpu_cs_vce_encode_mv()
714 enc.mvrefbuf.ptr += ALIGN(enc.width, align); in amdgpu_cs_vce_encode_mv()
717 memcpy(enc.mvrefbuf.ptr, in amdgpu_cs_vce_encode_mv()
719 enc.mvrefbuf.ptr += ALIGN(enc.width, align); in amdgpu_cs_vce_encode_mv()
[all …]