[FFmpeg-devel] [PATCH]VDPAU patch for VC1 decoding, round 3
Diego Biurrun
diego
Thu Jan 8 01:09:25 CET 2009
On Thu, Jan 08, 2009 at 03:01:39AM +0100, Carl Eugen Hoyos wrote:
>
> Updated patch for VDPAU hardware accelerated decoding for VC1 and WMV3
> attached.
>
> Please comment, Carl Eugen
>
> --- libavcodec/vdpau_internal.h (revision 16492)
> +++ libavcodec/vdpau_internal.h (working copy)
> @@ -26,9 +26,14 @@
>
> #include <stdint.h>
> #include "h264.h"
> +#undef interlaced_dct
> +#undef mb_intra
What error do you get without this?
> --- libavcodec/vdpauvideo.c (revision 16492)
> +++ libavcodec/vdpauvideo.c (working copy)
> @@ -180,4 +181,96 @@
> +
> + render->bitstream_buffers[0].struct_version = VDP_BITSTREAM_BUFFER_VERSION;
> + render->bitstream_buffers[0].bitstream_bytes = buf_size;
> + render->bitstream_buffers[0].bitstream = buf;
> + render->bitstream_buffers_used = 1;
> +
> + render->info.vc1.slice_count = 1;
alignment
Diego
More information about the ffmpeg-devel
mailing list