Ejemplo n.º 1
0
/**
 * Display usage information for the application to stdout
 *
 * @param app_name String to display as the application name
 */
static void display_valid_parameters(char *app_name)
{
   int i;

   fprintf(stderr, "Display camera output to display, and optionally saves an H264 capture at requested bitrate\n\n");
   fprintf(stderr, "\nusage: %s [options]\n\n", app_name);

   fprintf(stderr, "Image parameter commands\n\n");

   raspicli_display_help(cmdline_commands, cmdline_commands_size);

   // Profile options
   fprintf(stderr, "\n\nH264 Profile options :\n%s", profile_map[0].mode );

   for (i=1;i<profile_map_size;i++)
   {
      fprintf(stderr, ",%s", profile_map[i].mode);
   }

   // Help for preview options
   raspipreview_display_help();

   // Now display any help information from the camcontrol code
   raspicamcontrol_display_help();

   fprintf(stderr, "\n");

   return;
}
Ejemplo n.º 2
0
/**
 * Display help for command line options
 */
void raspicamcontrol_display_help()
{
   int i;

   fprintf(stderr, "\nImage parameter commands\n\n");

   raspicli_display_help(cmdline_commands, cmdline_commands_size);

   fprintf(stderr, "\n\nNotes\n\nExposure mode options :\n%s", exposure_map[0].mode );

   for (i=1;i<exposure_map_size;i++)
   {
      fprintf(stderr, ",%s", exposure_map[i].mode);
   }

   fprintf(stderr, "\n\nAWB mode options :\n%s", awb_map[0].mode );

   for (i=1;i<awb_map_size;i++)
   {
      fprintf(stderr, ",%s", awb_map[i].mode);
   }

   fprintf(stderr, "\n\nImage Effect mode options :\n%s", imagefx_map[0].mode );

   for (i=1;i<imagefx_map_size;i++)
   {
      fprintf(stderr, ",%s", imagefx_map[i].mode);
   }

   fprintf(stderr, "\n\nMetering Mode options :\n%s", metering_mode_map[0].mode );

   for (i=1;i<metering_mode_map_size;i++)
   {
      fprintf(stderr, ",%s", metering_mode_map[i].mode);
   }

   fprintf(stderr, "\n\nDynamic Range Compression (DRC) options :\n%s", drc_mode_map[0].mode );

   for (i=1;i<drc_mode_map_size;i++)
   {
      fprintf(stderr, ",%s", drc_mode_map[i].mode);
   }

   fprintf(stderr, "\n");
}
Ejemplo n.º 3
0
/**
 * Display usage information for the application to stdout
 *
 * @param app_name String to display as the application name
 *
 */
static void display_valid_parameters(char *app_name)
{
   fprintf(stdout, "Runs camera for specific time, and take uncompressed YUV capture at end if requested\n\n");
   fprintf(stdout, "usage: %s [options]\n\n", app_name);

   fprintf(stdout, "Image parameter commands\n\n");

   raspicli_display_help(cmdline_commands, cmdline_commands_size);

   // Help for preview options
   raspipreview_display_help();

   // Now display any help information from the camcontrol code
   raspicamcontrol_display_help();

   fprintf(stdout, "\n");

   return;
}
Ejemplo n.º 4
0
/**
 * Display usage information for the application to stdout
 */
static void display_valid_parameters()
{
   printf("Display camera output to display, and optionally saves an H264 capture at requested bitrate\n\n");
   printf("\nusage: RaspiVid [options]\n\n");

   printf("Image parameter commands\n\n");

   raspicli_display_help(cmdline_commands, cmdline_commands_size);

   // Help for preview options
   raspipreview_display_help();

   // Now display any help information from the camcontrol code
   raspicamcontrol_display_help();

   printf("\n");

   return;
}
Ejemplo n.º 5
0
/**
 * Display help for command line options for this module
 */
void raspicommonsettings_display_help()
{
   fprintf(stdout, "\nCommon Settings commands\n\n");
   raspicli_display_help(cmdline_commands, cmdline_commands_size);
}
Ejemplo n.º 6
0
/**
 * Display help for command line options
 */
void raspitex_display_help()
{
    fprintf(stderr, "\nPreview parameter commands\n\n");
    raspicli_display_help(cmdline_commands, cmdline_commands_size);
}