[svn] / branches / dev-api-3 / xvidcore / src / image / interpolate8x8.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/image/interpolate8x8.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 663, Wed Nov 20 15:29:07 2002 UTC revision 664, Wed Nov 20 19:53:18 2002 UTC
# Line 53  Line 53 
53  INTERPOLATE8X8_6TAP_LOWPASS_PTR interpolate8x8_6tap_lowpass_h;  INTERPOLATE8X8_6TAP_LOWPASS_PTR interpolate8x8_6tap_lowpass_h;
54  INTERPOLATE8X8_6TAP_LOWPASS_PTR interpolate8x8_6tap_lowpass_v;  INTERPOLATE8X8_6TAP_LOWPASS_PTR interpolate8x8_6tap_lowpass_v;
55    
56  void interpolate8x8_avg2_c(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, const uint32_t stride, const uint32_t rounding)  void interpolate8x8_avg2_c(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, const uint32_t stride, const uint32_t rounding, const uint32_t height)
57  {  {
58      int32_t i;      uint32_t i;
59          const int32_t round = 1 - rounding;          const int32_t round = 1 - rounding;
60    
61      for(i = 0; i < 9; i++)      for(i = 0; i < height; i++)
62      {      {
63          dst[0] = (src1[0] + src2[0] + round) >> 1;          dst[0] = (src1[0] + src2[0] + round) >> 1;
64          dst[1] = (src1[1] + src2[1] + round) >> 1;          dst[1] = (src1[1] + src2[1] + round) >> 1;

Legend:
Removed from v.663  
changed lines
  Added in v.664

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4