TI中文支持网
TI专业的中文技术问题搜集分享网站

disable DM365 on-the-fly mode

Hi,

I changed the DM365 demo captrue default value of onTheFly in order to bypass the previewer and the resizer.  

const Capture_Attrs Capture_Attrs_DM365_DEFAULT = {
    3,
    Capture_Input_COMPONENT,
    -1,
    -1,
    -1,
    -1,
    "/dev/video0",
    FALSE,
    VideoStd_AUTO,
    -1,
    ColorSpace_YUV420PSEMI,
    NULL,
    FALSE};

App encodedecode was re-made. And I passed  dm365_imp.oper_mode=1 in bootargs.

Then I run "encodedecode -y 3 -v h264" with DEBUG on but it failed in _Dmai_v4l2UserAlloc() with the following errors.

ti.sdo.dmai – [Dmai] VIODIC_QBUF failed (Invalid argument)
ti.sdo.dmai – [Capture] Failed to intialize capture driver buffers on /dev/video0

Can somebody tell me why?

Tuff Li:

你是要关掉on-the-fly mode还是要打开on-the-fly mode?

赞(0)
未经允许不得转载:TI中文支持网 » disable DM365 on-the-fly mode
分享到: 更多 (0)