Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Motion-Project/motion
/ functions
Functions
636 in github.com/Motion-Project/motion
⨍
Functions
636
◇
Types & classes
318
↓ 267 callers
Function
mystreq
Case sensitive equality check for strings*/
src/util.c:1286
↓ 147 callers
Function
mymalloc
* mymalloc * * Allocates some memory and checks if that succeeded or not. If it failed, * do some errorlogging and bail out. * * NOTE: Kenn
src/util.c:195
↓ 147 callers
Function
webu_write
src/webu.c:240
↓ 53 callers
Function
mystrceq
Non case sensitive equality check for strings*/
src/util.c:1268
↓ 42 callers
Function
event
* event * defined with the following parameters: * - Type as defined in event.h (EVENT_...) * - The global context struct cnt * -
src/event.c:1419
↓ 30 callers
Function
xioctl
src/video_v4l2.c:129
↓ 26 callers
Function
webu_text_header
src/webu_text.c:87
↓ 26 callers
Function
webu_text_trailer
src/webu_text.c:102
↓ 24 callers
Function
ffmpeg_free_context
src/ffmpeg.c:161
↓ 22 callers
Function
netcam_rtsp_decoder_error
src/netcam_rtsp.c:704
↓ 22 callers
Function
webu_text_back
src/webu_text.c:73
↓ 20 callers
Function
mystrftime
* mystrftime * * Motion-specific variant of strftime(3) that supports additional format * specifiers in the format string. * * Parameters: *
src/util.c:451
↓ 19 callers
Function
mystrne
Case sensitive inequality check for strings*/
src/util.c:1295
↓ 19 callers
Function
netcam_rtsp_close_context
src/netcam_rtsp.c:110
↓ 19 callers
Function
webu_context_free_var
src/webu.c:178
↓ 17 callers
Function
imageext
src/event.c:414
↓ 16 callers
Function
util_parms_add_default
src/util.c:1098
↓ 14 callers
Function
servo_command
src/track.c:387
↓ 14 callers
Function
util_parms_add_update
util_parms_add_update * Add a new value or update an existing one. */
src/util.c:1118
↓ 13 callers
Function
ffmpeg_free_pkt
src/ffmpeg.c:47
↓ 13 callers
Function
my_frame_free
/
src/util.c:61
↓ 13 callers
Function
util_parms_free
util_parms_free * Free all the memory associated with the parameter control array. */
src/util.c:1007
↓ 13 callers
Function
webu_text_camera_name
src/webu_text.c:53
↓ 12 callers
Function
mystrdup
* mystrdup * Truncates the string to the length given by the environment * variable PATH_MAX to ensure that config options can always cont
src/util.c:1346
↓ 12 callers
Function
util_parms_parse
util_parms_parse * Parse the user provided string of parameters into a array. */
src/util.c:1039
↓ 12 callers
Function
webu_process_action
src/webu.c:562
↓ 11 callers
Function
draw_text
* draw_text */
src/draw.c:1149
↓ 11 callers
Function
netcam_disconnect
* netcam_disconnect * * Disconnect from the network camera. * * Parameters: * * netcam pointer to netcam context * * Returns: N
src/netcam_http.c:645
↓ 11 callers
Function
put_picture
src/picture.c:827
↓ 10 callers
Function
myfclose
* myfclose * * Motion-specific variant of fclose() * * Returns: fclose() return value */
src/util.c:355
↓ 10 callers
Function
put_uint16
src/picture.c:101
↓ 10 callers
Function
util_check_passthrough
src/util.c:668
↓ 9 callers
Function
exec_command
* exec_command * Execute 'command' with 'arg' as its argument. * if !arg command is started with no arguments * Before we call execl
src/event.c:83
↓ 9 callers
Function
netcam_check_buffsize
src/netcam_http.c:844
↓ 9 callers
Function
netcam_url_free
* netcam_url_free * * General cleanup of the URL structure, called from netcam_cleanup. * * Parameters: * * parse_url Structure
src/netcam.c:206
↓ 9 callers
Function
stepper_command
src/track.c:180
↓ 9 callers
Function
util_threadname_set
This is a temporary location for these util functions. All the generic utility * functions will be collected here and ultimately moved into a new co
src/util.c:626
↓ 9 callers
Function
webu_mhd_send
src/webu.c:1306
↓ 8 callers
Function
ftp_get_response
* ftp_get_response * * Read the response from the FTP server after a command. * * Parameters * * ctxt pointer to an FTP context * * Retur
src/netcam_ftp.c:216
↓ 8 callers
Function
webu_text_badreq
src/webu_text.c:115
↓ 7 callers
Function
motion_log
* MOTION_LOG * * This routine is used for printing all informational, debug or error * messages produced by any of the other motion functions
src/logger.c:188
↓ 7 callers
Function
my_frame_alloc
/
src/util.c:50
↓ 7 callers
Function
my_packet_alloc
/
src/util.c:157
↓ 7 callers
Function
myfopen
* myfopen * * This function opens a file, if that failed because of an ENOENT error * (which is: path does not exist), the path is created and
src/util.c:313
↓ 7 callers
Function
put_uint32
src/picture.c:113
↓ 7 callers
Function
util_parms_update
Update config line with the values from the params array */
src/util.c:1150
↓ 7 callers
Function
vid_rgb24toyuv420p
src/video_common.c:381
↓ 7 callers
Function
webu_badreq
src/webu.c:215
↓ 6 callers
Function
my_packet_free
/
src/util.c:121
↓ 6 callers
Function
set_log_mode
* set_log_mode * Sets mode of logging, could be using syslog or files. * * Returns: nothing. */
src/logger.c:113
↓ 6 callers
Function
webu_html_strminfo
src/webu_html.c:595
↓ 6 callers
Function
webu_text_action
src/webu_text.c:669
↓ 5 callers
Function
get_log_level_str
* get_log_level_str * Gets string value for log level. * * Returns: name of log level. */
src/logger.c:90
↓ 5 callers
Function
get_log_type_str
* get_log_type_str * Gets string value for type log level. * * Returns: name of type log level. */
src/logger.c:67
↓ 5 callers
Function
netcam_rtsp_free_pkt
src/netcam_rtsp.c:55
↓ 5 callers
Function
put_picture_memory
* put_picture_mem * Is used for the webcam feature. Depending on the image type * (colour YUV420P or greyscale) the corresponding put_jpeg
src/picture.c:772
↓ 5 callers
Function
vid_parms_parse
vid_parms_parse * Parse the video_params into an array. */
src/video_common.c:507
↓ 5 callers
Function
webu_stream_deinit
src/webu_stream.c:36
↓ 4 callers
Function
add_huff_table
These huffman tables are required by the old jpeg libs included with 14.04 */
src/jpegutils.c:104
↓ 4 callers
Function
alg_draw_location
* alg_draw_location * Draws a box around the movement. */
src/alg.c:192
↓ 4 callers
Function
alg_draw_red_location
* alg_draw_red_location * Draws a RED box around the movement. */
src/alg.c:260
↓ 4 callers
Function
alg_update_reference_frame
src/alg.c:1403
↓ 4 callers
Function
ffmpeg_open
src/ffmpeg.c:1383
↓ 4 callers
Function
ffmpeg_reset_movie_start_time
src/ffmpeg.c:1533
↓ 4 callers
Function
header_process
* header_process * * Check whether HEADER begins with NAME and, if yes, skip the `:' and * the whitespace, and call PROCFUN with the arguments of
src/netcam_wget.c:147
↓ 4 callers
Function
iomojo_command
src/track.c:700
↓ 4 callers
Function
mycreate_path
* mycreate_path * * This function creates a whole path, like mkdir -p. Example paths: * this/is/an/example/ * /this/is/an/example/ *
src/util.c:263
↓ 4 callers
Function
myrealloc
* myrealloc * * Re-allocate (i.e., resize) some memory and check if that succeeded or not. * If it failed, do some errorlogging and bail out. I
src/util.c:225
↓ 4 callers
Function
netcam_http_request
* netcam_http_request * * This routine initiates a connection on the specified netcam, * for which every parameter has already been set (url, etc).
src/netcam_http.c:1211
↓ 4 callers
Function
netcam_image_read_complete
* Publish new image * * Moves the image in 'receiving' into 'latest' and updates last frame time */
src/netcam_http.c:878
↓ 4 callers
Function
netcam_rtsp_cleanup
src/netcam_rtsp.c:2323
↓ 4 callers
Function
netcam_rtsp_read_image
src/netcam_rtsp.c:1275
↓ 4 callers
Function
netcam_url_parse
* netcam_url_parse * * parses a string containing a URL into it's components * * Parameters: * parse_url A structure which wil
src/netcam.c:118
↓ 4 callers
Function
put_stringentry
src/picture.c:148
↓ 4 callers
Function
rbuf_flush
* rbuf_flush * * Flush RBUF's buffer to WHERE. Flush MAXSIZE bytes at most. * Returns the number of bytes actually copied. If the buffer is
src/netcam_wget.c:353
↓ 4 callers
Function
rotate_map
* rotate_map * * Main entry point for rotation. * * Parameters: * * img_data- pointer to the image data to rotate * cnt - the current thre
src/rotate.c:327
↓ 4 callers
Function
servo_position
src/track.c:426
↓ 4 callers
Function
stepper_status
src/track.c:210
↓ 4 callers
Function
track_center
Add a call to your functions here: */
src/track.c:90
↓ 4 callers
Function
v4l2_palette_init
src/video_v4l2.c:91
↓ 4 callers
Function
webu_html_badreq
src/webu_html.c:1254
↓ 4 callers
Function
webu_mhd_loadfile
src/webu.c:1841
↓ 3 callers
Function
conf_cmdparse
* conf_cmdparse * Sets a config option given by 'cmd' to the value given by 'arg1'. * Based on the name of the option it searches through
src/conf.c:2397
↓ 3 callers
Function
config_camera
* config_camera * Is called during initial config file loading each time Motion * finds a camera option in motion.conf * The size of
src/conf.c:3119
↓ 3 callers
Function
dbse_exec_mariadb
* dbse_exec_mariadb * */
src/dbse.c:400
↓ 3 callers
Function
dbse_exec_mysql
* dbse_exec_mysql * */
src/dbse.c:348
↓ 3 callers
Function
dbse_exec_pgsql
* dbse_exec_pgsql * */
src/dbse.c:453
↓ 3 callers
Function
dbse_exec_sqlite3
dbse_exec_sqlite3 */
src/dbse.c:515
↓ 3 callers
Function
ffmpeg_close
src/ffmpeg.c:1448
↓ 3 callers
Function
ffmpeg_encode_nal
src/ffmpeg.c:64
↓ 3 callers
Function
ffmpeg_free_nal
src/ffmpeg.c:55
↓ 3 callers
Function
ffmpeg_put_image
src/ffmpeg.c:1476
↓ 3 callers
Function
flip_inplace_horizontal
src/rotate.c:93
↓ 3 callers
Function
flip_inplace_vertical
src/rotate.c:111
↓ 3 callers
Function
get_pgm
* get_pgm * Get the pgm file used as fixed mask * */
src/picture.c:859
↓ 3 callers
Function
header_get
Get a header from read-buffer RBUF and return it in *HDR. As defined in RFC2068 and elsewhere, a header can be folded into multiple lines if th
src/netcam_wget.c:75
↓ 3 callers
Function
image_save_as_preview
* image_save_as_preview * * This routine is called when we detect motion and want to save an image in the preview buffer * * Parameters: * *
src/motion.c:214
↓ 3 callers
Function
motion_remove_pid
* motion_remove_pid * This function remove the process id file ( pid file ) before motion exit. */
src/motion.c:476
↓ 3 callers
Function
mystrcne
Non case sensitive inequality check for strings*/
src/util.c:1277
↓ 3 callers
Function
netcam_connect
* netcam_connect * * Attempt to open the network camera as a stream device. * Keep-alive is supported, ie. if netcam->connect_keepalive i
src/netcam_http.c:673
next →
1–100 of 636, ranked by callers