Revision 6642a179

View differences:

libavcodec/vp8.c
1132 1132
                        linesize = 8;
1133 1133
                        if (!(mb_y + y)) {
1134 1134
                            copy_dst[3] = 127U;
1135
                            * (uint32_t *) (copy_dst + 4) = 127U * 0x01010101U;
1135
                            AV_WN32A(copy_dst+4, 127U * 0x01010101U);
1136 1136
                        } else {
1137
                            * (uint32_t *) (copy_dst + 4) = * (uint32_t *) (ptr+4*x-s->linesize);
1137
                            AV_COPY32(copy_dst+4, ptr+4*x-s->linesize);
1138 1138
                            if (!(mb_x + x)) {
1139 1139
                                copy_dst[3] = 129U;
1140 1140
                            } else {
......
1158 1158
                }
1159 1159
                s->hpc.pred4x4[mode](dst, topright, linesize);
1160 1160
                if (copy) {
1161
                    * (uint32_t *) (ptr+4*x)               = * (uint32_t *) (copy_dst + 12);
1162
                    * (uint32_t *) (ptr+4*x+s->linesize)   = * (uint32_t *) (copy_dst + 20);
1163
                    * (uint32_t *) (ptr+4*x+s->linesize*2) = * (uint32_t *) (copy_dst + 28);
1164
                    * (uint32_t *) (ptr+4*x+s->linesize*3) = * (uint32_t *) (copy_dst + 36);
1161
                    AV_COPY32(ptr+4*x              , copy_dst+12);
1162
                    AV_COPY32(ptr+4*x+s->linesize  , copy_dst+20);
1163
                    AV_COPY32(ptr+4*x+s->linesize*2, copy_dst+28);
1164
                    AV_COPY32(ptr+4*x+s->linesize*3, copy_dst+36);
1165 1165
                }
1166 1166

  
1167 1167
                nnz = s->non_zero_count_cache[y][x];

Also available in: Unified diff