Displaying 8 results from an estimated 8 matches for "vl_create_decoder".
2014 May 18
2
[PATCH] nvc0: maxwell has a new video engine, don't return a decoder object
...src/gallium/drivers/nouveau/nvc0/nvc0_video.c
index 5871f59..c9ab13a 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
@@ -77,6 +77,9 @@ nvc0_create_decoder(struct pipe_context *context,
if (getenv("XVMC_VL"))
return vl_create_decoder(context, templ);
+ if (screen->device->chipset >= 0x110)
+ return NULL;
+
if (templ->entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) {
debug_printf("%x\n", templ->entrypoint);
return NULL;
--
1.8.5.5
2014 May 19
0
[Mesa-dev] [PATCH] nvc0: maxwell has a new video engine, don't return a decoder object
...c0/nvc0_video.c
> index 5871f59..c9ab13a 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_video.c
> @@ -77,6 +77,9 @@ nvc0_create_decoder(struct pipe_context *context,
> if (getenv("XVMC_VL"))
> return vl_create_decoder(context, templ);
>
> + if (screen->device->chipset >= 0x110)
> + return NULL;
Is that really necessary? It'll already fail because it tries to
create kepler's classes.
> +
> if (templ->entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) {
> debug...
2013 Jun 29
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
..._CODEC_MPEG4_AVC;
> + int is_mpeg12 = u_reduce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG12;
> + struct nouveau_pushbuf_refn fence_ref[] = {
> + { NULL, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM },
> + };
> +
> +
> + if (getenv("XVMC_VL"))
> + return vl_create_decoder(context, profile, entrypoint,
> + chroma_format, width, height,
> + max_references, chunked_decode);
> +
> + if ((is_h264 && entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) ||
> + (is_mpeg12 && entrypo...
2013 Jun 29
2
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...nt is_mpeg12 = u_reduce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG12;
>> + struct nouveau_pushbuf_refn fence_ref[] = {
>> + { NULL, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM },
>> + };
>> +
>> +
>> + if (getenv("XVMC_VL"))
>> + return vl_create_decoder(context, profile, entrypoint,
>> + chroma_format, width, height,
>> + max_references, chunked_decode);
>> +
>> + if ((is_h264 && entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) ||
>> + (is_mpeg1...
2013 Jun 30
0
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...o_profile(profile) == PIPE_VIDEO_CODEC_MPEG12;
>>> + struct nouveau_pushbuf_refn fence_ref[] = {
>>> + { NULL, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM },
>>> + };
>>> +
>>> +
>>> + if (getenv("XVMC_VL"))
>>> + return vl_create_decoder(context, profile, entrypoint,
>>> + chroma_format, width, height,
>>> + max_references, chunked_decode);
>>> +
>>> + if ((is_h264 && entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) ||
>>&g...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...uce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG4_AVC;
+ int is_mpeg12 = u_reduce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG12;
+ struct nouveau_pushbuf_refn fence_ref[] = {
+ { NULL, NOUVEAU_BO_RDWR | NOUVEAU_BO_VRAM },
+ };
+
+
+ if (getenv("XVMC_VL"))
+ return vl_create_decoder(context, profile, entrypoint,
+ chroma_format, width, height,
+ max_references, chunked_decode);
+
+ if ((is_h264 && entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) ||
+ (is_mpeg12 && entrypoint > PIPE_VIDEO_ENTRY...
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...uct nv04_fifo nv04_data = { .vram = 0xbeef0201, .gart = 0xbeef0202 };
+ int ret, i;
+ int is_h264 = u_reduce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG4_AVC;
+ int is_mpeg12 = u_reduce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG12;
+
+ if (getenv("XVMC_VL"))
+ return vl_create_decoder(context, profile, entrypoint,
+ chroma_format, width, height,
+ max_references, chunked_decode);
+
+ if ((is_h264 && entrypoint != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) ||
+ (is_mpeg12 && entrypoint > PIPE_VIDEO_ENTRY...
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