Lines Matching defs:context

364 struct context {  struct
384 struct netcam_context *netcam; argument
386 struct mmalcam_context *mmalcam; argument
388 …struct rtsp_context *rtsp; /* this structure contains the context for normal RTSP con… argument
389 …struct rtsp_context *rtsp_high; /* this structure contains the context for high resolution… argument
391 struct vdev_context *vdev; /* Structure for v4l2 and bktr device information */ argument
393 … image_data *current_image; /* Pointer to a structure where the image, diffs etc is stored */
394 unsigned int new_img;
396 int locate_motion_mode;
397 int locate_motion_style;
398 int process_thisframe;
399 struct rotdata rotate_data; /* rotation data is thread-specific */
401 int noise;
402 int threshold;
403 int threshold_maximum;
404 int diffs_last[THRESHOLD_TUNE_LENGTH];
405 int smartmask_speed;
409 volatile unsigned int snapshot; /* Make a snapshot */
410 volatile unsigned int event_stop; /* Boolean for whether to stop a event */
411 volatile unsigned int event_user; /* Boolean for whether to user triggered an event */
412 volatile unsigned int finish; /* End the thread */
413 volatile unsigned int restart; /* Restart the thread when it ends */
415 volatile unsigned int running;
417 volatile unsigned int webcontrol_running;
418 volatile unsigned int webcontrol_finish; /* End the thread */
419 volatile int watchdog;
421 pthread_t thread_id;
423 int event_nr;
424 int prev_event;
425 unsigned long long database_event_id;
426 unsigned int lightswitch_framecounter;
427 char text_event_string[PATH_MAX]; /* The text for conv. spec. %C - */
428 int text_scale;
430 int postcap; /* downcounter, frames left to to send post event */
431 int shots;
432 unsigned int detecting_motion;
433 struct tm *currenttime_tm;
434 struct tm *eventtime_tm;
436 time_t currenttime;
437 time_t lasttime;
438 time_t eventtime;
439 time_t connectionlosttime; /* timestamp from connection lost */
441 unsigned int lastrate;
442 unsigned int startup_frames;
443 unsigned int moved;
444 unsigned int pause;
445 …issing_frame_counter; /* counts failed attempts to fetch picture frame from camera */
446 unsigned int lost_connection;
448 int video_dev;
449 int pipe;
450 int mpipe;
452 struct stream stream;
453 int stream_count;
455 char hostname[PATH_MAX];
456 char *netcam_decoder;
458 int sql_mask;
461 sqlite3 *database_sqlite3;
465 MYSQL *database;
469 PGconn *database_pg;
472 int movie_fps;
473 char newfilename[PATH_MAX];
474 char extpipefilename[PATH_MAX];
475 char extpipecmdline[PATH_MAX];
476 int movie_last_shot;
478 struct ffmpeg *ffmpeg_output;
479 struct ffmpeg *ffmpeg_output_motion;
480 struct ffmpeg *ffmpeg_timelapse;
481 int movie_passthrough;
483 char timelapsefilename[PATH_MAX];
484 char motionfilename[PATH_MAX];
486 int area_minx[9], area_miny[9], area_maxx[9], area_maxy[9];
487 int areadetect_eventnbr;
489 unsigned long long int timenow, timebefore;
491 unsigned int rate_limit;
492 time_t lastframetime;
493 int minimum_frame_time_downcounter;
494 …unsigned int get_image; /* Flag used to signal that we capture new image when we run the loop */
496 long int required_frame_time, frame_delay;
498 long int rolling_average_limit;
499 long int *rolling_average_data;
500 unsigned long int rolling_average;
502 int olddiffs; //only need this in here for a printf later...do we need that printf?
503 int smartmask_ratio;
504 int smartmask_count;
506 int previous_diffs, previous_location_x, previous_location_y;
507 unsigned long int time_last_frame, time_current_frame;
509 unsigned int smartmask_lastrate;
511 unsigned int passflag; //only purpose is to flag first frame vs all others.....
512 int rolling_frame;
514 struct MHD_Daemon *webcontrol_daemon;
515 struct MHD_Daemon *webstream_daemon;
516 char webcontrol_digest_rand[8];
517 char webstream_digest_rand[8];
518 int camera_id;
542 size_t mystrftime(const struct context *, char *, size_t, const char *, const struct timeval *, con… argument