[FFmpeg-soc] [soc]: r1325 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Mon Sep 10 10:29:43 CEST 2007
Author: marco
Date: Mon Sep 10 10:29:43 2007
New Revision: 1325
Log:
Now really write to even lines
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Mon Sep 10 10:29:43 2007
@@ -1733,7 +1733,7 @@ static int reference_frame_idx(DiracCont
* @param pixels buffer to write the interpolated pixels to
* @param comp component
*/
-static inline void interpolate_frame_halfpel(AVFrame *refframe,
+static void interpolate_frame_halfpel(AVFrame *refframe,
int width, int height,
uint8_t *pixels, int comp,
int xpad, int ypad) {
@@ -1771,7 +1771,7 @@ START_TIMER
/* Copy bottom even lines. */
linein = pixels + (ypad + height - 1) * doutwidth;
- lineout = linein + outwidth;
+ lineout = linein + doutwidth;
for (y = 0; y < ypad * 2; y += 2) {
memcpy(lineout, linein, outwidth);
lineout += doutwidth;
More information about the FFmpeg-soc
mailing list