Signed-off-by: Xiaolin Zhang <xiaolin.zhang@intel.com>
* @set_zoom: Set the zoom factor.
* @get_max_zoom: Ask for maximum zoom factor that can be used.
* @get_supported_caps: Ask subclass about supported caps for given mode.
- *
+ * @get_makernote: Get driver's makernote part
+ * @makernote_init: Init makernote
+ * @makernote_deal: The main part for deal with makernote
+ * @makernote_uninit: Uninit makernote
* #GstCameraSrc class object.
*/
struct _GstCameraSrcClass
unsigned short shift;
int msqWbGain[3];
int msqCcMtrx[9];
- short * pccmtrx = (short *)&msqCcMtrx;
+ int * pccmtrx = msqCcMtrx;
v4l2camsrc = GST_V4L2CAMSRC (camerasrc);
{
for(j = 0; j < 3; j++)
{
- awb.rgb2yuv_matrix[i][j] = *pccmtrx;
- pccmtrx++;
+ awb.rgb2yuv_matrix[i][j] = (TInt16)(*pccmtrx & 0xff);
pccmtrx++;
}
}