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
aa91fe80
Commit
aa91fe80
authored
Oct 23, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxtory: Replace AV_WN16A(AV_RN16A()) combination by AV_COPY16
parent
9ab0874e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dxtory.c
libavcodec/dxtory.c
+2
-2
No files found.
libavcodec/dxtory.c
View file @
aa91fe80
...
...
@@ -70,8 +70,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
V
=
pic
->
data
[
2
];
for
(
h
=
0
;
h
<
avctx
->
height
;
h
+=
2
)
{
for
(
w
=
0
;
w
<
avctx
->
width
;
w
+=
2
)
{
AV_
WN16A
(
Y1
+
w
,
AV_RN16A
(
src
)
);
AV_
WN16A
(
Y2
+
w
,
AV_RN16A
(
src
+
2
)
);
AV_
COPY16
(
Y1
+
w
,
src
);
AV_
COPY16
(
Y2
+
w
,
src
+
2
);
U
[
w
>>
1
]
=
src
[
4
]
+
0x80
;
V
[
w
>>
1
]
=
src
[
5
]
+
0x80
;
src
+=
6
;
...
...
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