源码路径
hardware/rockchip/camera/CameraHal/CameraHal_Module.cpp
if(strcmp((char*)&capability.driver[0],"uvcvideo") == 0)//uvc
{
camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_FRONT;//2019 liangzg add camera mirror
int ret,i=0,j=0;
struct v4l2_frmivalenum fival;
struct v4l2_frmsizeenum fsize;
struct v4l2_fmtdesc fmtdesc;
unsigned int width, height;
unsigned int sensor_resolution_w=0,sensor_resolution_h=0;
unsigned int CameraHal_SupportFmt[6]={0};
unsigned int mCamDriverSupportFmt[CAMERA_DRIVER_SUPPORT_FORMAT_MAX]={0};
unsigned int mCamDriverPreviewFmt=0;
unsigned int maxfps;
原作者:a_fly_pig
更多回帖