diff options
author | Dmitry Kovalev <dkovalev@google.com> | 2013-08-09 14:41:51 -0700 |
---|---|---|
committer | Dmitry Kovalev <dkovalev@google.com> | 2013-08-09 14:41:51 -0700 |
commit | 816d6c989ce2773a79b51d92a2c9d0e7644e4fa1 (patch) | |
tree | 91b5246ba68347fcaf4876548e106b977b8b95c9 /vp9/decoder/vp9_onyxd_if.c | |
parent | ace93a175de219fa0b9a643ef8c217dea4217564 (diff) | |
download | libvpx-816d6c989ce2773a79b51d92a2c9d0e7644e4fa1.tar libvpx-816d6c989ce2773a79b51d92a2c9d0e7644e4fa1.tar.gz libvpx-816d6c989ce2773a79b51d92a2c9d0e7644e4fa1.tar.bz2 libvpx-816d6c989ce2773a79b51d92a2c9d0e7644e4fa1.zip |
Moving loopfilter struct to VP9_COMMON.
Loop filter configuration doesn't belong to macroblock, so moving it from
MACROBLOCKD to VP9_COMMON. Also moving the declaration of loopfilter struct
from vp9_blockd.h to vp9_loopfilter.h.
Change-Id: I4b3e34be9623b47cda35f9b1f9951f8c5b1d5d28
Diffstat (limited to 'vp9/decoder/vp9_onyxd_if.c')
-rw-r--r-- | vp9/decoder/vp9_onyxd_if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/decoder/vp9_onyxd_if.c b/vp9/decoder/vp9_onyxd_if.c index 91e26ec3e..db4a5bb28 100644 --- a/vp9/decoder/vp9_onyxd_if.c +++ b/vp9/decoder/vp9_onyxd_if.c @@ -136,7 +136,7 @@ VP9D_PTR vp9_create_decompressor(VP9D_CONFIG *oxcf) { // vp9_init_dequantizer() for every frame. vp9_init_dequantizer(&pbi->common); - vp9_loop_filter_init(&pbi->common, &pbi->mb.lf); + vp9_loop_filter_init(&pbi->common, &pbi->common.lf); pbi->common.error.setjmp = 0; pbi->decoded_key_frame = 0; @@ -359,7 +359,7 @@ int vp9_receive_compressed_data(VP9D_PTR ptr, if (!pbi->do_loopfilter_inline) { /* Apply the loop filter if appropriate. */ - vp9_loop_filter_frame(cm, &pbi->mb, pbi->mb.lf.filter_level, 0, 0); + vp9_loop_filter_frame(cm, &pbi->mb, pbi->common.lf.filter_level, 0, 0); } #if WRITE_RECON_BUFFER == 2 @@ -424,7 +424,7 @@ int vp9_get_raw_frame(VP9D_PTR ptr, YV12_BUFFER_CONFIG *sd, *time_end_stamp = 0; #if CONFIG_POSTPROC - ret = vp9_post_proc_frame(&pbi->common, &pbi->mb.lf, sd, flags); + ret = vp9_post_proc_frame(&pbi->common, &pbi->common.lf, sd, flags); #else if (pbi->common.frame_to_show) { |