Commit bc01628e authored by michael's avatar michael

ffv1 rgb support


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2463 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3c66345e
This diff is collapsed.
...@@ -147,6 +147,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { ...@@ -147,6 +147,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
.color_type = FF_COLOR_RGB, .color_type = FF_COLOR_RGB,
.pixel_type = FF_PIXEL_PACKED, .pixel_type = FF_PIXEL_PACKED,
.depth = 8, .depth = 8,
.x_chroma_shift = 0, .y_chroma_shift = 0,
}, },
[PIX_FMT_BGR24] = { [PIX_FMT_BGR24] = {
.name = "bgr24", .name = "bgr24",
...@@ -154,6 +155,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { ...@@ -154,6 +155,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
.color_type = FF_COLOR_RGB, .color_type = FF_COLOR_RGB,
.pixel_type = FF_PIXEL_PACKED, .pixel_type = FF_PIXEL_PACKED,
.depth = 8, .depth = 8,
.x_chroma_shift = 0, .y_chroma_shift = 0,
}, },
[PIX_FMT_RGBA32] = { [PIX_FMT_RGBA32] = {
.name = "rgba32", .name = "rgba32",
...@@ -161,6 +163,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { ...@@ -161,6 +163,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
.color_type = FF_COLOR_RGB, .color_type = FF_COLOR_RGB,
.pixel_type = FF_PIXEL_PACKED, .pixel_type = FF_PIXEL_PACKED,
.depth = 8, .depth = 8,
.x_chroma_shift = 0, .y_chroma_shift = 0,
}, },
[PIX_FMT_RGB565] = { [PIX_FMT_RGB565] = {
.name = "rgb565", .name = "rgb565",
...@@ -168,6 +171,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { ...@@ -168,6 +171,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
.color_type = FF_COLOR_RGB, .color_type = FF_COLOR_RGB,
.pixel_type = FF_PIXEL_PACKED, .pixel_type = FF_PIXEL_PACKED,
.depth = 5, .depth = 5,
.x_chroma_shift = 0, .y_chroma_shift = 0,
}, },
[PIX_FMT_RGB555] = { [PIX_FMT_RGB555] = {
.name = "rgb555", .name = "rgb555",
...@@ -175,6 +179,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { ...@@ -175,6 +179,7 @@ static PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
.color_type = FF_COLOR_RGB, .color_type = FF_COLOR_RGB,
.pixel_type = FF_PIXEL_PACKED, .pixel_type = FF_PIXEL_PACKED,
.depth = 5, .depth = 5,
.x_chroma_shift = 0, .y_chroma_shift = 0,
}, },
/* gray / mono formats */ /* gray / mono formats */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment