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
6cf0c410
Commit
6cf0c410
authored
Nov 04, 2013
by
Ronald S. Bultje
Committed by
Michael Niedermayer
Nov 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put vp9_scans and vp9_scans_nb in ro_data.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e1351662
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vp9.c
libavcodec/vp9.c
+2
-2
vp9data.h
libavcodec/vp9data.h
+2
-2
No files found.
libavcodec/vp9.c
View file @
6cf0c410
...
...
@@ -1904,8 +1904,8 @@ static int decode_coeffs(AVCodecContext *ctx)
int
uvstep1d
=
1
<<
b
->
uvtx
,
uvstep
=
1
<<
(
b
->
uvtx
*
2
),
res
;
int16_t
(
*
qmul
)[
2
]
=
s
->
segmentation
.
feat
[
b
->
seg_id
].
qmul
;
int
tx
=
4
*
s
->
lossless
+
b
->
tx
;
const
int16_t
**
yscans
=
vp9_scans
[
tx
];
const
int16_t
(
**
ynbs
)[
2
]
=
vp9_scans_nb
[
tx
];
const
int16_t
*
const
*
yscans
=
vp9_scans
[
tx
];
const
int16_t
(
*
const
*
ynbs
)[
2
]
=
vp9_scans_nb
[
tx
];
const
int16_t
*
uvscan
=
vp9_scans
[
b
->
uvtx
][
DCT_DCT
];
const
int16_t
(
*
uvnb
)[
2
]
=
vp9_scans_nb
[
b
->
uvtx
][
DCT_DCT
];
uint8_t
*
a
=
&
s
->
above_y_nnz_ctx
[
col
*
2
];
...
...
libavcodec/vp9data.h
View file @
6cf0c410
...
...
@@ -469,7 +469,7 @@ static const int16_t vp9_default_scan_32x32[1024] = {
923
,
954
,
985
,
1016
,
831
,
862
,
893
,
955
,
986
,
1017
,
863
,
894
,
987
,
1018
,
895
,
1019
,
924
,
925
,
956
,
926
,
957
,
988
,
927
,
958
,
989
,
1020
,
959
,
990
,
1021
,
991
,
1022
,
1023
,
};
static
const
int16_t
*
vp9_scans
[
5
][
4
]
=
{
static
const
int16_t
*
const
vp9_scans
[
5
][
4
]
=
{
{
vp9_default_scan_4x4
,
vp9_col_scan_4x4
,
vp9_row_scan_4x4
,
vp9_default_scan_4x4
...
...
@@ -1026,7 +1026,7 @@ static const int16_t vp9_default_scan_32x32_nb[1024][2] = {
{
990
,
959
},
{
1021
,
990
},
{
1022
,
991
},
{
0
,
0
},
};
static
const
int16_t
(
*
vp9_scans_nb
[
5
][
4
])[
2
]
=
{
static
const
int16_t
(
*
const
vp9_scans_nb
[
5
][
4
])[
2
]
=
{
{
vp9_default_scan_4x4_nb
,
vp9_col_scan_4x4_nb
,
vp9_row_scan_4x4_nb
,
vp9_default_scan_4x4_nb
...
...
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