Mercurial > libavcodec.hg
comparison vp8.c @ 12202:3465e53116e5 libavcodec
vp8: indent
author | mru |
---|---|
date | Tue, 20 Jul 2010 17:54:28 +0000 |
parents | c4b53914f286 |
children | 58d828f9810f |
comparison
equal
deleted
inserted
replaced
12201:c4b53914f286 | 12202:3465e53116e5 |
---|---|
880 uint8_t *top_border_m1 = top_border-32; // for TL prediction | 880 uint8_t *top_border_m1 = top_border-32; // for TL prediction |
881 src_y -= linesize; | 881 src_y -= linesize; |
882 src_cb -= uvlinesize; | 882 src_cb -= uvlinesize; |
883 src_cr -= uvlinesize; | 883 src_cr -= uvlinesize; |
884 | 884 |
885 #define XCHG(a,b,xchg) do {\ | 885 #define XCHG(a,b,xchg) do { \ |
886 if (xchg) AV_SWAP64(b,a);\ | 886 if (xchg) AV_SWAP64(b,a); \ |
887 else AV_COPY64(b,a);\ | 887 else AV_COPY64(b,a); \ |
888 } while (0) | 888 } while (0) |
889 | 889 |
890 XCHG(top_border_m1+8, src_y-8, xchg); | 890 XCHG(top_border_m1+8, src_y-8, xchg); |
891 XCHG(top_border, src_y, xchg); | 891 XCHG(top_border, src_y, xchg); |
892 XCHG(top_border+8, src_y+8, 1); | 892 XCHG(top_border+8, src_y+8, 1); |
893 if (mb_x < mb_width-1) | 893 if (mb_x < mb_width-1) |