diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-31 16:49:52 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-06-08 14:39:42 +0300 |
commit | da0c8664b4dc906696803685f7e53ade68594ab8 (patch) | |
tree | d4a58741d14a1061ca41f3c860b124b17546670e /libavcodec/rv34.c | |
parent | a6f19d6a9f8d1e08653d9d77581e8c823f4955c2 (diff) |
mpegvideo: Move various temporary buffers to a separate context
Diffstat (limited to 'libavcodec/rv34.c')
-rw-r--r-- | libavcodec/rv34.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c index 26ab7e4df2..6c0a4a3b3b 100644 --- a/libavcodec/rv34.c +++ b/libavcodec/rv34.c @@ -723,14 +723,14 @@ static inline void rv34_mc(RV34DecContext *r, const int block_type, if(s->h_edge_pos - (width << 3) < 6 || s->v_edge_pos - (height << 3) < 6 || (unsigned)(src_x - !!lx*2) > s->h_edge_pos - !!lx*2 - (width <<3) - 4 || (unsigned)(src_y - !!ly*2) > s->v_edge_pos - !!ly*2 - (height<<3) - 4) { - uint8_t *uvbuf = s->edge_emu_buffer + 22 * s->linesize; + uint8_t *uvbuf = s->sc.edge_emu_buffer + 22 * s->linesize; srcY -= 2 + 2*s->linesize; - s->vdsp.emulated_edge_mc(s->edge_emu_buffer, srcY, + s->vdsp.emulated_edge_mc(s->sc.edge_emu_buffer, srcY, s->linesize, s->linesize, (width << 3) + 6, (height << 3) + 6, src_x - 2, src_y - 2, s->h_edge_pos, s->v_edge_pos); - srcY = s->edge_emu_buffer + 2 + 2*s->linesize; + srcY = s->sc.edge_emu_buffer + 2 + 2*s->linesize; s->vdsp.emulated_edge_mc(uvbuf, srcU, s->uvlinesize,s->uvlinesize, (width << 2) + 1, (height << 2) + 1, |