[Deinterlace-checkins] CVS: DScaler5/DMO/Deinterlace/Deint_Diag Deint_Diag.cpp,1.4,1.5
Brought to you by:
adcockj,
dschmelzer
From: John A. <ad...@us...> - 2003-07-29 07:11:50
|
Update of /cvsroot/deinterlace/DScaler5/DMO/Deinterlace/Deint_Diag In directory sc8-pr-cvs1:/tmp/cvs-serv991/DMO/Deinterlace/Deint_Diag Modified Files: Deint_Diag.cpp Log Message: Fixed some issues with YV12 and general chroma positioning Index: Deint_Diag.cpp =================================================================== RCS file: /cvsroot/deinterlace/DScaler5/DMO/Deinterlace/Deint_Diag/Deint_Diag.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** Deint_Diag.cpp 25 Jul 2003 16:02:56 -0000 1.4 --- Deint_Diag.cpp 29 Jul 2003 07:01:54 -0000 1.5 *************** *** 21,24 **** --- 21,27 ---- // // $Log$ + // Revision 1.5 2003/07/29 07:01:54 adcockj + // Fixed some issues with YV12 and general chroma positioning + // // Revision 1.4 2003/07/25 16:02:56 adcockj // Fixed compile problem *************** *** 114,118 **** memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += LineLength; for(int i(0); i < InputInfo->bmiHeader.biHeight/2 - 1; ++i) --- 117,121 ---- memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += OutputPitch; for(int i(0); i < InputInfo->bmiHeader.biHeight/2 - 1; ++i) *************** *** 150,154 **** { memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += LineLength; Deint_Diag_Core_YUY2_MMX( --- 153,157 ---- { memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += OutputPitch; Deint_Diag_Core_YUY2_MMX( *************** *** 171,177 **** memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += LineLength; memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += LineLength; } } --- 174,180 ---- memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += OutputPitch; memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += OutputPitch; } } *************** *** 192,196 **** memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += LineLength; for(int i(0); i < InputInfo->bmiHeader.biHeight/2 - 1; ++i) --- 195,199 ---- memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += OutputPitch; for(int i(0); i < InputInfo->bmiHeader.biHeight/2 - 1; ++i) *************** *** 217,222 **** pInputData[3] += TwoLineLength; } - memcpy(pOutputData, pInputData[1], LineLength); } else --- 220,225 ---- pInputData[3] += TwoLineLength; } memcpy(pOutputData, pInputData[1], LineLength); + pInputData[1] += LineLength; } else *************** *** 228,232 **** { memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += LineLength; Deint_Diag_Core_Luma_MMX( --- 231,235 ---- { memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += OutputPitch; Deint_Diag_Core_Luma_MMX( *************** *** 249,255 **** memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += LineLength; memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += LineLength; } ProcessPlanarChroma(pInputData[1], pOutputData, InputInfo, OutputInfo); --- 252,259 ---- memcpy(pOutputData, pInputData[1], LineLength); ! pOutputData += OutputPitch; memcpy(pOutputData, pInputData[0], LineLength); ! pOutputData += OutputPitch; ! pInputData[1] += TwoLineLength; } ProcessPlanarChroma(pInputData[1], pOutputData, InputInfo, OutputInfo); |