History

Correctly track sharpness in vp8cx_pick_filter_level_fast

Make sure to update last_sharpness_level from the current sharpness_level whenever it changes.

John Koleszar committed 15 years ago

Commit 1f71d2e1 parent 56b06ae1 file · +1 −1Browse files

Unified · Split

vp8/encoder/picklpf.c+1−1
@@ -161,7 +161,7 @@ void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) · 160 unmodified lines
161161 if (cm->sharpness_level != cm->last_sharpness_level)
162162 {
163163 vp8_loop_filter_update_sharpness(&cm->lf_info, cm->sharpness_level);
164− cm->last_sharpness_level = cm->last_sharpness_level;
164+ cm->last_sharpness_level = cm->sharpness_level;
165165 }
166166
167167 // Start the search at the previous frame filter level unless it is now out of range.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t