hi
Using Dm6446 evm ,dvsdk2.......
Wnt to know simple thing .the output of the H264 encoder will be rgb or yuv422 if input is yuv422(Y1 U Y2 V) and (params->forceChromaFormat = XDM_YUV_422ILE;)
if it is yuv422 then i am using my code to convert it to rgb first and then convert rgb to yuv422 and return back the buffer (this all operation in dsp)
but the problem is i m getting a video with pinkish effect pink color patches in the image although it is giving visible picture but not correct .due to pinkish effect.
i thing problem is with u v data .as im using the following code line to downsample 2 u and v to 1 for 2 pixels in yuv422 format
u=(u1+2*u2+2)>>2;
v=(v1+2*v2+2)>>2;
i ve tried this also
u=(u1+u2)>>1;
v=(v1+v2)>>1;
and
u=(u1+u2+1)>>1;
v=(v1+v2+1)>>1;
but all results are same
kindly help with this
and 2 thing is that
where in ti dvsdk
this yuv to rgb and rgb to yuv conversion happening