Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
7c938f4d
Commit
7c938f4d
authored
Jul 16, 2010
by
Paul Wilkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Incorrect 'cols' calculation in temporal filter.
Change-Id: I37f10fbe4fbb505c1d34980a59af3e817c287e22
parent
fd0d7ff4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
vp8/encoder/onyx_if.c
vp8/encoder/onyx_if.c
+8
-5
No files found.
vp8/encoder/onyx_if.c
View file @
7c938f4d
...
...
@@ -3218,6 +3218,7 @@ void write_cx_frame_to_file(YV12_BUFFER_CONFIG *frame, int this_frame)
#if VP8_TEMPORAL_ALT_REF
static
void
vp8cx_temp_blur1_c
(
VP8_COMP
*
cpi
,
unsigned
char
**
frames
,
int
frame_count
,
unsigned
char
*
src
,
...
...
@@ -3236,17 +3237,16 @@ static void vp8cx_temp_blur1_c
int
modifier
=
0
;
int
i
,
j
,
k
;
int
block_ofset
;
int
Cols
,
Row
s
;
int
col
s
;
unsigned
char
Shift
=
(
block_size
==
16
)
?
4
:
3
;
Cols
=
width
/
block_size
;
Rows
=
height
/
block_size
;
cols
=
cpi
->
common
.
mb_cols
;
for
(
i
=
0
;
i
<
height
;
i
++
)
{
block_ofset
=
(
i
>>
Shift
)
*
C
ols
;
block_ofset
=
(
i
>>
Shift
)
*
c
ols
;
for
(
j
=
0
;
j
<
C
ols
;
j
++
)
for
(
j
=
0
;
j
<
c
ols
;
j
++
)
{
if
(
motion_map_ptr
[
block_ofset
]
>
2
)
{
...
...
@@ -3436,6 +3436,7 @@ static void vp8cx_temp_filter_c
// Blur Y
vp8cx_temp_blur1_c
(
cpi
,
cpi
->
frames
,
frames_to_blur
,
temp_source_buffer
->
y_buffer
,
// cpi->Source->y_buffer,
...
...
@@ -3460,6 +3461,7 @@ static void vp8cx_temp_filter_c
// Blur U
vp8cx_temp_blur1_c
(
cpi
,
cpi
->
frames
,
frames_to_blur
,
temp_source_buffer
->
u_buffer
,
...
...
@@ -3484,6 +3486,7 @@ static void vp8cx_temp_filter_c
// Blur V
vp8cx_temp_blur1_c
(
cpi
,
cpi
->
frames
,
frames_to_blur
,
temp_source_buffer
->
v_buffer
,
...
...
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