comparison libmpcodecs/img_format.h @ 29843:f6d56a15f1d8

Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable hardware. Original patch by NVIDIA corporation.
author cehoyos
date Tue, 10 Nov 2009 19:11:13 +0000
parents c9c2befb2409
children 0447ba499275
comparison
equal deleted inserted replaced
29842:5087d7ad1f5b 29843:f6d56a15f1d8
118 #define IMGFMT_VDPAU_MPEG1 (IMGFMT_VDPAU|0x01) 118 #define IMGFMT_VDPAU_MPEG1 (IMGFMT_VDPAU|0x01)
119 #define IMGFMT_VDPAU_MPEG2 (IMGFMT_VDPAU|0x02) 119 #define IMGFMT_VDPAU_MPEG2 (IMGFMT_VDPAU|0x02)
120 #define IMGFMT_VDPAU_H264 (IMGFMT_VDPAU|0x03) 120 #define IMGFMT_VDPAU_H264 (IMGFMT_VDPAU|0x03)
121 #define IMGFMT_VDPAU_WMV3 (IMGFMT_VDPAU|0x04) 121 #define IMGFMT_VDPAU_WMV3 (IMGFMT_VDPAU|0x04)
122 #define IMGFMT_VDPAU_VC1 (IMGFMT_VDPAU|0x05) 122 #define IMGFMT_VDPAU_VC1 (IMGFMT_VDPAU|0x05)
123 #define IMGFMT_VDPAU_MPEG4 (IMGFMT_VDPAU|0x06)
123 124
124 typedef struct { 125 typedef struct {
125 void* data; 126 void* data;
126 int size; 127 int size;
127 int id; // stream id. usually 0x1E0 128 int id; // stream id. usually 0x1E0