Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
406f3007
Commit
406f3007
authored
Jan 22, 2016
by
Hendrik Leppkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxva2_h264: fix reference field marking in long slice struct
Fixes artifacts in interlaced decoding on old Intel GPUs.
parent
f5025836
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dxva2_h264.c
libavcodec/dxva2_h264.c
+1
-1
No files found.
libavcodec/dxva2_h264.c
View file @
406f3007
...
@@ -252,7 +252,7 @@ static void fill_slice_long(AVCodecContext *avctx, DXVA_Slice_H264_Long *slice,
...
@@ -252,7 +252,7 @@ static void fill_slice_long(AVCodecContext *avctx, DXVA_Slice_H264_Long *slice,
else
else
index
=
get_refpic_index
(
pp
,
ff_dxva2_get_surface_index
(
avctx
,
ctx
,
r
->
f
));
index
=
get_refpic_index
(
pp
,
ff_dxva2_get_surface_index
(
avctx
,
ctx
,
r
->
f
));
fill_picture_entry
(
&
slice
->
RefPicList
[
list
][
i
],
index
,
fill_picture_entry
(
&
slice
->
RefPicList
[
list
][
i
],
index
,
r
->
reference
==
PICT_BOTTOM_FIELD
);
sl
->
ref_list
[
list
][
i
].
reference
==
PICT_BOTTOM_FIELD
);
for
(
plane
=
0
;
plane
<
3
;
plane
++
)
{
for
(
plane
=
0
;
plane
<
3
;
plane
++
)
{
int
w
,
o
;
int
w
,
o
;
if
(
plane
==
0
&&
sl
->
luma_weight_flag
[
list
])
{
if
(
plane
==
0
&&
sl
->
luma_weight_flag
[
list
])
{
...
...
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