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
0266988c
Commit
0266988c
authored
Apr 07, 2015
by
Ferdinand Oeinck
Committed by
Vittorio Giovara
Apr 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hqx: Fix clipping error in idct put function
Signed-off-by:
Vittorio Giovara
<
vittorio.giovara@gmail.com
>
parent
783df7d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
hqx.c
libavcodec/hqx.c
+1
-1
canopus-hqx422a
tests/ref/fate/canopus-hqx422a
+1
-1
No files found.
libavcodec/hqx.c
View file @
0266988c
...
...
@@ -182,7 +182,7 @@ static void hqx_idct_put(uint16_t *dst, ptrdiff_t stride,
for
(
i
=
0
;
i
<
8
;
i
++
)
{
for
(
j
=
0
;
j
<
8
;
j
++
)
{
int
v
=
av_clip
(
block
[
j
+
i
*
8
]
+
0x800
,
0
,
0x
1000
);
int
v
=
av_clip
(
block
[
j
+
i
*
8
]
+
0x800
,
0
,
0x
FFF
);
dst
[
j
]
=
(
v
<<
4
)
|
(
v
>>
8
);
}
dst
+=
stride
>>
1
;
...
...
tests/ref/fate/canopus-hqx422a
View file @
0266988c
#tb 0: 1/25
0, 0, 0, 1, 8294400, 0x9
b38264d
0, 0, 0, 1, 8294400, 0x9
a22bebf
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