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
c2c75604
Commit
c2c75604
authored
Jan 12, 2000
by
Jean-Marc Dressler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correction de conneries de stef....
Merci de NE PAS COMMITER VIDEO_DECODER.H, sinon ca ne compile pas !
parent
6a7b7ae7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
41 deletions
+43
-41
include/video_decoder.h
include/video_decoder.h
+43
-41
No files found.
include/video_decoder.h
View file @
c2c75604
/*****************************************************************************
/*****************************************************************************
**
* video_decoder.h : video decoder thread
* (c)1999 VideoLAN
*****************************************************************************
*****************************************************************************
*****************************************************************************
**
*****************************************************************************
**
* Requires:
* "config.h"
* "common.h"
...
...
@@ -12,63 +12,65 @@
* "video.h"
* "video_output.h"
* "decoder_fifo.h"
*****************************************************************************/
*****************************************************************************
**
/
/*****************************************************************************
/*****************************************************************************
**
* vdec_thread_t: video decoder thread descriptor
*****************************************************************************
*****************************************************************************
**
* ??
*****************************************************************************/
*****************************************************************************
**
/
typedef
struct
vdec_thread_s
{
/* Thread properties and locks */
boolean_t
b_die
;
/* `die' flag */
boolean_t
b_run
;
/* `run' flag */
boolean_t
b_error
;
/* `error' flag */
boolean_t
b_active
;
/* `active' flag */
vlc_thread_t
thread_id
;
/* id for thread functions */
boolean_t
b_die
;
/* `die' flag */
boolean_t
b_run
;
/* `run' flag */
boolean_t
b_error
;
/* `error' flag */
boolean_t
b_active
;
/* `active' flag */
vlc_thread_t
thread_id
;
/* id for thread functions */
/* Thread configuration */
/* ?? */
/*??*/
// int *pi_status;
/* Input properties */
struct
vpar_thread_s
*
p_vpar
;
/* video_parser thread */
/* Lookup tables */
#ifdef MPEG2_COMPLIANT
u8
pi_crop_buf
[
VDEC_CROPRANGE
];
u8
*
pi_crop
,
#endif
decoder_fifo_t
fifo
;
/* PES input fifo */
/* The bit stream structure handles the PES stream at the bit level */
bit_stream_t
bit_stream
;
/* Output properties */
vout_thread_t
*
p_vout
;
/* video output thread */
int
i_stream
;
/* video stream id */
#ifdef STATS
/* Statistics */
count_t
c_loops
;
/* number of loops */
count_t
c_idle_loops
;
/* number of idle loops */
count_t
c_decoded_pictures
;
/* number of pictures decoded */
count_t
c_decoded_i_pictures
;
/* number of I pictures decoded */
count_t
c_decoded_p_pictures
;
/* number of P pictures decoded */
count_t
c_decoded_b_pictures
;
/* number of B pictures decoded */
count_t
c_loops
;
/* number of loops */
count_t
c_idle_loops
;
/* number of idle loops */
count_t
c_pictures
;
/* number of pictures read */
count_t
c_i_pictures
;
/* number of I pictures read */
count_t
c_p_pictures
;
/* number of P pictures read */
count_t
c_b_pictures
;
/* number of B pictures read */
count_t
c_decoded_pictures
;
/* number of pictures decoded */
count_t
c_decoded_i_pictures
;
/* number of I pictures decoded */
count_t
c_decoded_p_pictures
;
/* number of P pictures decoded */
count_t
c_decoded_b_pictures
;
/* number of B pictures decoded */
#endif
}
vdec_thread_t
;
/* Move this somewhere else ASAP !! */
#define data_t short
/*****************************************************************************
* Function pointers
*****************************************************************************/
typedef
void
(
*
f_addb_t
)(
vdec_thread_t
*
,
elem_t
*
,
data_t
*
,
int
);
/*****************************************************************************
/*******************************************************************************
* Prototypes
*****************************************************************************/
struct
vpar_thread_s
;
*******************************************************************************/
/* Thread management functions */
vdec_thread_t
*
vdec_CreateThread
(
struct
vpar_thread_s
*
p_vpar
/*, int *pi_status */
);
void
vdec_DestroyThread
(
vdec_thread_t
*
p_vdec
/*, int *pi_status */
);
void
vdec_AddBlock
(
vdec_thread_t
*
,
elem_t
*
,
data_t
*
,
int
);
void
vdec_CopyBlock
(
vdec_thread_t
*
,
elem_t
*
,
data_t
*
,
int
);
void
vdec_DummyBlock
(
vdec_thread_t
*
,
elem_t
*
,
data_t
*
,
int
);
p_vdec_thread_t
vdec_CreateThread
(
/* video_cfg_t *p_cfg, */
input_thread_t
*
p_input
/*,
vout_thread_t *p_vout, int *pi_status */
);
void
vdec_DestroyThread
(
vdec_thread_t
*
p_vdec
/*, int *pi_status */
);
/* Time management functions */
/* ?? */
/* Dynamic thread settings */
/* ?? */
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