This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

camera driver and capturetest issue!

Other Parts Discussed in Thread: TVP5146

 

Hi Dear TI support teams,

 

I used the camera driver in the BSP folder "C:\WINCE600\PLATFORM\EVM_XX3730\SRC\DRIVERS\CAMERA" , which is originated by TI and designed for analog camera by implementing decode chip TVP5146 's driver .   I can run CameraDshowAPP_analog.exe which is located in the path"C:\WINCE600\PRIVATE\TEST\MULTIMEDIA\DIRECTX\DSHOW\CAMERA\CAMERAAPP" successul, it can display as expected. However, it could not run CaptureTest.exe demo which is located at the path "\PLATFORM\EVM_XX3730\SRC\APP\CaptureTest". The error information list as below,

CaptureTest: ERROR: - Could not select Composite input for video capture  hr =0x80070057

CaptureTest: ERROR: Failed to create filters.

the print message can be find in the main.cpp,  hr =SelectVideoCaptureInput(). This function is implemented as

HRESULT

SelectVideoCaptureInput()

{

         HRESULT hr = S_OK;

        //Set the capture input port

         hr = pCameraControl -> Set((long)CameraControl_InputPort,(long),f_videoInput,1L)

         return (hr);

 

}

 

Could you kindly help suggest which cause failures as above. Thank you!