|
日志输出的结果始终是这个:MinCroppingSize(2592, 1944) MaxCroppingSize(2592, 1944) Format(YUY2, 0x32595559)MinCroppingSize(2592, 1944) MaxCroppingSize(2592, 1944) Format(YUY2, 0x8d2681)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x8d2681)
MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(YUY2, 0x32595559)
MinCroppingSize(352, 288) MaxCroppingSize(352, 288) Format(YUY2, 0x8d2681)
MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x32595559)
MinCroppingSize(320, 240) MaxCroppingSize(320, 240) Format(YUY2, 0x8d2681)
MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(YUY2, 0x32595559)
MinCroppingSize(176, 144) MaxCroppingSize(176, 144) Format(YUY2, 0x8d2681)
MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x32595559)
MinCroppingSize(160, 120) MaxCroppingSize(160, 120) Format(YUY2, 0x8d2681)
MinCroppingSize(2048, 1536) MaxCroppingSize(2048, 1536) Format(YUY2, 0x32595559)
MinCroppingSize(2048, 1536) MaxCroppingSize(2048, 1536) Format(YUY2, 0x8d2681)
MinCroppingSize(1280, 1024) MaxCroppingSize(1280, 1024) Format(YUY2, 0x32595559)
MinCroppingSize(1280, 1024) MaxCroppingSize(1280, 1024) Format(YUY2, 0x8d2681)
MinCroppingSize(1600, 1200) MaxCroppingSize(1600, 1200) Format(YUY2, 0x32595559)
MinCroppingSize(1600, 1200) MaxCroppingSize(1600, 1200) Format(YUY2, 0x8d2681)
Video Config Size(320, 240) Format(YUY2, 25fps)
我的设置代码:
DWORD dwmc=1;
BRAC_SetSDKOption(BRAC_SO_LOCALVIDEO_PIXFMTCTRL,(PCHAR)&dwmc,sizeof(DWORD));
DWORD dw1=1;
BRAC_SetSDKOption(BRAC_SO_LOCALVIDEO_VIDEOSIZEPOLITIC,(PCHAR)&dw1,sizeof(DWORD));
DWORD dww=640;
DWORD dwh=480;
BRAC_SetSDKOption(BRAC_SO_LOCALVIDEO_WIDTHCTRL,(PCHAR)&dww,sizeof(DWORD));
BRAC_SetSDKOption(BRAC_SO_LOCALVIDEO_HEIGHTCTRL,(PCHAR)&dwh,sizeof(DWORD));
|
|