Mercurial > libavutil.hg
comparison pixdesc.c @ 818:2715180d7ffa libavutil
H264 DXVA2 implementation
It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
It is implemented by using AVHWAccel API. It has been tested successfully
for some time in VLC using an nvidia card on Windows 7.
To compile it, you need to have the system header dxva2api.h (either from
microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h)
The generated libavcodec.dll does not depend directly on any new lib as
the necessary objects are given by the application using FFmpeg.
author | fenrir |
---|---|
date | Wed, 20 Jan 2010 18:54:51 +0000 |
parents | ecf400e9601b |
children | f01765adeb5c |
comparison
equal
deleted
inserted
replaced
817:bcebfe1a7e80 | 818:2715180d7ffa |
---|---|
644 {1,1,1,0,15}, /* U */ | 644 {1,1,1,0,15}, /* U */ |
645 {2,1,1,0,15}, /* V */ | 645 {2,1,1,0,15}, /* V */ |
646 }, | 646 }, |
647 .flags = PIX_FMT_BE, | 647 .flags = PIX_FMT_BE, |
648 }, | 648 }, |
649 [PIX_FMT_DXVA2_VLD] = { | |
650 .name = "dxva2_vld", | |
651 .log2_chroma_w = 1, | |
652 .log2_chroma_h = 1, | |
653 .flags = PIX_FMT_HWACCEL, | |
654 }, | |
649 }; | 655 }; |
650 | 656 |
651 int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc) | 657 int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc) |
652 { | 658 { |
653 int c, bits = 0; | 659 int c, bits = 0; |