History

lavu: Add packed YVYU422 pixel format

Vittorio Giovara committed 12 years ago

Commit 8b172431 parent 46439e14 files · +17 −1Browse files

Unified · Split

4 files
  1. doc/APIchanges +3 −0
  2. libavutil/pixdesc.c +11 −0
  3. libavutil/pixfmt.h +2 −0
  4. libavutil/version.h +1 −1
doc/APIchanges+3−0
@@ -13,6 +13,9 @@ libavutil: 2013-12-xx · 12 unmodified lines
1313
1414 API changes, most recent first:
1515
16+2014-04-xx - xxxxxxx - lavu 53.11.0 - pixfmt.h
17+ Add AV_PIX_FMT_YVYU422 pixel format.
18+
1619 2014-04-xx - xxxxxxx - lavu 53.10.0 - replaygain.h
1720 Full scale for peak values is now 100000 (instead of UINT32_MAX) and values
1821 may overflow.
libavutil/pixdesc.c+11−0
@@ -152,6 +152,17 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 151 unmodified lines
152152 { 0, 3, 4, 0, 7 }, /* V */
153153 },
154154 },
155+ [AV_PIX_FMT_YVYU422] = {
156+ .name = "yvyu422",
157+ .nb_components = 3,
158+ .log2_chroma_w = 1,
159+ .log2_chroma_h = 0,
160+ .comp = {
161+ { 0, 1, 1, 0, 7 }, /* Y */
162+ { 0, 3, 2, 0, 7 }, /* V */
163+ { 0, 3, 4, 0, 7 }, /* U */
164+ },
165+ },
155166 [AV_PIX_FMT_RGB24] = {
156167 .name = "rgb24",
157168 .nb_components = 3,
libavutil/pixfmt.h+2−0
@@ -196,6 +196,8 @@ enum AVPixelFormat { · 195 unmodified lines
196196 AV_PIX_FMT_BGRA64BE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian
197197 AV_PIX_FMT_BGRA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian
198198
199+ AV_PIX_FMT_YVYU422, ///< packed YUV 4:2:2, 16bpp, Y0 Cr Y1 Cb
200+
199201 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
200202
201203 #if FF_API_PIX_FMT
libavutil/version.h+1−1
@@ -54,7 +54,7 @@ · 53 unmodified lines
5454 */
5555
5656 #define LIBAVUTIL_VERSION_MAJOR 53
57−#define LIBAVUTIL_VERSION_MINOR 10
57+#define LIBAVUTIL_VERSION_MINOR 11
5858 #define LIBAVUTIL_VERSION_MICRO 0
5959
6060 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \

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