Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
f0465fc1
Commit
f0465fc1
authored
Oct 02, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide private vout_synchro_t.
parent
8bfc45f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
40 deletions
+41
-40
include/vlc_vout_synchro.h
include/vlc_vout_synchro.h
+0
-40
src/video_output/vout_synchro.c
src/video_output/vout_synchro.c
+41
-0
No files found.
include/vlc_vout_synchro.h
View file @
f0465fc1
...
@@ -34,46 +34,6 @@
...
@@ -34,46 +34,6 @@
#define MAX_PIC_AVERAGE 8
#define MAX_PIC_AVERAGE 8
/* Read the discussion on top of vout_synchro.c for more information. */
/* Read the discussion on top of vout_synchro.c for more information. */
struct
vout_synchro_t
{
VLC_COMMON_MEMBERS
vout_thread_t
*
p_vout
;
int
i_frame_rate
;
int
i_current_rate
;
vlc_bool_t
b_no_skip
;
vlc_bool_t
b_quiet
;
/* date of the beginning of the decoding of the current picture */
mtime_t
decoding_start
;
/* stream properties */
unsigned
int
i_n_p
,
i_n_b
;
/* decoding values */
mtime_t
p_tau
[
4
];
/* average decoding durations */
unsigned
int
pi_meaningful
[
4
];
/* number of durations read */
/* render_time filled by SynchroChoose() */
int
i_render_time
;
/* stream context */
int
i_nb_ref
;
/* Number of reference pictures */
int
i_dec_nb_ref
;
/* Number of reference pictures we'll *
* have if we decode the current pic */
int
i_trash_nb_ref
;
/* Number of reference pictures we'll *
* have if we trash the current pic */
unsigned
int
i_eta_p
,
i_eta_b
;
mtime_t
backward_pts
,
current_pts
;
int
i_current_period
;
/* period to add to the next picture */
int
i_backward_period
;
/* period to add after the next
* reference picture
* (backward_period * period / 2) */
/* statistics */
unsigned
int
i_trashed_pic
,
i_not_chosen_pic
,
i_pic
;
};
/* Pictures types */
/* Pictures types */
#define I_CODING_TYPE 1
#define I_CODING_TYPE 1
#define P_CODING_TYPE 2
#define P_CODING_TYPE 2
...
...
src/video_output/vout_synchro.c
View file @
f0465fc1
...
@@ -103,6 +103,47 @@
...
@@ -103,6 +103,47 @@
* Local prototypes
* Local prototypes
*/
*/
#define MAX_PIC_AVERAGE 8
struct
vout_synchro_t
{
VLC_COMMON_MEMBERS
int
i_frame_rate
;
int
i_current_rate
;
vlc_bool_t
b_no_skip
;
vlc_bool_t
b_quiet
;
/* date of the beginning of the decoding of the current picture */
mtime_t
decoding_start
;
/* stream properties */
unsigned
int
i_n_p
,
i_n_b
;
/* decoding values */
mtime_t
p_tau
[
4
];
/* average decoding durations */
unsigned
int
pi_meaningful
[
4
];
/* number of durations read */
/* render_time filled by SynchroChoose() */
int
i_render_time
;
/* stream context */
int
i_nb_ref
;
/* Number of reference pictures */
int
i_dec_nb_ref
;
/* Number of reference pictures we'll *
* have if we decode the current pic */
int
i_trash_nb_ref
;
/* Number of reference pictures we'll *
* have if we trash the current pic */
unsigned
int
i_eta_p
,
i_eta_b
;
mtime_t
backward_pts
,
current_pts
;
int
i_current_period
;
/* period to add to the next picture */
int
i_backward_period
;
/* period to add after the next
* reference picture
* (backward_period * period / 2) */
/* statistics */
unsigned
int
i_trashed_pic
,
i_not_chosen_pic
,
i_pic
;
};
/* Error margins */
/* Error margins */
#define DELTA (int)(0.075*CLOCK_FREQ)
#define DELTA (int)(0.075*CLOCK_FREQ)
#define MAX_VALID_TAU (int)(0.3*CLOCK_FREQ)
#define MAX_VALID_TAU (int)(0.3*CLOCK_FREQ)
...
...
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