hi,
as i stil trying to understand the basics of the DM6437 in the video_preview pfiject i face to the following issue.
as i understand the video output channel is being configed here
PSP_VPFE_TVP5146_ConfigParams tvp5146Params =
VID_PARAMS_TVP5146_DEFAULT;
PSP_VPFECcdcConfigParams vpfeCcdcConfigParams =
VID_PARAMS_CCDC_DEFAULT_D1;
PSP_VPBEOsdConfigParams vpbeOsdConfigParams =
VID_PARAMS_OSD_DEFAULT_D1;
PSP_VPBEVencConfigParams vpbeVencConfigParams;
as i enter the "VID_PARAMS_OSD_DEFAULT_D1 " i want to change the colorformat from "FVID_YCbCr422_INTERLEAVED" to "FVID_YCbCr422_PLANAR" or "FVID_RGB565_INTERLEAVED"
as i understans (corect me if i'm wrong) the FVID_YCbCr422_INTERLEAVED is basicaly make the pixels be in the order of y1cb2y2cr2y3cb4y4cr4
in the FVID_YCbCr422_PLANAR is it make the image aragmaent memory y1y2y3 and all the luma is being made continuous order in the memory. is it corect? if yes, what else should i change in order that this format will work?
- "FVID_RGB565_INTERLEAVED" - is this format make the same as FVID_YCbCr422_INTERLEAVED and make the pixels arange in the memory as r1g1b1r2g2b2 or is it work in another way?
is it all conect to the chanel creation?
/* create video output channel, venc */
if (status == 0) {
PSP_VPBEChannelParams vpbeChannelParams;
vpbeChannelParams.id = PSP_VPBE_VENC;
vpbeChannelParams.params = (PSP_VPBEVencConfigParams *)&vpbeVencConfigParams;
hGioVpbeVenc = FVID_create("/VPBE0",IOM_INOUT,NULL,&vpbeChannelParams,NULL);
status = (hGioVpbeVenc == NULL ? -1 : 0);
as i change the colorformat from "FVID_YCbCr422_INTERLEAVED" to "FVID_YCbCr422_PLANAR" the status get -1 and does not work, what should i do?
sorry for the dummie quesions
thank you for your help
vadim