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
910e577d
Commit
910e577d
authored
Feb 05, 2016
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atsc_a65: add gps time to epoch helper
parent
efc1cee9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/codec/atsc_a65.h
modules/codec/atsc_a65.h
+7
-0
No files found.
modules/codec/atsc_a65.h
View file @
910e577d
...
...
@@ -19,6 +19,8 @@
#ifndef VLC_ATSC_A65_H
#define VLC_ATSC_A65_H
#define GPS_UTC_EPOCH_OFFSET 315964800
typedef
struct
atsc_a65_handle_t
atsc_a65_handle_t
;
atsc_a65_handle_t
*
atsc_a65_handle_New
(
const
char
*
psz_lang
);
...
...
@@ -26,4 +28,9 @@ void atsc_a65_handle_Release( atsc_a65_handle_t * );
char
*
atsc_a65_Decode_multiple_string
(
atsc_a65_handle_t
*
,
const
uint8_t
*
,
size_t
);
static
inline
time_t
atsc_a65_GPSTimeToEpoch
(
time_t
i_seconds
,
time_t
i_gpstoepoch_leaptime_offset
)
{
return
i_seconds
+
GPS_UTC_EPOCH_OFFSET
-
i_gpstoepoch_leaptime_offset
;
}
#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