Searched refs:tex_templ (Results 1 – 2 of 2) sorted by relevance
200 struct pipe_resource tex_templ, *tex; in XvMCCreateSubpicture() local229 memset(&tex_templ, 0, sizeof(tex_templ)); in XvMCCreateSubpicture()230 tex_templ.target = PIPE_TEXTURE_2D; in XvMCCreateSubpicture()231 tex_templ.format = XvIDToPipe(xvimage_id); in XvMCCreateSubpicture()232 tex_templ.last_level = 0; in XvMCCreateSubpicture()236 tex_templ.width0 = width; in XvMCCreateSubpicture()237 tex_templ.height0 = height; in XvMCCreateSubpicture()240 tex_templ.width0 = util_next_power_of_two(width); in XvMCCreateSubpicture()241 tex_templ.height0 = util_next_power_of_two(height); in XvMCCreateSubpicture()243 tex_templ.depth0 = 1; in XvMCCreateSubpicture()[all …]
684 struct pipe_resource tex_templ, *matrix; in vl_idct_upload_matrix() local700 memset(&tex_templ, 0, sizeof(tex_templ)); in vl_idct_upload_matrix()701 tex_templ.target = PIPE_TEXTURE_2D; in vl_idct_upload_matrix()702 tex_templ.format = PIPE_FORMAT_R32G32B32A32_FLOAT; in vl_idct_upload_matrix()703 tex_templ.last_level = 0; in vl_idct_upload_matrix()704 tex_templ.width0 = 2; in vl_idct_upload_matrix()705 tex_templ.height0 = 8; in vl_idct_upload_matrix()706 tex_templ.depth0 = 1; in vl_idct_upload_matrix()707 tex_templ.array_size = 1; in vl_idct_upload_matrix()708 tex_templ.usage = PIPE_USAGE_IMMUTABLE; in vl_idct_upload_matrix()[all …]