search for: mvidx

Displaying 5 results from an estimated 5 matches for "mvidx".

Did you mean: mcidx
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...hat there are always going to be exactly two planes, one for Y, + * and one for UV. These are also the resources. VP expects these to be + * adjacent, so they need to belong to the same BO. + */ + + buffer = CALLOC_STRUCT(nv84_video_buffer); + if (!buffer) return NULL; + + buffer->mvidx = -1; + + buffer->base.buffer_format = template->buffer_format; + buffer->base.context = pipe; + buffer->base.destroy = nv84_video_buffer_destroy; + buffer->base.chroma_format = template->chroma_format; + buffer->base.width = template->width; + buffer->base.he...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...e NV12 format\n"); + return NULL; + } + if (template->chroma_format != PIPE_VIDEO_CHROMA_FORMAT_420) { + debug_printf("Must use 4:2:0 format\n"); + return NULL; + } + + buffer = CALLOC_STRUCT(nv84_video_buffer); + if (!buffer) return NULL; + + buffer->mvidx = -1; + + buffer->base.buffer_format = template->buffer_format; + buffer->base.context = pipe; + buffer->base.destroy = nv84_video_buffer_destroy; + buffer->base.chroma_format = template->chroma_format; + buffer->base.width = template->width; + buffer->base.he...
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...UM_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; > + unsigned frame_num, frame_num_max; > +}; > + Looking at the params associated with each video engine, I was wondering about compacting it into a struct (names chosen are the first thing that came to mind) struct nv84_decoder_eng { struct nouveau_object *obj; struct nouveau_o...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...+ 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; >> + unsigned frame_num, frame_num_max; >> +}; >> + > > Looking at the params associated with each video engine, I was wondering > about compacting it into a struct (names chosen are the first thing that > came to mind) > > struct nv84_decoder_eng { > st...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...pler_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; >>> + unsigned frame_num, frame_num_max; >>> +}; >>> + >> >> Looking at the params associated with each video engine, I was wondering >> about compacting it into a struct (names chosen are the first thing that >> came to mind) >> >>...