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
034e01d6
Commit
034e01d6
authored
Jan 02, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VCD: clean cdrom.h header
Use the actual definitions from the ColourBooks Use enums instead of macros
parent
e324dca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
13 deletions
+24
-13
modules/access/vcd/cdrom.h
modules/access/vcd/cdrom.h
+24
-13
No files found.
modules/access/vcd/cdrom.h
View file @
034e01d6
...
...
@@ -25,26 +25,37 @@
#ifndef VLC_CDROM_H
#define VLC_CDROM_H
#define CDDA_TYPE 0
#define VCD_TYPE 1
enum
{
CDDA_TYPE
=
0
,
VCD_TYPE
=
1
,
};
/* size of a CD sector */
#define CD_RAW_SECTOR_SIZE 2352
#define CD_ROM_MODE1_DATA_SIZE 2048
#define CD_ROM_MODE2_DATA_SIZE 2336
#define CD_ROM_XA_MODE2_F1_DATA_SIZE 2048
#define CD_ROM_XA_MODE2_F2_DATA_SIZE 2324
/* size of a CD sector */
#define CD_SECTOR_SIZE CD_ROM_MODE1_DATA_SIZE
/* where the data start on a VCD sector */
#define VCD_DATA_START 24
/* size of the availabl
r
data on a VCD sector */
#define VCD_DATA_SIZE
2324
#define VCD_DATA_START
24
/* size of the availabl
e
data on a VCD sector */
#define VCD_DATA_SIZE
CD_ROM_XA_MODE2_F2_DATA_SIZE
/* size of a VCD sector, header and tail included */
#define VCD_SECTOR_SIZE 2352
/* size of a CD sector */
#define CD_SECTOR_SIZE 2048
#define VCD_SECTOR_SIZE CD_RAW_SECTOR_SIZE
/* sector containing the entry points */
#define VCD_ENTRIES_SECTOR 151
#define VCD_ENTRIES_SECTOR
151
/* where the data start on a CDDA sector */
#define CDDA_DATA_START 0
/* size of the availabl
r
data on a CDDA sector */
#define CDDA_DATA_SIZE
2352
#define CDDA_DATA_START
0
/* size of the availabl
e
data on a CDDA sector */
#define CDDA_DATA_SIZE
CD_RAW_SECTOR_SIZE
/* size of a CDDA sector, header and tail included */
#define CDDA_SECTOR_SIZE
2352
#define CDDA_SECTOR_SIZE
CD_RAW_SECTOR_SIZE
/*****************************************************************************
* Misc. Macros
...
...
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