Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
20be71ae
Commit
20be71ae
authored
Jan 11, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cdg: clean up preprocessor constants
parent
f9b664ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/codec/cdg.c
modules/codec/cdg.c
+9
-9
No files found.
modules/codec/cdg.c
View file @
20be71ae
...
...
@@ -37,18 +37,18 @@
*****************************************************************************/
/* The screen size */
#define CDG_SCREEN_WIDTH
(300)
#define CDG_SCREEN_HEIGHT
(216)
#define CDG_SCREEN_WIDTH
300u
#define CDG_SCREEN_HEIGHT
216u
/* The border of the screen size */
#define CDG_SCREEN_BORDER_WIDTH
(6)
#define CDG_SCREEN_BORDER_HEIGHT
(12)
#define CDG_SCREEN_BORDER_WIDTH
6u
#define CDG_SCREEN_BORDER_HEIGHT
12u
/* The display part */
#define CDG_DISPLAY_WIDTH (CDG_SCREEN_WIDTH-2*CDG_SCREEN_BORDER_WIDTH)
#define CDG_DISPLAY_HEIGHT (CDG_SCREEN_HEIGHT-2*CDG_SCREEN_BORDER_HEIGHT)
#define CDG_SCREEN_PITCH
(CDG_SCREEN_WIDTH)
#define CDG_SCREEN_PITCH
CDG_SCREEN_WIDTH
struct
decoder_sys_t
{
...
...
@@ -61,11 +61,11 @@ struct decoder_sys_t
int
i_packet
;
};
#define CDG_PACKET_SIZE
(24)
#define CDG_PACKET_SIZE
24u
#define CDG_COLOR_R_SHIFT
( 0)
#define CDG_COLOR_G_SHIFT
( 8)
#define CDG_COLOR_B_SHIFT
(16)
#define CDG_COLOR_R_SHIFT
0
#define CDG_COLOR_G_SHIFT
8
#define CDG_COLOR_B_SHIFT
16
/*****************************************************************************
* Local prototypes
...
...
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