search for: sv_templ

Displaying 7 results from an estimated 7 matches for "sv_templ".

2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...= mt0->layer_stride * 2; > + mt1->base.address = buffer->interlaced->offset + mt0->layer_stride * 2; Similar mt1->base.address = buffer->interlaced->offset + mt1->base.offset; > + nouveau_bo_ref(buffer->interlaced, &empty); > + > + memset(&sv_templ, 0, sizeof(sv_templ)); > + for (component = 0, i = 0; i < 2; ++i ) { for (component = 0, i = 0; i < buffer->num_planes; ++i ) { > + struct pipe_resource *res = buffer->resources[i]; > + unsigned nr_components = util_format_get_nr_components(res->format); >...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...+ mt1->base.address = buffer->interlaced->offset + mt0->layer_stride * 2; > Similar > mt1->base.address = buffer->interlaced->offset + mt1->base.offset; Yep. > >> + nouveau_bo_ref(buffer->interlaced, &empty); >> + >> + memset(&sv_templ, 0, sizeof(sv_templ)); >> + for (component = 0, i = 0; i < 2; ++i ) { > for (component = 0, i = 0; i < buffer->num_planes; ++i ) { > >> + struct pipe_resource *res = buffer->resources[i]; >> + unsigned nr_components = util_format_get_nr_components(...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...nterlaced->offset + mt0->layer_stride * 2; >> Similar >> mt1->base.address = buffer->interlaced->offset + mt1->base.offset; > > Yep. > >> >>> + nouveau_bo_ref(buffer->interlaced, &empty); >>> + >>> + memset(&sv_templ, 0, sizeof(sv_templ)); >>> + for (component = 0, i = 0; i < 2; ++i ) { >> for (component = 0, i = 0; i < buffer->num_planes; ++i ) { >> >>> + struct pipe_resource *res = buffer->resources[i]; >>> + unsigned nr_components = util_forma...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...FREE(buffer); +} + +struct pipe_video_buffer * +nv84_video_buffer_create(struct pipe_context *pipe, + const struct pipe_video_buffer *template) +{ + struct nv84_video_buffer *buffer; + struct pipe_resource templ; + unsigned i, j, component; + struct pipe_sampler_view sv_templ; + struct pipe_surface surf_templ; + struct nv50_miptree *mt0, *mt1; + struct nouveau_bo *empty = NULL; + struct nouveau_screen *screen = &((struct nv50_context *)pipe)->screen->base; + union nouveau_bo_config cfg; + unsigned bo_size; + + if (getenv("XVMC_VL")) +...
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...FREE(buffer); +} + +struct pipe_video_buffer * +nv84_video_buffer_create(struct pipe_context *pipe, + const struct pipe_video_buffer *template) +{ + struct nv84_video_buffer *buffer; + struct pipe_resource templ; + unsigned i, j, component; + struct pipe_sampler_view sv_templ; + struct pipe_surface surf_templ; + struct nv50_miptree *mt0, *mt1; + struct nouveau_bo *empty = NULL; + struct nouveau_screen *screen = &((struct nv50_context *)pipe)->screen->base; + union nouveau_bo_config cfg; + unsigned bo_size; + + if (getenv("XVMC_VL")) +...
2014 Sep 01
2
[PATCH 1/3] nv50: set the miptree address when clearing bo's in vp2 init
The mt address is about to be used more, make sure it's set appropriately. Reported-by: Emil Velikov <emil.l.velikov at gmail.com> Tested-by: Emil Velikov <emil.l.velikov at gmail.com> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc: "10.2 10.3" <mesa-stable at lists.freedesktop.org> --- src/gallium/drivers/nouveau/nv50/nv84_video.c | 2 ++ 1 file
2013 Aug 11
10
[PATCH 00/10] Add support for MPEG2 and VC-1 on VP3/VP4 for NV98-NVAF
As it turns out, with the proprietary firmware, the VP3 and VP4 interfaces are identical. Furthermore, this is all already implemented for nvc0. So these patches (a) move the easily sharable bits of the nvc0 implementation into the nouveau directory, and then (b) implement the other parts in nv50. The non-shared parts are still largely copies, but there are some differences, not the least of which