/** * Dump image state parameters to stderr. Used for debugging * * @param state Pointer to state structure to assign defaults to */ static void dump_status(RASPISTILLYUV_STATE *state) { int i; if (!state) { vcos_assert(0); return; } fprintf(stderr, "Width %d, Height %d, filename %s\n", state->width, state->height, state->filename); fprintf(stderr, "Time delay %d, Timelapse %d\n", state->timeout, state->timelapse); fprintf(stderr, "Link to latest frame enabled "); if (state->linkname) { fprintf(stderr, " yes, -> %s\n", state->linkname); } else { fprintf(stderr, " no\n"); } fprintf(stderr, "Full resolution preview %s\n", state->fullResPreview ? "Yes": "No"); fprintf(stderr, "Capture method : "); for (i=0;i<next_frame_description_size;i++) { if (state->frameNextMethod == next_frame_description[i].nextFrameMethod) fprintf(stderr, next_frame_description[i].description); } fprintf(stderr, "\n\n"); raspipreview_dump_parameters(&state->preview_parameters); raspicamcontrol_dump_parameters(&state->camera_parameters); }
/** * Dump image state parameters to printf. Used for debugging * * @param state Pointer to state structure to assign defaults to */ static void dump_status(RASPISTILLYUV_STATE *state) { if (!state) { vcos_assert(0); return; } printf("Width %d, Height %d, filename %s\n", state->width, state->height, state->filename); printf("Time delay %d", state->timeout); raspipreview_dump_parameters(&state->preview_parameters); raspicamcontrol_dump_parameters(&state->camera_parameters); }
/** * Dump image state parameters to printf. Used for debugging * * @param state Pointer to state structure to assign defaults to */ static void dump_status(RASPIVID_STATE *state) { if (!state) { vcos_assert(0); return; } fprintf(stderr, "Width %d, Height %d, filename %s\n", state->width, state->height, state->filename); fprintf(stderr, "bitrate %d, framerate %d, time delay %d\n", state->bitrate, state->framerate, state->timeout); raspipreview_dump_parameters(&state->preview_parameters); raspicamcontrol_dump_parameters(&state->camera_parameters); }
/** * Dump image state parameters to stderr. Used for debugging * * @param state Pointer to state structure to assign defaults to */ static void dump_status(RASPISTILLYUV_STATE *state) { if (!state) { vcos_assert(0); return; } fprintf(stderr, "Width %d, Height %d\n", state->width, state->height); fprintf(stderr, "Time delay %d, Timelapse %d\n", state->timeout, state->timelapse); raspipreview_dump_parameters(&state->preview_parameters); raspicamcontrol_dump_parameters(&state->camera_parameters); }
/** * Dump image state parameters to stderr. Used for debugging * * @param state Pointer to state structure to assign defaults to */ static void dump_status(RASPISTILL_STATE *state) { int i; if (!state) { vcos_assert(0); return; } fprintf(stderr, "Width %d, Height %d, quality %d, filename %s\n", state->width, state->height, state->quality, state->filename); fprintf(stderr, "Time delay %d, Raw %s\n", state->timeout, state->wantRAW ? "yes" : "no"); fprintf(stderr, "Thumbnail enabled %s, width %d, height %d, quality %d\n", state->thumbnailConfig.enable ? "Yes":"No", state->thumbnailConfig.width, state->thumbnailConfig.height, state->thumbnailConfig.quality); fprintf(stderr, "Link to latest frame enabled "); if (state->linkname) { fprintf(stderr, " yes, -> %s\n", state->linkname); } else { fprintf(stderr, " no\n"); } fprintf(stderr, "Full resolution preview %s\n\n", state->fullResPreview ? "Yes": "No"); if (state->numExifTags) { fprintf(stderr, "User supplied EXIF tags :\n"); for (i=0;i<state->numExifTags;i++) { fprintf(stderr, "%s", state->exifTags[i]); if (i != state->numExifTags-1) fprintf(stderr, ","); } fprintf(stderr, "\n\n"); } raspipreview_dump_parameters(&state->preview_parameters); raspicamcontrol_dump_parameters(&state->camera_parameters); }
/** * Dump image state parameters to stderr. * * @param state Pointer to state structure to assign defaults to */ void dump_status(RASPIVID_STATE *state) { if (!state) { vcos_assert(0); return; } DLOG_FORMAT("Width %d, Height %d", state->width, state->height ); DLOG_FORMAT("bitrate %d, framerate %d", state->bitrate, state->framerate ); DLOG_FORMAT("H264 Profile %s", raspicli_unmap_xref(state->profile, profile_map, profile_map_size)); DLOG_FORMAT("H264 Quantisation level %d, Inline headers %s", state->quantisationParameter, state->bInlineHeaders ? "Yes" : "No"); DLOG_FORMAT("H264 Intra refresh type %s, period %d", raspicli_unmap_xref(state->intra_refresh_type, intra_refresh_map, intra_refresh_map_size), state->intraperiod); raspipreview_dump_parameters(&state->preview_parameters); raspicamcontrol_dump_parameters(&state->camera_parameters); }