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
5a232e50
Commit
5a232e50
authored
Mar 01, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exr: use bytestream functions in pxr24_uncompress()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
4b335e73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
exr.c
libavcodec/exr.c
+3
-3
No files found.
libavcodec/exr.c
View file @
5a232e50
...
...
@@ -309,18 +309,18 @@ static int pxr24_uncompress(EXRContext *s, const uint8_t *src,
(
*
(
ptr
[
1
]
++
)
<<
16
)
|
(
*
(
ptr
[
2
]
++
)
<<
8
);
pixel
+=
diff
;
AV_WL32
(
out
,
pixel
);
bytestream_put_le32
(
&
out
,
pixel
);
}
break
;
case
EXR_HALF
:
ptr
[
0
]
=
in
;
ptr
[
1
]
=
ptr
[
0
]
+
s
->
xdelta
;
in
=
ptr
[
1
]
+
s
->
xdelta
;
for
(
j
=
0
;
j
<
s
->
xdelta
;
j
++
,
out
+=
2
)
{
for
(
j
=
0
;
j
<
s
->
xdelta
;
j
++
)
{
uint32_t
diff
=
(
*
(
ptr
[
0
]
++
)
<<
8
)
|
*
(
ptr
[
1
]
++
);
pixel
+=
diff
;
AV_WL16
(
out
,
pixel
);
bytestream_put_le16
(
&
out
,
pixel
);
}
break
;
default:
...
...
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