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
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162014-04-xx - xxxxxxx - lavu 53.11.0 - pixfmt.h
17 Add AV_PIX_FMT_YVYU422 pixel format.
18
162014-04-xx - xxxxxxx - lavu 53.10.0 - replaygain.h192014-04-xx - xxxxxxx - lavu 53.10.0 - replaygain.h
17 Full scale for peak values is now 100000 (instead of UINT32_MAX) and values20 Full scale for peak values is now 100000 (instead of UINT32_MAX) and values
18 may overflow.21 may overflow.
libavutil/pixdesc.c+11−0
@@ -152,6 +152,17 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 151 unmodified lines
152 { 0, 3, 4, 0, 7 }, /* V */152 { 0, 3, 4, 0, 7 }, /* V */
153 },153 },
154 },154 },
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 },
155 [AV_PIX_FMT_RGB24] = {166 [AV_PIX_FMT_RGB24] = {
156 .name = "rgb24",167 .name = "rgb24",
157 .nb_components = 3,168 .nb_components = 3,
libavutil/pixfmt.h+2−0
@@ -196,6 +196,8 @@ enum AVPixelFormat { · 195 unmodified lines
196 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-endian196 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
197 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-endian197 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
198 198
199 AV_PIX_FMT_YVYU422, ///< packed YUV 4:2:2, 16bpp, Y0 Cr Y1 Cb
200
199 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 versions201 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
200 202
201#if FF_API_PIX_FMT203#if FF_API_PIX_FMT
libavutil/version.h+1−1
@@ -54,7 +54,7 @@ · 53 unmodified lines
54 */54 */
55 55
56#define LIBAVUTIL_VERSION_MAJOR 5356#define LIBAVUTIL_VERSION_MAJOR 53
57#define LIBAVUTIL_VERSION_MINOR 1057#define LIBAVUTIL_VERSION_MINOR 11
58#define LIBAVUTIL_VERSION_MICRO 058#define LIBAVUTIL_VERSION_MICRO 0
59 59
60#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \60#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