Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
bcb38fc6
Commit
bcb38fc6
authored
Aug 23, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Very small enhancements.
parent
dec76d7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
src/video_decoder/vpar_blocks.c
src/video_decoder/vpar_blocks.c
+8
-7
No files found.
src/video_decoder/vpar_blocks.c
View file @
bcb38fc6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vpar_blocks.c : blocks parsing
* vpar_blocks.c : blocks parsing
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_blocks.c,v 1.
6 2001/08/22 17:21:45
massiot Exp $
* $Id: vpar_blocks.c,v 1.
7 2001/08/23 10:08:26
massiot Exp $
*
*
* Authors: Michel Lespinasse <walken@zoy.org>
* Authors: Michel Lespinasse <walken@zoy.org>
* Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
...
@@ -171,10 +171,10 @@ static __inline__ int GetChromaDCDiff( vpar_thread_t * p_vpar )
...
@@ -171,10 +171,10 @@ static __inline__ int GetChromaDCDiff( vpar_thread_t * p_vpar )
#define SATURATE(val) \
#define SATURATE(val) \
if
( val > 2047 )
\
if
((u32)(val + 2048) > 4095)
\
val = 2047;
\
{
\
else if( val < -2048 )
\
val = (val > 0) ? 2047 : -2048;
\
val = -2048;
}
/*****************************************************************************
/*****************************************************************************
* MPEG2IntraB14 : Decode an intra block according to ISO/IEC 13818-2 table B14
* MPEG2IntraB14 : Decode an intra block according to ISO/IEC 13818-2 table B14
...
@@ -1261,8 +1261,9 @@ static void MotionFrameField( vpar_thread_t * p_vpar,
...
@@ -1261,8 +1261,9 @@ static void MotionFrameField( vpar_thread_t * p_vpar,
i_motion_y
=
(
p_motion
->
ppi_pmv
[
0
][
1
]
>>
1
)
i_motion_y
=
(
p_motion
->
ppi_pmv
[
0
][
1
]
>>
1
)
+
MotionDelta
(
p_vpar
,
p_motion
->
pi_f_code
[
1
]
);
+
MotionDelta
(
p_vpar
,
p_motion
->
pi_f_code
[
1
]
);
/* I have no idea why this is commented out, since walken doesn't put
/* According to ISO/IEC 13818-2 section 7.6.3.2, the vertical motion
* comments in its code. --Meuuh */
* vector is restricted to a range that implies it doesn't need to
* be bound. */
/* i_motion_y = BoundMotionVector( i_motion_y, p_motion->pi_f_code[1] ); */
/* i_motion_y = BoundMotionVector( i_motion_y, p_motion->pi_f_code[1] ); */
p_motion
->
ppi_pmv
[
0
][
1
]
=
i_motion_y
<<
1
;
p_motion
->
ppi_pmv
[
0
][
1
]
=
i_motion_y
<<
1
;
...
...
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