static QP_STORE_T zeroArray[2048/8]; if(QP_store==NULL) { QP_store= zeroArray; QP_stride= 0; }
void  postprocess(unsigned char * src[], int src_stride,                 unsigned char * dst[], int dst_stride,                 int horizontal_size,   int vertical_size,                 QP_STORE_T *QP_store,  int QP_stride,					  int mode){/*	static int qual=0;	struct PPMode ppMode= getPPModeByNameAndQuality("fast,default,-hdeblock,-vdeblock", qual);	qual++;	qual%=7;	printf("\n%d %d %d %d\n", ppMode.lumMode, ppMode.chromMode, ppMode.oldMode, ppMode.error);	postprocess2(src, src_stride, dst, dst_stride,                 horizontal_size, vertical_size, QP_store, QP_stride, &ppMode);	return;*/#ifdef HAVE_ODIVX_POSTPROCESS// Note: I could make this shit outside of this file, but it would mean one// more function call...	if(use_old_pp){	    odivx_postprocess(src,src_stride,dst,dst_stride,horizontal_size,vertical_size,QP_store,QP_stride,mode);	    return;	}#endif	postProcess(src[0], src_stride, dst[0], dst_stride,		horizontal_size, vertical_size, QP_store, QP_stride, 0, mode);	horizontal_size >>= 1;	vertical_size   >>= 1;	src_stride      >>= 1;	dst_stride      >>= 1;	mode= ((mode&0xFF)>>4) | (mode&0xFFFFFF00);//	mode&= ~(LINEAR_IPOL_DEINT_FILTER | LINEAR_BLEND_DEINT_FILTER |//		 MEDIAN_DEINT_FILTER | CUBIC_IPOL_DEINT_FILTER);	if(1)	{		postProcess(src[1], src_stride, dst[1], dst_stride,			horizontal_size, vertical_size, QP_store, QP_stride, 1, mode);		postProcess(src[2], src_stride, dst[2], dst_stride,			horizontal_size, vertical_size, QP_store, QP_stride, 2, mode);	}	else	{		memcpy(dst[1], src[1], src_stride*horizontal_size);		memcpy(dst[2], src[2], src_stride*horizontal_size);	}}