Home | History | Annotate | Download | only in src

Lines Matching full:pixelformat

295         char pixelFormat[256];
296 PvAttrEnumGet(Camera.Handle, "PixelFormat", pixelFormat,256,NULL);
297 if (strcmp(pixelFormat, "Mono8")==0)
299 else if (strcmp(pixelFormat, "Mono16")==0)
301 else if (strcmp(pixelFormat, "Bayer8")==0)
303 else if (strcmp(pixelFormat, "Bayer16")==0)
305 else if (strcmp(pixelFormat, "Rgb24")==0)
307 else if (strcmp(pixelFormat, "Bgr24")==0)
309 else if (strcmp(pixelFormat, "Rgba32")==0)
311 else if (strcmp(pixelFormat, "Bgra32")==0)
437 cv::String pixelFormat;
440 pixelFormat = "Mono8";
442 pixelFormat = "Mono16";
444 pixelFormat = "Bayer8";
446 pixelFormat = "Bayer16";
448 pixelFormat = "Rgb24";
450 pixelFormat = "Bgr24";
452 pixelFormat = "Rgba32";
454 pixelFormat = "Bgra32";
458 if ((PvAttrEnumSet(Camera.Handle,"PixelFormat", pixelFormat.c_str())==ePvErrSuccess))
521 char pixelFormat[256];
564 PvAttrEnumGet(Camera.Handle, "PixelFormat", pixelFormat,256,NULL);
568 if ( (strcmp(pixelFormat, "Mono8")==0) || (strcmp(pixelFormat, "Bayer8")==0) )
575 else if ( (strcmp(pixelFormat, "Mono16")==0) || (strcmp(pixelFormat, "Bayer16")==0) )
582 else if ( (strcmp(pixelFormat, "Rgb24")==0) || (strcmp(pixelFormat, "Bgr24")==0) )
589 else if ( (strcmp(pixelFormat, "Rgba32")==0) || (strcmp(pixelFormat, "Bgra32")==0) )