search for: vl_num_compon

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

2013 Aug 10
3
[PATCH 1/4] nouveau: fix number of surfaces in video buffer, use defines
...struct pipe_video_buffer base; unsigned num_planes; - struct pipe_resource *resources[3]; - struct pipe_sampler_view *sampler_view_planes[3]; - struct pipe_sampler_view *sampler_view_components[3]; - struct pipe_surface *surfaces[3]; + struct pipe_resource *resources[VL_NUM_COMPONENTS]; + struct pipe_sampler_view *sampler_view_planes[VL_NUM_COMPONENTS]; + struct pipe_sampler_view *sampler_view_components[VL_NUM_COMPONENTS]; + struct pipe_surface *surfaces[VL_NUM_COMPONENTS * 2]; }; struct nouveau_decoder { -- 1.8.1.5
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
.../gallium/drivers/nv50/nv84_video.h > new file mode 100644 > index 0000000..4ff8cf3 > --- /dev/null > +++ b/src/gallium/drivers/nv50/nv84_video.h ... > +struct nv84_video_buffer { > + struct pipe_video_buffer base; unsigned num_planes; > + struct pipe_resource *resources[VL_NUM_COMPONENTS]; > + struct pipe_sampler_view *sampler_view_planes[VL_NUM_COMPONENTS]; > + struct pipe_sampler_view *sampler_view_components[VL_NUM_COMPONENTS]; > + struct pipe_surface *surfaces[VL_NUM_COMPONENTS * 2]; > + > + struct nouveau_bo *interlaced, *full; > + int mvidx; &g...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...; new file mode 100644 >> index 0000000..4ff8cf3 >> --- /dev/null >> +++ b/src/gallium/drivers/nv50/nv84_video.h > ... >> +struct nv84_video_buffer { >> + struct pipe_video_buffer base; > unsigned num_planes; > >> + struct pipe_resource *resources[VL_NUM_COMPONENTS]; >> + struct pipe_sampler_view *sampler_view_planes[VL_NUM_COMPONENTS]; >> + struct pipe_sampler_view *sampler_view_components[VL_NUM_COMPONENTS]; >> + struct pipe_surface *surfaces[VL_NUM_COMPONENTS * 2]; >> + >> + struct nouveau_bo *interlaced, *full; &g...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...index 0000000..4ff8cf3 >>> --- /dev/null >>> +++ b/src/gallium/drivers/nv50/nv84_video.h >> ... >>> +struct nv84_video_buffer { >>> + struct pipe_video_buffer base; >> unsigned num_planes; >> >>> + struct pipe_resource *resources[VL_NUM_COMPONENTS]; >>> + struct pipe_sampler_view *sampler_view_planes[VL_NUM_COMPONENTS]; >>> + struct pipe_sampler_view *sampler_view_components[VL_NUM_COMPONENTS]; >>> + struct pipe_surface *surfaces[VL_NUM_COMPONENTS * 2]; >>> + >>> + struct nouveau_bo *i...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
..._video_buffer *buf = (struct nv84_video_buffer *)buffer; + return buf->surfaces; +} + +static void +nv84_video_buffer_destroy(struct pipe_video_buffer *buffer) +{ + struct nv84_video_buffer *buf = (struct nv84_video_buffer *)buffer; + unsigned i; + + assert(buf); + + for (i = 0; i < VL_NUM_COMPONENTS; ++i) { + pipe_resource_reference(&buf->resources[i], NULL); + pipe_sampler_view_reference(&buf->sampler_view_planes[i], NULL); + pipe_sampler_view_reference(&buf->sampler_view_components[i], NULL); + pipe_surface_reference(&buf->surfaces[i * 2],...
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
..._video_buffer *buf = (struct nv84_video_buffer *)buffer; + return buf->surfaces; +} + +static void +nv84_video_buffer_destroy(struct pipe_video_buffer *buffer) +{ + struct nv84_video_buffer *buf = (struct nv84_video_buffer *)buffer; + unsigned i; + + assert(buf); + + for (i = 0; i < VL_NUM_COMPONENTS; ++i) { + pipe_resource_reference(&buf->resources[i], NULL); + pipe_sampler_view_reference(&buf->sampler_view_planes[i], NULL); + pipe_sampler_view_reference(&buf->sampler_view_components[i], NULL); + pipe_surface_reference(&buf->surfaces[i * 2],...
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