Displaying 5 results from an estimated 5 matches for "vp_pushbuf".
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...(&dec->bsp);
+   nouveau_object_del(&dec->vp);
+
+   nouveau_bufctx_del(&dec->bsp_bufctx);
+   nouveau_pushbuf_del(&dec->bsp_pushbuf);
+   nouveau_object_del(&dec->bsp_channel);
+
+   nouveau_bufctx_del(&dec->vp_bufctx);
+   nouveau_pushbuf_del(&dec->vp_pushbuf);
+   nouveau_object_del(&dec->vp_channel);
+
+   nouveau_client_del(&dec->client);
+
+   if (dec->mpeg12_bs)
+      FREE(dec->mpeg12_bs);
+   FREE(dec);
+}
+
+struct pipe_video_decoder *
+nv84_create_decoder(struct pipe_context *context,
+                    enum pipe_video_pro...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...(&dec->bsp);
+   nouveau_object_del(&dec->vp);
+
+   nouveau_bufctx_del(&dec->bsp_bufctx);
+   nouveau_pushbuf_del(&dec->bsp_pushbuf);
+   nouveau_object_del(&dec->bsp_channel);
+
+   nouveau_bufctx_del(&dec->vp_bufctx);
+   nouveau_pushbuf_del(&dec->vp_pushbuf);
+   nouveau_object_del(&dec->vp_channel);
+
+   nouveau_client_del(&dec->client);
+
+   if (dec->mpeg12_bs)
+      FREE(dec->mpeg12_bs);
+   FREE(dec);
+}
+
+struct pipe_video_decoder *
+nv84_create_decoder(struct pipe_context *context,
+                    enum pipe_video_pro...
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...oder_eng_type
{
   BSP = 0,
   VP
};
#define NV84_DECODER_ENG_NUM VP + 1
> +struct nv84_decoder {
> +   struct pipe_video_decoder base;
> +   struct nouveau_client *client;
> +   struct nouveau_object *bsp_channel, *vp_channel, *bsp, *vp;
> +   struct nouveau_pushbuf *bsp_pushbuf, *vp_pushbuf;
> +   struct nouveau_bufctx *bsp_bufctx, *vp_bufctx;
Then the struct will look a bit cleaner
struct nv84_decoder {
   struct pipe_video_decoder base;
   struct nouveau_client *client;
   struct nv84_decoder_eng engs[NV84_DECODER_ENG_NUM];
> +
> +   struct nouveau_bo *bsp_fw, *bsp_data;...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...se likes this approach too,
I'll try it out.
>
>> +struct nv84_decoder {
>> +   struct pipe_video_decoder base;
>> +   struct nouveau_client *client;
>> +   struct nouveau_object *bsp_channel, *vp_channel, *bsp, *vp;
>> +   struct nouveau_pushbuf *bsp_pushbuf, *vp_pushbuf;
>> +   struct nouveau_bufctx *bsp_bufctx, *vp_bufctx;
> Then the struct will look a bit cleaner
> struct nv84_decoder {
>    struct pipe_video_decoder base;
>    struct nouveau_client *client;
>    struct nv84_decoder_eng engs[NV84_DECODER_ENG_NUM];
>
>
>> +
>&g...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...'ll try it out.
> 
>>
>>> +struct nv84_decoder {
>>> +   struct pipe_video_decoder base;
>>> +   struct nouveau_client *client;
>>> +   struct nouveau_object *bsp_channel, *vp_channel, *bsp, *vp;
>>> +   struct nouveau_pushbuf *bsp_pushbuf, *vp_pushbuf;
>>> +   struct nouveau_bufctx *bsp_bufctx, *vp_bufctx;
>> Then the struct will look a bit cleaner
>> struct nv84_decoder {
>>    struct pipe_video_decoder base;
>>    struct nouveau_client *client;
>>    struct nv84_decoder_eng engs[NV84_DECODER_ENG_NUM];
>...