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
a7d3a51d
Commit
a7d3a51d
authored
Jul 09, 2011
by
Joakim Plate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetic: reindent of dxva2 zigzag workaround
parent
6dabe0f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
dxva2_h264.c
libavcodec/dxva2_h264.c
+7
-7
No files found.
libavcodec/dxva2_h264.c
View file @
a7d3a51d
...
...
@@ -116,7 +116,7 @@ static void fill_picture_parameters(struct dxva_context *ctx, const H264Context
if
(
ctx
->
workaround
&
FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG
)
pp
->
Reserved16Bits
=
0
;
else
pp
->
Reserved16Bits
=
3
;
/* FIXME is there a way to detect the right mode ? */
pp
->
Reserved16Bits
=
3
;
/* FIXME is there a way to detect the right mode ? */
pp
->
StatusReportFeedbackNumber
=
1
+
ctx
->
report_id
++
;
pp
->
CurrFieldOrderCnt
[
0
]
=
0
;
if
((
s
->
picture_structure
&
PICT_TOP_FIELD
)
&&
...
...
@@ -166,13 +166,13 @@ static void fill_scaling_lists(struct dxva_context *ctx, const H264Context *h, D
for
(
j
=
0
;
j
<
64
;
j
++
)
qm
->
bScalingLists8x8
[
i
][
j
]
=
h
->
pps
.
scaling_matrix8
[
i
][
j
];
}
else
{
for
(
i
=
0
;
i
<
6
;
i
++
)
for
(
j
=
0
;
j
<
16
;
j
++
)
qm
->
bScalingLists4x4
[
i
][
j
]
=
h
->
pps
.
scaling_matrix4
[
i
][
zigzag_scan
[
j
]];
for
(
i
=
0
;
i
<
6
;
i
++
)
for
(
j
=
0
;
j
<
16
;
j
++
)
qm
->
bScalingLists4x4
[
i
][
j
]
=
h
->
pps
.
scaling_matrix4
[
i
][
zigzag_scan
[
j
]];
for
(
i
=
0
;
i
<
2
;
i
++
)
for
(
j
=
0
;
j
<
64
;
j
++
)
qm
->
bScalingLists8x8
[
i
][
j
]
=
h
->
pps
.
scaling_matrix8
[
i
][
ff_zigzag_direct
[
j
]];
for
(
i
=
0
;
i
<
2
;
i
++
)
for
(
j
=
0
;
j
<
64
;
j
++
)
qm
->
bScalingLists8x8
[
i
][
j
]
=
h
->
pps
.
scaling_matrix8
[
i
][
ff_zigzag_direct
[
j
]];
}
}
...
...
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