Searched refs:buf_templ (Results 1 – 2 of 2) sorted by relevance
50 struct pipe_resource buf_templ; in enc_AllocateBackTexture() local54 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 …]
292 struct pipe_resource buf_templ; in enc_AllocateBackTexture() local296 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 …]