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
f6b1cd39
Commit
f6b1cd39
authored
May 30, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/proresenc_anatoliy: load 4 samples at a time in get()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
63b4d6fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
proresenc_anatoliy.c
libavcodec/proresenc_anatoliy.c
+3
-4
No files found.
libavcodec/proresenc_anatoliy.c
View file @
f6b1cd39
...
...
@@ -265,13 +265,12 @@ static void encode_ac_coeffs(AVCodecContext *avctx, PutBitContext *pb,
static
void
get
(
uint8_t
*
pixels
,
int
stride
,
int16_t
*
block
)
{
int16_t
*
p
=
(
int16_t
*
)
pixels
;
int
i
,
j
;
int
i
;
stride
>>=
1
;
for
(
i
=
0
;
i
<
8
;
i
++
)
{
for
(
j
=
0
;
j
<
8
;
j
++
)
{
block
[
j
]
=
p
[
j
];
}
AV_WN64
(
block
,
AV_RN64
(
p
));
AV_WN64
(
block
+
4
,
AV_RN64
(
p
+
4
));
p
+=
stride
;
block
+=
8
;
}
...
...
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