--- branches/dev-api-4/xvidcore/src/image/reduced.c 2003/02/21 14:49:29 886 +++ branches/dev-api-4/xvidcore/src/image/reduced.c 2003/06/09 01:25:19 1053 @@ -50,7 +50,7 @@ * exception also makes it possible to release a modified version which * carries forward this exception. * - * $Id: reduced.c,v 1.2 2003-02-15 15:22:18 edgomez Exp $ + * $Id: reduced.c,v 1.2.2.1 2003-06-09 01:21:09 edgomez Exp $ * ****************************************************************************/ @@ -58,7 +58,7 @@ #include "../global.h" #include "reduced.h" -// function pointers +/* function pointers */ COPY_UPSAMPLED_8X8_16TO8 * copy_upsampled_8x8_16to8; ADD_UPSAMPLED_8X8_16TO8 * add_upsampled_8x8_16to8; VFILTER_31 * vfilter_31; @@ -66,8 +66,9 @@ FILTER_18X18_TO_8X8 * filter_18x18_to_8x8; FILTER_DIFF_18X18_TO_8X8 * filter_diff_18x18_to_8x8; -////////////////////////////////////////////////////////// -// Upsampling (1/3/3/1) filter +/*---------------------------------------------------------------------------- + * Upsampling (1/3/3/1) filter + *--------------------------------------------------------------------------*/ #define ADD(dst,src) (dst) = CLIP((dst)+(src), 0, 255) @@ -163,8 +164,9 @@ } #undef ADD -////////////////////////////////////////////////////////// -// horizontal and vertical deblocking +/*---------------------------------------------------------------------------- + * horizontal and vertical deblocking + *--------------------------------------------------------------------------*/ void xvid_HFilter_31_C(uint8_t *Src1, uint8_t *Src2, int Nb_Blks) { @@ -190,12 +192,11 @@ } } -////////////////////////////////////////////////////////// -// 16x16 -> 8x8 (1/3/3/1) downsampling -// -// Warning! These read 1 pixel outside of the input 16x16 block! -// -////////////////////////////////////////////////////////// +/*---------------------------------------------------------------------------- + * 16x16 -> 8x8 (1/3/3/1) downsampling + * + * Warning! These read 1 pixel outside of the input 16x16 block! + *--------------------------------------------------------------------------*/ void xvid_Filter_18x18_To_8x8_C(int16_t *Dst, const uint8_t *Src, const int BpS) { @@ -240,5 +241,3 @@ T += 16; } } - -//////////////////////////////////////////////////////////