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
d0449e75
Commit
d0449e75
authored
Jul 01, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vaapi: Update idct_permutation location after dsputil/idctdsp split
parent
20f95f21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vaapi_mpeg2.c
libavcodec/vaapi_mpeg2.c
+1
-1
vaapi_mpeg4.c
libavcodec/vaapi_mpeg4.c
+1
-1
No files found.
libavcodec/vaapi_mpeg2.c
View file @
d0449e75
...
@@ -90,7 +90,7 @@ static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_
...
@@ -90,7 +90,7 @@ static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_
iq_matrix
->
load_chroma_non_intra_quantiser_matrix
=
1
;
iq_matrix
->
load_chroma_non_intra_quantiser_matrix
=
1
;
for
(
i
=
0
;
i
<
64
;
i
++
)
{
for
(
i
=
0
;
i
<
64
;
i
++
)
{
int
n
=
s
->
dsp
.
idct_permutation
[
ff_zigzag_direct
[
i
]];
int
n
=
s
->
i
dsp
.
idct_permutation
[
ff_zigzag_direct
[
i
]];
iq_matrix
->
intra_quantiser_matrix
[
i
]
=
s
->
intra_matrix
[
n
];
iq_matrix
->
intra_quantiser_matrix
[
i
]
=
s
->
intra_matrix
[
n
];
iq_matrix
->
non_intra_quantiser_matrix
[
i
]
=
s
->
inter_matrix
[
n
];
iq_matrix
->
non_intra_quantiser_matrix
[
i
]
=
s
->
inter_matrix
[
n
];
iq_matrix
->
chroma_intra_quantiser_matrix
[
i
]
=
s
->
chroma_intra_matrix
[
n
];
iq_matrix
->
chroma_intra_quantiser_matrix
[
i
]
=
s
->
chroma_intra_matrix
[
n
];
...
...
libavcodec/vaapi_mpeg4.c
View file @
d0449e75
...
@@ -109,7 +109,7 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_
...
@@ -109,7 +109,7 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_
iq_matrix
->
load_non_intra_quant_mat
=
1
;
iq_matrix
->
load_non_intra_quant_mat
=
1
;
for
(
i
=
0
;
i
<
64
;
i
++
)
{
for
(
i
=
0
;
i
<
64
;
i
++
)
{
int
n
=
s
->
dsp
.
idct_permutation
[
ff_zigzag_direct
[
i
]];
int
n
=
s
->
i
dsp
.
idct_permutation
[
ff_zigzag_direct
[
i
]];
iq_matrix
->
intra_quant_mat
[
i
]
=
s
->
intra_matrix
[
n
];
iq_matrix
->
intra_quant_mat
[
i
]
=
s
->
intra_matrix
[
n
];
iq_matrix
->
non_intra_quant_mat
[
i
]
=
s
->
inter_matrix
[
n
];
iq_matrix
->
non_intra_quant_mat
[
i
]
=
s
->
inter_matrix
[
n
];
}
}
...
...
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