I am using DM6437 to implement video object segmentation algorithm. I am using YCBCR 422 as my input format. When I try to modify the y1 pixel using the following code, it successfully changes.
frameBuffPtr->frame.iFrm.y1[i] = 10;
When I try to change any of the other pixel information, y2, cb1, cb2, cr1 or cr2. The value doesn't change although I can print their values correctly using printf.
I am using the following code to change their values which is exactly same as for y1.
frameBuffPtr->frame.iFrm.y2[i] = 10;
frameBuffPtr->frame.iFrm.cb1[i] = 10;
frameBuffPtr->frame.iFrm.cb2i] = 10;
frameBuffPtr->frame.iFrm.cr1[i] = 10;
frameBuffPtr->frame.iFrm.cr2[i] = 10;
Why I can't modify the value of these pixels? I need to do this to set the pixels which are detected as background pixels to be displayed in black.
 
				 
		 
					 
                           
				