summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-05capture: Allow specifying an indexBenjamin Franzke1-1/+5
2012-04-05capture: Add code for scalingBenjamin Franzke1-0/+12
But not yet used.
2012-04-05capture: Use cvQueryFrameBenjamin Franzke1-18/+7
The splitted cvGrabFrame + cvRetrieveFrame doesnt work as documented anyway. cvGrabFrame _should_ be fast, but does select(2) with a timeout of 2 seconds on the v4l fd.
2012-04-04capture: Quit in q press event, not releaseBenjamin Franzke1-2/+2
2012-04-04capture: Remove unneded timer variableBenjamin Franzke1-1/+0
2012-04-04Makefile: Be silent by defaultBenjamin Franzke1-2/+13
Like automake silent build rules.
2012-04-04Makefile: Use variables instead of many-rules for cflags/ldflagsBenjamin Franzke1-23/+25
2012-04-04Makefile: Use -Wl,--as-neededBenjamin Franzke1-7/+7
2012-04-04Add capture.c: OpenCV capture displayed with GTK+3Benjamin Franzke2-3/+260
2012-03-31roi: Let marked_image always point to a valid pixbufBenjamin Franzke1-11/+7
Either by having an own backing storage or by being a reference to the input image.
2012-03-31roi: Rename input to imageBenjamin Franzke1-18/+18
And modified_input to marked_image
2012-03-31roi: No need to have a cairo_rectangle_t in do_roiBenjamin Franzke1-5/+4
2012-03-31roi: Split do_roi into interval creation and matchingBenjamin Franzke1-43/+53
2012-03-31roi: Add a generic pixbuf_get callBenjamin Franzke1-18/+18
All those gdk_pixbuf_getters suck
2012-03-31roi: Dont try to unref modification if nothing is modifiedBenjamin Franzke1-3/+5
2012-03-31roi: Use GDK_KEY_<keyname> constantsBenjamin Franzke1-2/+4
2012-03-31roi: Further key mask cleanupBenjamin Franzke1-7/+4
2012-03-31roi: Cleanup types and line-break usagesBenjamin Franzke1-11/+5
2012-03-31roi: No need for GDK_KEY_PRESS_MASK currentlyBenjamin Franzke1-4/+1
2012-03-31roi: Remove some unneeded G_OBJECT castsBenjamin Franzke1-7/+7
2012-03-31roi: Fail if invalid or no image is givenBenjamin Franzke1-0/+4
2012-03-31roi: Move rubberband bounds check into do_roiBenjamin Franzke1-30/+31
2012-03-31roi: Use GDK_BUTTON_PRIMARY in button_releaseBenjamin Franzke1-4/+6
2012-03-31roi: Trivial reorder in draw_rubberbandBenjamin Franzke1-1/+2
2012-03-31roi: The configure-event is not yet neededBenjamin Franzke1-8/+0
2012-03-31roi: Remove key_press state from roi structBenjamin Franzke1-12/+6
2012-03-31roi: Make all functions staticBenjamin Franzke1-8/+8
2012-03-31roi: Schedule rubberband drawing to draw-handlerBenjamin Franzke1-79/+68
So that we get automatic double buffer handling.
2012-03-31roi: Use gtk_render_{frame,background} for rubberbandBenjamin Franzke1-23/+20
2012-03-31roi: Render only if selected width and height != 0Benjamin Franzke1-1/+3
2012-03-31roi: Use gtk3Benjamin Franzke2-13/+11
2012-03-30roi: Move to a gtk based selecton-interfaceBenjamin Franzke2-45/+254
2012-03-30Add simple roi-algorithmBenjamin Franzke2-2/+103
2012-03-24wimmel_gl: Use GL_BGRA_EXT in readpixelsBenjamin Franzke2-5/+21
That is the native format graphics cards use, so we reach a fastpath for the copy, which saves around 1s.
2012-03-21wimmel_gl: Use luminance texturesBenjamin Franzke2-28/+33
2012-03-21commands: Use a smaller scan areaBenjamin Franzke1-1/+1
Simply to be faster.
2012-03-20wimmel: Convert to calculation on monochrome imageBenjamin Franzke1-3/+21
2012-03-15wimmel: Also use tiff as output formatBenjamin Franzke1-1/+1
2012-03-15wimmel_gl: Reduce newlines in gl framebuffer callsBenjamin Franzke1-7/+3
2012-03-15wimmel_gl: Output as tiff imageBenjamin Franzke1-1/+1
Saves 0.5 seconds.
2012-03-15wimmel_gl: Use a GLES2 contextBenjamin Franzke2-22/+79
Makes it easier to check that only non-deprecated stuff is used.
2012-03-15wimmel_gl: Use byte-alignment for readpixelsBenjamin Franzke1-2/+1
2012-03-15wimmel_gl: Allow compilation with -DGLUTBenjamin Franzke2-17/+20
2012-03-15Makefile: Pass in 2 threads if /proc/cpuinfo can not be readBenjamin Franzke1-1/+1
2012-03-15Makefile: Add g_threads cflags/libsBenjamin Franzke1-2/+2
2012-03-15wimmel_gl: Use a second texture unit for search regionBenjamin Franzke2-8/+43
Speeds up calulation from ~11s to ~10s.
2012-03-15wimmel.frag: Rename search_rect to srectBenjamin Franzke2-8/+7
2012-03-15wimmel_gl: Use EGL instead of GLUT by defaultBenjamin Franzke2-28/+55
That way we can create a context and make it current without creating a window.
2012-03-14Revert "wimmel.frag: Discard fragment early if difference is to significant"Benjamin Franzke1-6/+3
This reverts commit 5bcbaab8ea90655c2496c8df029a9cb991dba0ce. This was 0.2seconds faster on r600g but 4 seconds slower on sandybridge.
2012-03-14wimmel.frag: Discard fragment early if difference is to significantBenjamin Franzke1-3/+6