Other Parts Discussed in Thread: TVP5147
Capture video through tvp5147 CVBS in DM8148 EVM,cann't get the capturing buffer data
CVBS interface,NTSC std
saLoopBackFbdev test application
It's stop while run the following code.
"ret = ioctl(capt.fd, VIDIOC_DQBUF, &capt.buf);"
It start Capturing,but cann't get the capturing buffer data.
why I can not get the capturing buffer data?
the signal is following:
Crystal : 14.3MHz
HS : 15.73KHz
VS : 60Hz
dataclk : 27MHz
saLoopBackFbdev print information is follow:
saLoopBackFbdev: pixelformat = V4L2_PIX_FMT_YUYV
=============================================================
Format:
=========================================
fmt.type = 1
fmt.width = 720
fmt.height = 480
fmt.pixelformat = 1448695129
fmt.bytesperline = 1440
fmt.sizeimage = 691200
=============================================================
------------------------------------
Vps_CaptCreateParams:
CAPTURE : videoCaptureMode = 0
CAPTURE : videoIfMode = 0
CAPTURE : inDataFormat = 6
CAPTURE : periodicCallbackEnable = 0
CAPTURE : numCh = 1
CAPTURE : numStream = 1
CAPTURE : inScanFormat = 0
CAPTURE : outStreamInfo[0].dataFormat = 1
CAPTURE : outStreamInfo[0].memType = 0
CAPTURE : outStreamInfo[0].pitch[0] = 1440
CAPTURE : outStreamInfo[0].maxOutHeight = 0
CAPTURE : outStreamInfo[0].scEnable = 0
CAPTURE : outStreamInfo[0].subFrameModeEnable = 0
CAPTURE : outStreamInfo[0].numLinesInSubFrame = 0
------------------------------------
fvid2.c : vps_fvid2_dequeue : status = 0
dequeue event return 0 within 1 ms
capt.c : capture_dequeue : r = 0
ti81xxvin_main.c : vidioc_dqbuf : inst->captctrl->dequeue end
ti81xxvin_main.c : vidioc_dqbuf : num_frms_dequeued = 0