Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
33adcdb5
Commit
33adcdb5
authored
May 22, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg2dec: Fix lowres 3
Fixes ticket212 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
af2ed4b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mpegvideo.c
libavcodec/mpegvideo.c
+4
-2
No files found.
libavcodec/mpegvideo.c
View file @
33adcdb5
...
@@ -1722,8 +1722,10 @@ static av_always_inline void mpeg_motion_lowres(MpegEncContext *s,
...
@@ -1722,8 +1722,10 @@ static av_always_inline void mpeg_motion_lowres(MpegEncContext *s,
if
(
!
CONFIG_GRAY
||
!
(
s
->
flags
&
CODEC_FLAG_GRAY
)){
if
(
!
CONFIG_GRAY
||
!
(
s
->
flags
&
CODEC_FLAG_GRAY
)){
uvsx
=
(
uvsx
<<
2
)
>>
lowres
;
uvsx
=
(
uvsx
<<
2
)
>>
lowres
;
uvsy
=
(
uvsy
<<
2
)
>>
lowres
;
uvsy
=
(
uvsy
<<
2
)
>>
lowres
;
pix_op
[
op_index
](
dest_cb
,
ptr_cb
,
uvlinesize
,
h
>>
s
->
chroma_y_shift
,
uvsx
,
uvsy
);
if
(
h
>>
s
->
chroma_y_shift
){
pix_op
[
op_index
](
dest_cr
,
ptr_cr
,
uvlinesize
,
h
>>
s
->
chroma_y_shift
,
uvsx
,
uvsy
);
pix_op
[
op_index
](
dest_cb
,
ptr_cb
,
uvlinesize
,
h
>>
s
->
chroma_y_shift
,
uvsx
,
uvsy
);
pix_op
[
op_index
](
dest_cr
,
ptr_cr
,
uvlinesize
,
h
>>
s
->
chroma_y_shift
,
uvsx
,
uvsy
);
}
}
}
//FIXME h261 lowres loop filter
//FIXME h261 lowres loop filter
}
}
...
...
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