/**
* @file roqvideo.c
- * Id RoQ Video common functions based on work by Dr. Tim Ferguson
+ * id RoQ Video common functions based on work by Dr. Tim Ferguson
*/
#include "avcodec.h"
int boffs,stride;
stride = ri->current_frame->linesize[0];
- boffs = (y * stride) + x;
+ boffs = y*stride + x;
bptr = ri->current_frame->data[0] + boffs;
bptr[0 ] = cell->y[0];
int boffs,stride;
stride = ri->current_frame->linesize[0];
- boffs = (y * stride) + x;
+ boffs = y*stride + x;
bptr = ri->current_frame->data[0] + boffs;
bptr[ 0] = bptr[ 1] = bptr[stride ] = bptr[stride +1] = cell->y[0];
for(cp = 0; cp < 3; cp++) {
int outstride = ri->current_frame->linesize[cp];
int instride = ri->last_frame ->linesize[cp];
- block_copy(ri->current_frame->data[cp] + (y*outstride) + x,
- ri->last_frame->data[cp] + (my*instride) + mx,
+ block_copy(ri->current_frame->data[cp] + y*outstride + x,
+ ri->last_frame->data[cp] + my*instride + mx,
outstride, instride, sz);
}
}