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
f666ec10
Commit
f666ec10
authored
Nov 28, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More stats.
NB : it is necessary to re-run ./configure
parent
8ccff3d7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
1 deletion
+28
-1
include/config.h.in
include/config.h.in
+3
-0
include/video_output.h
include/video_output.h
+4
-0
src/video_output/video_output.c
src/video_output/video_output.c
+13
-1
src/video_parser/video_parser.c
src/video_parser/video_parser.c
+8
-0
No files found.
include/config.h.in
View file @
f666ec10
...
@@ -322,6 +322,9 @@
...
@@ -322,6 +322,9 @@
#define VOUT_DEFAULT_FONT "default8x9.psf"
#define VOUT_DEFAULT_FONT "default8x9.psf"
#define VOUT_LARGE_FONT "default8x16.psf"
#define VOUT_LARGE_FONT "default8x16.psf"
/* Statistics are displayed every n loops (=~ pictures) */
#define VOUT_STATS_NB_LOOPS 100
/*
/*
* Time settings
* Time settings
*/
*/
...
...
include/video_output.h
View file @
f666ec10
...
@@ -206,6 +206,10 @@ typedef struct vout_thread_s
...
@@ -206,6 +206,10 @@ typedef struct vout_thread_s
/* Bitmap fonts */
/* Bitmap fonts */
p_vout_font_t
p_default_font
;
/* default font */
p_vout_font_t
p_default_font
;
/* default font */
p_vout_font_t
p_large_font
;
/* large font */
p_vout_font_t
p_large_font
;
/* large font */
#ifdef STATS
count_t
c_loops
;
#endif
}
vout_thread_t
;
}
vout_thread_t
;
/* Flags for changes - these flags are set in the i_changes field when another
/* Flags for changes - these flags are set in the i_changes field when another
...
...
src/video_output/video_output.c
View file @
f666ec10
...
@@ -913,6 +913,10 @@ static int InitThread( vout_thread_t *p_vout )
...
@@ -913,6 +913,10 @@ static int InitThread( vout_thread_t *p_vout )
intf_DbgMsg
(
"
\n
"
);
intf_DbgMsg
(
"
\n
"
);
*
p_vout
->
pi_status
=
THREAD_START
;
*
p_vout
->
pi_status
=
THREAD_START
;
#ifdef STATS
p_vout
->
c_loops
=
0
;
#endif
/* Initialize output method - this function issues its own error messages */
/* Initialize output method - this function issues its own error messages */
if
(
p_vout
->
p_sys_init
(
p_vout
)
)
if
(
p_vout
->
p_sys_init
(
p_vout
)
)
{
{
...
@@ -973,6 +977,14 @@ static void RunThread( vout_thread_t *p_vout)
...
@@ -973,6 +977,14 @@ static void RunThread( vout_thread_t *p_vout)
p_subpic
=
NULL
;
p_subpic
=
NULL
;
display_date
=
0
;
display_date
=
0
;
current_date
=
mdate
();
current_date
=
mdate
();
#ifdef STATS
p_vout
->
c_loops
++
;
if
(
!
(
p_vout
->
c_loops
%
VOUT_STATS_NB_LOOPS
)
)
{
intf_Msg
(
"vout stats: picture heap: %d/%d
\n
"
,
p_vout
->
i_pictures
,
VOUT_MAX_PICTURES
);
}
#endif
/*
/*
* Find the picture to display - this operation does not need lock,
* Find the picture to display - this operation does not need lock,
...
@@ -1712,7 +1724,7 @@ static void RenderPictureInfo( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -1712,7 +1724,7 @@ static void RenderPictureInfo( vout_thread_t *p_vout, picture_t *p_pic )
(
long
)
p_vout
->
c_fps_samples
,
(
long
)
p_vout
->
render_time
);
(
long
)
p_vout
->
c_fps_samples
,
(
long
)
p_vout
->
render_time
);
Print
(
p_vout
,
0
,
0
,
LEFT_RALIGN
,
TOP_RALIGN
,
psz_buffer
);
Print
(
p_vout
,
0
,
0
,
LEFT_RALIGN
,
TOP_RALIGN
,
psz_buffer
);
#ifdef
DEBUG
#ifdef
STATS
/*
/*
* Print picture information in lower right corner
* Print picture information in lower right corner
*/
*/
...
...
src/video_parser/video_parser.c
View file @
f666ec10
...
@@ -418,6 +418,14 @@ static void EndThread( vpar_thread_t *p_vpar )
...
@@ -418,6 +418,14 @@ static void EndThread( vpar_thread_t *p_vpar )
p_vpar
->
pc_malformed_pictures
[
I_CODING_TYPE
],
p_vpar
->
pc_malformed_pictures
[
I_CODING_TYPE
],
p_vpar
->
pc_malformed_pictures
[
P_CODING_TYPE
],
p_vpar
->
pc_malformed_pictures
[
P_CODING_TYPE
],
p_vpar
->
pc_malformed_pictures
[
B_CODING_TYPE
]);
p_vpar
->
pc_malformed_pictures
[
B_CODING_TYPE
]);
#define S p_vpar->sequence
intf_Msg
(
"vpar info: %s stream (%dx%d), %d/1001 pi/s
\n
"
,
S
.
b_mpeg2
?
"MPEG-2"
:
"MPEG-1"
,
S
.
i_width
,
S
.
i_height
,
S
.
i_frame_rate
);
intf_Msg
(
"vpar info: %s, %s, matrix_coeff: %d
\n
"
,
S
.
b_progressive
?
"Progressive"
:
"Non-progressive"
,
S
.
i_scalable_mode
?
"scalable"
:
"non-scalable"
,
S
.
i_matrix_coefficients
);
#endif
#endif
/* Destroy thread structures allocated by InitThread */
/* Destroy thread structures allocated by InitThread */
...
...
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