Searched refs:buf_templ (Results 1 – 1 of 1) sorted by relevance
312 struct pipe_resource buf_templ; in enc_AllocateBackTexture() local316 memset(&buf_templ, 0, sizeof buf_templ); in enc_AllocateBackTexture()317 buf_templ.target = PIPE_TEXTURE_2D; in enc_AllocateBackTexture()318 buf_templ.format = PIPE_FORMAT_I8_UNORM; in enc_AllocateBackTexture()319 buf_templ.bind = PIPE_BIND_LINEAR; in enc_AllocateBackTexture()320 buf_templ.usage = PIPE_USAGE_STAGING; in enc_AllocateBackTexture()321 buf_templ.flags = 0; in enc_AllocateBackTexture()322 buf_templ.width0 = port->sPortParam.format.video.nFrameWidth; in enc_AllocateBackTexture()323 buf_templ.height0 = port->sPortParam.format.video.nFrameHeight * 3 / 2; in enc_AllocateBackTexture()324 buf_templ.depth0 = 1; in enc_AllocateBackTexture()[all …]