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
b2f77866
Commit
b2f77866
authored
Jun 30, 2010
by
Yunqing Wang
Committed by
Code Review
Jun 30, 2010
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Add loopfilter initialization fix in multithreading code"
parents
cf49034b
29d586b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
vp8/common/onyxc_int.h
vp8/common/onyxc_int.h
+1
-0
vp8/decoder/threading.c
vp8/decoder/threading.c
+5
-2
No files found.
vp8/common/onyxc_int.h
View file @
b2f77866
...
...
@@ -201,6 +201,7 @@ typedef struct VP8Common
void
vp8_adjust_mb_lf_value
(
MACROBLOCKD
*
mbd
,
int
*
filter_level
);
void
vp8_init_loop_filter
(
VP8_COMMON
*
cm
);
void
vp8_frame_init_loop_filter
(
loop_filter_info
*
lfi
,
int
frame_type
);
extern
void
vp8_loop_filter_frame
(
VP8_COMMON
*
cm
,
MACROBLOCKD
*
mbd
,
int
filt_val
);
#endif
vp8/decoder/threading.c
View file @
b2f77866
...
...
@@ -281,11 +281,11 @@ THREAD_FUNCTION vp8_thread_loop_filter(void *p_data)
YV12_BUFFER_CONFIG
*
post
=
&
cm
->
new_frame
;
loop_filter_info
*
lfi
=
cm
->
lf_info
;
int
frame_type
=
cm
->
frame_type
;
int
mb_row
;
int
mb_col
;
int
baseline_filter_level
[
MAX_MB_SEGMENTS
];
int
filter_level
;
int
alt_flt_enabled
=
mbd
->
segmentation_enabled
;
...
...
@@ -319,7 +319,10 @@ THREAD_FUNCTION vp8_thread_loop_filter(void *p_data)
}
// Initialize the loop filter for this frame.
vp8_init_loop_filter
(
cm
);
if
((
cm
->
last_filter_type
!=
cm
->
filter_type
)
||
(
cm
->
last_sharpness_level
!=
cm
->
sharpness_level
))
vp8_init_loop_filter
(
cm
);
else
if
(
frame_type
!=
cm
->
last_frame_type
)
vp8_frame_init_loop_filter
(
lfi
,
frame_type
);
// Set up the buffer pointers
y_ptr
=
post
->
y_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