diff options
author | Scott LaVarnway <slavarnway@google.com> | 2012-09-17 16:07:08 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2012-09-17 16:07:08 -0700 |
commit | 154f1c22349070bba204d94100cf785f14db00da (patch) | |
tree | a860fb7a08f14a2eec8972ad6750d473eec45856 /vp8/common/setupintrarecon.c | |
parent | eec08d5cfc71678293ee9e63258ebdf5c8aa0e7b (diff) | |
parent | 648cfcb4375f23a6bec67b84d3677c0db728bae6 (diff) | |
download | libvpx-154f1c22349070bba204d94100cf785f14db00da.tar libvpx-154f1c22349070bba204d94100cf785f14db00da.tar.gz libvpx-154f1c22349070bba204d94100cf785f14db00da.tar.bz2 libvpx-154f1c22349070bba204d94100cf785f14db00da.zip |
Merge "Changed setup intra recon to be row based"
Diffstat (limited to 'vp8/common/setupintrarecon.c')
-rw-r--r-- | vp8/common/setupintrarecon.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vp8/common/setupintrarecon.c b/vp8/common/setupintrarecon.c index 7976e252b..60afe519f 100644 --- a/vp8/common/setupintrarecon.c +++ b/vp8/common/setupintrarecon.c @@ -30,3 +30,10 @@ void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf) ybf->v_buffer[ybf->uv_stride *i - 1] = (unsigned char) 129; } + +void vp8_setup_intra_recon_top_line(YV12_BUFFER_CONFIG *ybf) +{ + vpx_memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); + vpx_memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); + vpx_memset(ybf->v_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); +} |