Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/omx/tizonia/
Dh264einport.c50 struct pipe_resource buf_templ; in enc_AllocateBackTexture() local
54 memset(&buf_templ, 0, sizeof buf_templ); in enc_AllocateBackTexture()
55 buf_templ.target = PIPE_TEXTURE_2D; in enc_AllocateBackTexture()
56 buf_templ.format = PIPE_FORMAT_I8_UNORM; in enc_AllocateBackTexture()
57 buf_templ.bind = PIPE_BIND_LINEAR; in enc_AllocateBackTexture()
58 buf_templ.usage = PIPE_USAGE_STAGING; in enc_AllocateBackTexture()
59 buf_templ.flags = 0; in enc_AllocateBackTexture()
60 buf_templ.width0 = port->portdef_.format.video.nFrameWidth; in enc_AllocateBackTexture()
61 buf_templ.height0 = port->portdef_.format.video.nFrameHeight * 3 / 2; in enc_AllocateBackTexture()
62 buf_templ.depth0 = 1; in enc_AllocateBackTexture()
[all …]
/external/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_enc.c292 struct pipe_resource buf_templ; in enc_AllocateBackTexture() local
296 memset(&buf_templ, 0, sizeof buf_templ); in enc_AllocateBackTexture()
297 buf_templ.target = PIPE_TEXTURE_2D; in enc_AllocateBackTexture()
298 buf_templ.format = PIPE_FORMAT_I8_UNORM; in enc_AllocateBackTexture()
299 buf_templ.bind = PIPE_BIND_LINEAR; in enc_AllocateBackTexture()
300 buf_templ.usage = PIPE_USAGE_STAGING; in enc_AllocateBackTexture()
301 buf_templ.flags = 0; in enc_AllocateBackTexture()
302 buf_templ.width0 = port->sPortParam.format.video.nFrameWidth; in enc_AllocateBackTexture()
303 buf_templ.height0 = port->sPortParam.format.video.nFrameHeight * 3 / 2; in enc_AllocateBackTexture()
304 buf_templ.depth0 = 1; in enc_AllocateBackTexture()
[all …]