Displaying 9 results from an estimated 9 matches for "nr_compon".
Did you mean:
ir_common
2009 Aug 25
3
[Bug 23505] New: KDE's Kubrick has problems with xf86-video-nouveau driver
http://bugs.freedesktop.org/show_bug.cgi?id=23505
Summary: KDE's Kubrick has problems with xf86-video-nouveau
driver
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: nouveau at
2009 Oct 14
0
[PATCH 3/7] nv50: submit user vbo data through the fifo
...emit->nr_ve++;
+
+ emit->stride[n] = vb->stride;
+ emit->map[n] = nouveau_bo(vb->buffer)->map +
+ (start * vb->stride + ve->src_offset);
+
+ type = pf_type(ve->src_format);
+ size = pf_size_x(ve->src_format) << pf_exp2(ve->src_format);
+
+ assert(ve->nr_components > 0 && ve->nr_components <= 4);
+
+ /* It shouldn't be necessary to push the implicit 1s
+ * for case 3 and size 8 cases 1, 2, 3.
+ */
+ switch (size) {
+ default:
+ NOUVEAU_ERR("unsupported vtxelt size: %u\n", size);
+ return FALSE;
+ case 32:
+ swi...
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...r->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);
> +
> + u_sampler_view_default_template(&sv_templ, res, res->format);
> + buffer->sampler_view_planes[i] = pipe->create_sampler_view(pipe, res, &sv_templ);
> + if (!buffer->sampler_view_planes[i])
&g...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...;
>> +
>> + 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);
>> +
>> + u_sampler_view_default_template(&sv_templ, res, res->format);
>> + buffer->sampler_view_planes[i] = pipe->create_sampler_view(pipe, res, &sv_templ);
>> + if (!buffer->sampler_vi...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...; + 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);
>>> +
>>> + u_sampler_view_default_template(&sv_templ, res, res->format);
>>> + buffer->sampler_view_planes[i] = pipe->create_sampler_view(pipe, res, &sv_templ);
>>> + if (!buffe...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...ddress = buffer->interlaced->offset + mt0->layer_stride * 2;
+ nouveau_bo_ref(buffer->interlaced, &empty);
+
+ memset(&sv_templ, 0, sizeof(sv_templ));
+ for (component = 0, i = 0; i < 2; ++i ) {
+ struct pipe_resource *res = buffer->resources[i];
+ unsigned nr_components = util_format_get_nr_components(res->format);
+
+ u_sampler_view_default_template(&sv_templ, res, res->format);
+ buffer->sampler_view_planes[i] = pipe->create_sampler_view(pipe, res, &sv_templ);
+ if (!buffer->sampler_view_planes[i])
+ goto error;...
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...ase.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 ) {
+ struct pipe_resource *res = buffer->resources[i];
+ unsigned nr_components = util_format_get_nr_components(res->format);
+
+ u_sampler_view_default_template(&sv_templ, res, res->format);
+ buffer->sampler_view_planes[i] =
+ pipe->create_sampler_view(pipe, res, &sv_templ);
+ if (!buffer->sampler_view_planes[i])
+ go...
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
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++
src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++
src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++