Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
b2f77866
Commit
b2f77866
authored
14 years ago
by
Yunqing Wang
Committed by
Code Review
14 years ago
Browse files
Options
Download
Plain Diff
Merge "Add loopfilter initialization fix in multithreading code"
parents
cf49034b
29d586b4
v1.14.0-linphone
1.4.X
aylesbury
bali
cayuga
eider
experimental
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
forest
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m29-baseline
m31-baseline
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
mcw
mcw2
nextgen
nextgenv2
pcs-2013
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/atna/dec_sem_sync
sandbox/awatry/initial_opencl_implementation
sandbox/debargha/playground
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/hlundin/error-concealment
sandbox/holmer/error-concealment
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jkoleszar/cached-multibit
sandbox/jkoleszar/experimental-knobs
sandbox/jkoleszar/new-rate-control
sandbox/jkoleszar/new-rtcd
sandbox/jkoleszar/reuse-modemv
sandbox/jkoleszar/use-memcpy
sandbox/jzern@google.com/test
sandbox/slavarnway/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
stable-vp9-decoder
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
vp9-preview
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
v1.0.0
v0.9.7
v0.9.7-p1
v0.9.6
v0.9.5
v0.9.2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp8/common/onyxc_int.h
+1
-0
vp8/common/onyxc_int.h
vp8/decoder/threading.c
+5
-2
vp8/decoder/threading.c
with
6 additions
and
2 deletions
vp8/common/onyxc_int.h
+
1
−
0
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
This diff is collapsed.
Click to expand it.
vp8/decoder/threading.c
+
5
−
2
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets