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
f0f225c4
Commit
f0f225c4
authored
Jan 17, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fin du parsage des I.
parent
ecc98c96
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
7 deletions
+6
-7
include/config.h
include/config.h
+2
-2
include/vlc.h.new
include/vlc.h.new
+0
-1
src/video_decoder/video_decoder.c
src/video_decoder/video_decoder.c
+1
-1
src/video_parser/vpar_blocks.c
src/video_parser/vpar_blocks.c
+1
-1
src/video_parser/vpar_headers.c
src/video_parser/vpar_headers.c
+2
-2
No files found.
include/config.h
View file @
f0f225c4
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
#define PROGRAM_OPTIONS VIDEO_OPTIONS " " ARCH_OPTIONS
#define PROGRAM_OPTIONS VIDEO_OPTIONS " " ARCH_OPTIONS
/* Program version and copyright message */
/* Program version and copyright message */
#define PROGRAM_VERSION "
DR 2.1
"
#define PROGRAM_VERSION "
1.0-dev
"
#define COPYRIGHT_MESSAGE "VideoLAN Client v" PROGRAM_VERSION " (" __DATE__ ") - " \
#define COPYRIGHT_MESSAGE "VideoLAN Client v" PROGRAM_VERSION " (" __DATE__ ") - " \
PROGRAM_OPTIONS " - (c)1999 VideoLAN"
PROGRAM_OPTIONS " - (c)1999 VideoLAN"
...
@@ -296,7 +296,7 @@
...
@@ -296,7 +296,7 @@
#define VFIFO_SIZE 4095
#define VFIFO_SIZE 4095
/* Maximum number of macroblocks in a picture. */
/* Maximum number of macroblocks in a picture. */
#define MAX_MB
2048
#define MAX_MB
32767
/*******************************************************************************
/*******************************************************************************
* Video decoder configuration
* Video decoder configuration
...
...
include/vlc.h.new
View file @
f0f225c4
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
#include "vlc_thread.h"
#include "vlc_thread.h"
#include "netutils.h"
#include "netutils.h"
#include "debug.h"
#include "debug.h"
#include "xutils.h"
#include "intf_msg.h"
#include "intf_msg.h"
/* Input */
/* Input */
...
...
src/video_decoder/video_decoder.c
View file @
f0f225c4
...
@@ -186,7 +186,7 @@ static void RunThread( vdec_thread_t *p_vdec )
...
@@ -186,7 +186,7 @@ static void RunThread( vdec_thread_t *p_vdec )
return
;
return
;
}
}
p_vdec
->
b_run
=
1
;
p_vdec
->
b_run
=
1
;
p_vdec
->
b_error
=
1
;
/*
/*
* Main loop - it is not executed if an error occured during
* Main loop - it is not executed if an error occured during
* initialization
* initialization
...
...
src/video_parser/vpar_blocks.c
View file @
f0f225c4
...
@@ -607,7 +607,7 @@ void vpar_ParseMacroblock( vpar_thread_t * p_vpar, int * pi_mb_address,
...
@@ -607,7 +607,7 @@ void vpar_ParseMacroblock( vpar_thread_t * p_vpar, int * pi_mb_address,
//*pi_mb_address += MacroblockAddressIncrement( p_vpar );
//*pi_mb_address += MacroblockAddressIncrement( p_vpar );
b_stop
=
i_inc
>
1
;
b_stop
=
i_inc
>
1
;
fprintf
(
stderr
,
"inc : %d (%d)
\n
"
,
*
pi_mb_address
,
i_inc
);
//
fprintf( stderr, "inc : %d (%d)\n", *pi_mb_address, i_inc );
if
(
0
)
//i_count > 8 )
if
(
0
)
//i_count > 8 )
{
{
exit
(
0
);
exit
(
0
);
...
...
src/video_parser/vpar_headers.c
View file @
f0f225c4
...
@@ -430,7 +430,7 @@ static void SequenceHeader( vpar_thread_t * p_vpar )
...
@@ -430,7 +430,7 @@ static void SequenceHeader( vpar_thread_t * p_vpar )
p_vpar
->
sequence
.
i_mb_width
=
(
p_vpar
->
sequence
.
i_width
+
15
)
/
16
;
p_vpar
->
sequence
.
i_mb_width
=
(
p_vpar
->
sequence
.
i_width
+
15
)
/
16
;
p_vpar
->
sequence
.
i_mb_height
=
(
p_vpar
->
sequence
.
b_progressive
)
?
p_vpar
->
sequence
.
i_mb_height
=
(
p_vpar
->
sequence
.
b_progressive
)
?
(
p_vpar
->
sequence
.
i_height
+
15
)
/
16
:
(
p_vpar
->
sequence
.
i_height
+
15
)
/
16
:
2
*
(
p_vpar
->
sequence
.
i_height
+
31
)
/
32
;
2
*
(
(
p_vpar
->
sequence
.
i_height
+
31
)
/
32
)
;
p_vpar
->
sequence
.
i_mb_size
=
p_vpar
->
sequence
.
i_mb_width
p_vpar
->
sequence
.
i_mb_size
=
p_vpar
->
sequence
.
i_mb_width
*
p_vpar
->
sequence
.
i_mb_height
;
*
p_vpar
->
sequence
.
i_mb_height
;
p_vpar
->
sequence
.
i_width
=
(
p_vpar
->
sequence
.
i_mb_width
*
16
);
p_vpar
->
sequence
.
i_width
=
(
p_vpar
->
sequence
.
i_mb_width
*
16
);
...
@@ -747,7 +747,7 @@ fprintf(stderr, "Image trashee\n");
...
@@ -747,7 +747,7 @@ fprintf(stderr, "Image trashee\n");
}
}
else
if
(
p_vpar
->
picture
.
i_current_structure
==
FRAME_STRUCTURE
)
else
if
(
p_vpar
->
picture
.
i_current_structure
==
FRAME_STRUCTURE
)
{
{
fprintf
(
stderr
,
"Image
decod
ee
\n
"
);
fprintf
(
stderr
,
"Image
pars
ee
\n
"
);
/* Frame completely parsed. */
/* Frame completely parsed. */
P_picture
->
i_deccount
=
p_vpar
->
sequence
.
i_mb_size
;
P_picture
->
i_deccount
=
p_vpar
->
sequence
.
i_mb_size
;
for
(
i_mb
=
0
;
i_mb
<
p_vpar
->
sequence
.
i_mb_size
;
i_mb
++
)
for
(
i_mb
=
0
;
i_mb
<
p_vpar
->
sequence
.
i_mb_size
;
i_mb
++
)
...
...
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