[x264-devel] [PATCH] SSE2 motion compensation [from before] + MMX/SSE2/SSSE3 frame_lowres_init
Hannes Domani
ssbssa at yahoo.de
Fri Mar 7 12:12:14 CET 2008
Hello
when looking at the patch i was wondering if the
following part is what you really intended (since x++
is called twice):
> - if( qpel_idx & 5 ) /* qpel interpolation needed
*/
> + int x;
> + width = width >> 2;
> + for( x = 0; width - x >= 2; x++ )
> {
> - uint8_t *src2 = src[hpel_ref1[qpel_idx]] +
offset + ((mvx&3) == 3);
> - x264_pixel_avg_wtab_mmxext[i_width>>2](
> - dst, *i_dst_stride, src1,
i_src_stride,
> - src2, i_height );
> - return dst;
> + frame_init_lowres_core_sse2_w32(src_stride,
dest_stride, height, width, src0, dst0, dsth, dstv,
dstc );
> + src0 += 32;
> + dst0 += 16;
> + dsth += 16;
> + dstv += 16;
> + dstc += 16;
> + x++;
> }
regards
Domani Hannes
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
More information about the x264-devel
mailing list