img 59 core/autoiso.c unsigned char *img = vid_get_viewport_active_buffer(); img 60 core/autoiso.c if (img) img 63 core/autoiso.c img += vid_get_viewport_image_offset() + 1; // Skip border and move to 1st Y component in each block img 66 core/autoiso.c for (y=0; y<vp_height; y+=1, img+=vp_offset) img 70 core/autoiso.c h[img[x]] += 1; img 193 lib/lua/loadlib.c NSObjectFileImage img; img 200 lib/lua/loadlib.c ret = NSCreateObjectFileImageFromFile(path, &img); img 202 lib/lua/loadlib.c NSModule mod = NSLinkModule(img, path, NSLINKMODULE_OPTION_PRIVATE | img 204 lib/lua/loadlib.c NSDestroyObjectFileImage(img); img 347 modules/edgeoverlay.c const unsigned char* img = vid_get_viewport_active_buffer(); img 348 modules/edgeoverlay.c if (!img) return shutter_fullpress; img 366 modules/edgeoverlay.c img += vid_get_viewport_image_offset(); // offset into viewport for when image size != viewport size (e.g. 16:9 image on 4:3 LCD) img 395 modules/edgeoverlay.c ptrh1 = img + (y_min+y-1) * viewport_byte_width*viewport_yscale; img 418 modules/edgeoverlay.c ptrh1 = img + y * viewport_byte_width*viewport_yscale; img 426 modules/edgeoverlay.c ptrh1 = img + (y-1) * viewport_byte_width*viewport_yscale; img 102 modules/histogram.c void histogram_sample_stage(unsigned char *img, int stage, int byte_width, int vis_byte_width, int height, int xstep_bytes, int ystep) img 105 modules/histogram.c unsigned char *p_row = img + stage*ystep*byte_width + xstep_bytes; img 107 modules/histogram.c unsigned char *p_max = img + byte_width*(height-ystep); img 144 modules/histogram.c static unsigned char *img; img 188 modules/histogram.c img = vid_get_viewport_active_buffer(); img 189 modules/histogram.c if (!img) return; img 191 modules/histogram.c img += vid_get_viewport_image_offset(); // offset into viewport for when image size != viewport size (e.g. 16:9 image on 4:3 LCD) img 236 modules/histogram.c histogram_sample_stage(img, histogram_stage, viewport_byte_width, viewport_vis_byte_width, viewport_height, xstep_bytes, ystep); img 397 modules/motion_detector.c static void mx_dump_memory(void *img) img 422 modules/motion_detector.c write(fd, img, vid_get_viewport_byte_width()*vid_get_viewport_height_proper()); img 441 modules/motion_detector.c static unsigned char* img; img 472 modules/motion_detector.c curr += img[y + x + 1]; //Y always 2nd byte in each block img 491 modules/motion_detector.c curr += (int)img[y + uvx] - 128; //U img 494 modules/motion_detector.c curr += (signed char)img[y + uvx]; //U img 514 modules/motion_detector.c curr += (int)img[y + uvx + 2] - 128; //V img 517 modules/motion_detector.c curr += (signed char)img[y + uvx + 2]; //V img 534 modules/motion_detector.c cy = img[y + x + 1]; img 538 modules/motion_detector.c cv = (int)img[y + uvx + 2] - 128; img 541 modules/motion_detector.c cv = (signed char)img[y + uvx + 2]; img 559 modules/motion_detector.c cy = img[y + x + 1]; img 563 modules/motion_detector.c cu = (int)img[y + uvx] - 128; img 564 modules/motion_detector.c cv = (int)img[y + uvx + 2] - 128; img 567 modules/motion_detector.c cu = (signed char)img[y + uvx]; img 568 modules/motion_detector.c cv = (signed char)img[y + uvx + 2]; img 586 modules/motion_detector.c cy = img[y + x + 1]; img 590 modules/motion_detector.c cu = (int)img[y + uvx] - 128; img 593 modules/motion_detector.c cu = (signed char)img[y + uvx]; img 639 modules/motion_detector.c img = vid_get_viewport_active_buffer(); img 640 modules/motion_detector.c if (!img) return 0; img 645 modules/motion_detector.c mx_dump_memory((char*)img); img 651 modules/motion_detector.c img += vid_get_viewport_image_offset(); // offset into viewport for when image size != viewport size (e.g. 16:9 image on 4:3 LCD)