Lines Matching refs:pipe
33 #include "pipe/p_screen.h"
34 #include "pipe/p_video_codec.h"
35 #include "pipe/p_state.h"
206 upload_sampler(struct pipe_context *pipe, struct pipe_sampler_view *dst,
213 map = pipe->texture_map(pipe, dst->texture, 0, PIPE_MAP_WRITE,
222 pipe->texture_unmap(pipe, transfer);
226 upload_sampler_convert(struct pipe_context *pipe, struct pipe_sampler_view *dst,
234 map = pipe->texture_map(pipe, dst->texture, 0, PIPE_MAP_WRITE,
257 pipe->texture_unmap(pipe, transfer);
266 struct pipe_context *pipe;
280 pipe = context_priv->pipe;
299 tex_templ.format = XvIDToPipe(pipe->screen, xvimage_id);
301 if (pipe->screen->get_video_param(pipe->screen,
318 tex = pipe->screen->resource_create(pipe->screen, &tex_templ);
323 subpicture_priv->sampler = pipe->create_sampler_view(pipe, tex, &sampler_templ);
338 pipe->screen, tex_templ.format, &palette_format,
349 tex = pipe->screen->resource_create(pipe->screen, &tex_templ);
354 subpicture_priv->palette = pipe->create_sampler_view(pipe, tex, &sampler_templ);
375 struct pipe_context *pipe;
392 pipe = context_priv->pipe;
396 map = pipe->texture_map(pipe, dst->texture, 0, PIPE_MAP_WRITE,
404 pipe->texture_unmap(pipe, transfer);
415 struct pipe_context *pipe;
437 pipe = context_priv->pipe;
443 upload_sampler_convert(pipe, subpicture_priv->sampler, &dst_box, image, srcx, srcy);
446 upload_sampler(pipe, subpicture_priv->sampler, &dst_box, image->data, src_stride, srcx, srcy);
481 struct pipe_context *pipe;
492 pipe = context_priv->pipe;
496 upload_sampler(pipe, subpicture_priv->palette, &dst_box, palette, 0, 0, 0);