Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
b995a6a8
Commit
b995a6a8
authored
Jun 08, 2010
by
Peter Ross
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ff_ega_palette
Originally committed as revision 23530 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
701ea516
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
cga_data.c
libavcodec/cga_data.c
+11
-0
cga_data.h
libavcodec/cga_data.h
+1
-0
No files found.
libavcodec/cga_data.c
View file @
b995a6a8
...
...
@@ -155,3 +155,14 @@ const uint32_t ff_cga_palette[16] = {
0x000000
,
0x0000AA
,
0x00AA00
,
0x00AAAA
,
0xAA0000
,
0xAA00AA
,
0xAA5500
,
0xAAAAAA
,
0x555555
,
0x5555FF
,
0x55FF55
,
0x55FFFF
,
0xFF5555
,
0xFF55FF
,
0xFFFF55
,
0xFFFFFF
,
};
const
uint32_t
ff_ega_palette
[
64
]
=
{
0x000000
,
0x0000AA
,
0x00AA00
,
0x00AAAA
,
0xAA0000
,
0xAA00AA
,
0xAAAA00
,
0xAAAAAA
,
0x000055
,
0x0000FF
,
0x00AA55
,
0x00AAFF
,
0xAA0055
,
0xAA00FF
,
0xAAAA55
,
0xAAAAFF
,
0x005500
,
0x0055AA
,
0x00FF00
,
0x00FFAA
,
0xAA5500
,
0xAA55AA
,
0xAAFF00
,
0xAAFFAA
,
0x005555
,
0x0055FF
,
0x00FF55
,
0x00FFFF
,
0xAA5555
,
0xAA55FF
,
0xAAFF55
,
0xAAFFFF
,
0x550000
,
0x5500AA
,
0x55AA00
,
0x55AAAA
,
0xFF0000
,
0xFF00AA
,
0xFFAA00
,
0xFFAAAA
,
0x550055
,
0x5500FF
,
0x55AA55
,
0x55AAFF
,
0xFF0055
,
0xFF00FF
,
0xFFAA55
,
0xFFAAFF
,
0x555500
,
0x5555AA
,
0x55FF00
,
0x55FFAA
,
0xFF5500
,
0xFF55AA
,
0xFFFF00
,
0xFFFFAA
,
0x555555
,
0x5555FF
,
0x55FF55
,
0x55FFFF
,
0xFF5555
,
0xFF55FF
,
0xFFFF55
,
0xFFFFFF
};
libavcodec/cga_data.h
View file @
b995a6a8
...
...
@@ -25,5 +25,6 @@
extern
const
uint8_t
ff_cga_font
[
2048
];
extern
const
uint32_t
ff_cga_palette
[
16
];
extern
const
uint32_t
ff_ega_palette
[
64
];
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment