diff options
author | Yunqing Wang <yunqingwang@google.com> | 2010-12-29 10:28:35 -0500 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2010-12-29 10:28:35 -0500 |
commit | a864678cdbf26e14a521f2a8a43cf534552c2740 (patch) | |
tree | 5c858e9b772413dcb7e27a2862d7279713e5b318 /vp8/common | |
parent | 3fb4abf3d17dc18ea5cb8cdc68284fa3f0ecac98 (diff) | |
download | libvpx-a864678cdbf26e14a521f2a8a43cf534552c2740.tar libvpx-a864678cdbf26e14a521f2a8a43cf534552c2740.tar.gz libvpx-a864678cdbf26e14a521f2a8a43cf534552c2740.tar.bz2 libvpx-a864678cdbf26e14a521f2a8a43cf534552c2740.zip |
Always update last_frame_type
Scott pointed out that last_frame_type only gets updated while
loopfilter exists. Since last_frame_type is also needed in
motion search now, it needs to be updated every frame.
Change-Id: I9203532fd67361588d4024628d9ddb8e391ad912
Diffstat (limited to 'vp8/common')
-rw-r--r-- | vp8/common/onyxc_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/common/onyxc_int.h b/vp8/common/onyxc_int.h index 7e44c1f0c..e011ec99a 100644 --- a/vp8/common/onyxc_int.h +++ b/vp8/common/onyxc_int.h @@ -105,7 +105,7 @@ typedef struct VP8Common YV12_BUFFER_CONFIG post_proc_buffer; YV12_BUFFER_CONFIG temp_scale_frame; - FRAME_TYPE last_frame_type; /* Add to check if vp8_frame_init_loop_filter() can be skipped. */ + FRAME_TYPE last_frame_type; /* Save last frame's frame type for loopfilter init checking and motion search. */ FRAME_TYPE frame_type; int show_frame; |