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
4875485d
Commit
4875485d
authored
Feb 23, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Disabled slice-level resynchro since it's probably buggy.
parent
e7d96b48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
src/video_parser/vpar_blocks.c
src/video_parser/vpar_blocks.c
+8
-10
No files found.
src/video_parser/vpar_blocks.c
View file @
4875485d
...
...
@@ -2,7 +2,7 @@
* vpar_blocks.c : blocks parsing
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_blocks.c,v 1.7
8 2001/02/23 14:07:25
massiot Exp $
* $Id: vpar_blocks.c,v 1.7
9 2001/02/23 17:58:22
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Jean-Marc Dressler <polux@via.ecp.fr>
...
...
@@ -1766,10 +1766,8 @@ static __inline__ void MacroblockModes( vpar_thread_t * p_vpar,
#define PARSEERROR \
if( p_vpar->picture.b_error ) \
{ \
/* Mark this block as skipped (better than green blocks), and \
* go to the next slice. */
\
(*pi_mb_address)--; \
vpar_FreeMacroblock( &p_vpar->vfifo, p_mb ); \
/* Go to the next slice. */
\
vpar_FreeMacroblock( &p_vpar->vfifo, p_mb ); \
return; \
}
...
...
@@ -1969,9 +1967,7 @@ static __inline__ void ParseMacroblock(
}
else
{
/* Mark this block as skipped (better than green blocks), and go
* to the next slice. */
(
*
pi_mb_address
)
--
;
/* Go to the next slice. */
vpar_FreeMacroblock
(
&
p_vpar
->
vfifo
,
p_mb
);
}
}
...
...
@@ -1993,8 +1989,6 @@ static __inline__ void SliceHeader( vpar_thread_t * p_vpar,
{
int
i_mb_address_save
=
*
pi_mb_address
;
p_vpar
->
picture
.
b_error
=
0
;
#if 0
/* FIXME : MP@ML doesn't support this. */
if( b_high )
...
...
@@ -2068,6 +2062,7 @@ static __inline__ void vpar_PictureData( vpar_thread_t * p_vpar,
||
!
p_vpar
->
picture
.
b_error
)
&&
i_mb_address
<
(
p_vpar
->
sequence
.
i_mb_size
>>
(
i_structure
!=
FRAME_STRUCTURE
))
&&
!
p_vpar
->
picture
.
b_error
&&
!
p_vpar
->
p_fifo
->
b_die
)
{
if
(
((
i_dummy
=
ShowBits
(
&
p_vpar
->
bit_stream
,
32
))
...
...
@@ -2085,6 +2080,8 @@ static __inline__ void vpar_PictureData( vpar_thread_t * p_vpar,
b_mpeg2
,
i_coding_type
,
i_structure
);
}
#if 0
/* Buggy */
/* Try to recover from error. If we missed less than half the
* number of macroblocks of the picture, mark the missed ones
* as skipped. */
...
...
@@ -2109,6 +2106,7 @@ static __inline__ void vpar_PictureData( vpar_thread_t * p_vpar,
i_structure );
}
}
#endif
}
#define DECLARE_PICD( FUNCNAME, B_MPEG2, I_CODING_TYPE, I_STRUCTURE ) \
...
...
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