History

pixfmt: add picture format for VDPAU

Rémi Denis-Courmont committed 13 years ago

Commit 169fb941 parent f61272f2 files · +7 −0Browse files

Unified · Split

2 files
  1. libavutil/pixdesc.c +6 −0
  2. libavutil/pixfmt.h +1 −0
libavutil/pixdesc.c+6−0
@@ -1359,6 +1359,12 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 1358 unmodified lines
1359 },1359 },
1360 .flags = PIX_FMT_BE | PIX_FMT_PLANAR | PIX_FMT_RGB,1360 .flags = PIX_FMT_BE | PIX_FMT_PLANAR | PIX_FMT_RGB,
1361 },1361 },
1362 [AV_PIX_FMT_VDPAU] = {
1363 .name = "vdpau",
1364 .log2_chroma_w = 1,
1365 .log2_chroma_h = 1,
1366 .flags = PIX_FMT_HWACCEL,
1367 },
1362};1368};
1363 1369
1364static enum AVPixelFormat get_pix_fmt_internal(const char *name)1370static enum AVPixelFormat get_pix_fmt_internal(const char *name)
libavutil/pixfmt.h+1−0
@@ -178,6 +178,7 @@ enum AVPixelFormat { · 177 unmodified lines
178 AV_PIX_FMT_YUVA422P16LE, ///< planar YUV 4:2:2 48bpp, (1 Cr & Cb sample per 2x1 Y & A samples, little-endian)178 AV_PIX_FMT_YUVA422P16LE, ///< planar YUV 4:2:2 48bpp, (1 Cr & Cb sample per 2x1 Y & A samples, little-endian)
179 AV_PIX_FMT_YUVA444P16BE, ///< planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, big-endian)179 AV_PIX_FMT_YUVA444P16BE, ///< planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, big-endian)
180 AV_PIX_FMT_YUVA444P16LE, ///< planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, little-endian)180 AV_PIX_FMT_YUVA444P16LE, ///< planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, little-endian)
181 AV_PIX_FMT_VDPAU, ///< HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface
181 AV_PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions182 AV_PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions
182 183
183#if FF_API_PIX_FMT184#if FF_API_PIX_FMT

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t