Hi,
Currently I'm working on TI8148 with adv7180 encoder/decoder attached to VIN[0] port A.
I am using saLoopBackFbdev application to capture the video from the adv7180.
When I executed saLoopBackFbdev, I am able to capture the image but the image not in proper size.
I am using PAL (720 x 576), BT656 standard.
PAL format to DSP is <SAV Cb Y Cr Y Cb Y Cr .... EAV>.
Here is my input to adv7180 chip.
Image may be NSFW.
Clik here to view.
Here is my captured image from DSP.
Image may be NSFW.
Clik here to view.
Here is my configurations,
cctrl->ccparams->videoCaptureMode = VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
cctrl->ccparams->videoIfMode = VPS_CAPT_VIDEO_IF_MODE_8BIT;
cctrl->ccparams->inDataFormat = FVID2_DF_YUV422P;
cctrl->ccparams->periodicCallbackEnable = 0;
cctrl->ccparams->numCh = 1;
cctrl->ccparams->numStream = 1;
cctrl->ccparams->vipParserInstConfig = NULL;
cctrl->ccparams->cscConfig = NULL;
cctrl->ccparams->vipParserPortConfig = NULL;
cctrl->ccparams->inScanFormat = FVID2_SF_INTERLACED;
cctrl->decoder_width = 1920;
cctrl->decoder_width = 1080;
cctrl->scformat = FVID2_SF_INTERLACED;
cctrl->fmt.channelnum = 0;
cctrl->fmt.width = 1920;
cctrl->fmt.height = 1080;
cctrl->fmt.pitch[0] = 1920 * 2;
cctrl->fmt.pitch[1] = 1920 * 2;
cctrl->fmt.pitch[2] = 1920 * 2;
cctrl->fmt.fieldmerged[0] = 0;
cctrl->fmt.fieldmerged[1] = 0;
cctrl->fmt.fieldmerged[2] = 0;
cctrl->fmt.dataformat = FVID2_DF_YUV422P;
cctrl->fmt.scanformat = FVID2_SF_INTERLACED;
cctrl->fmt.bpp = 24;
Kindly tell me what could be the problem in my configuration?
Regards,
Rajeshkumar