Commit Graph

314 Commits

Author SHA1 Message Date
xant eebc1f3316 build settings 2010-12-05 23:05:03 +01:00
xant 39560882d2 typo + new release-build 2010-12-05 22:39:01 +01:00
xant 623ee5c124 Parameters have been moved from the Filter to the Instance
so now they don't overlap when using multiple instances of the same filter
2010-08-25 10:51:07 +02:00
xant 7bb8948137 removed an unnecesary accessor 2010-08-25 09:02:30 +02:00
xant e7a427f541 don't try to open empty file/stream URLs 2010-08-25 09:01:28 +02:00
xant 60ec86c556 removed some more dead code
+ minor cleanings along the way
2010-08-09 22:20:02 +02:00
xant 5157c0acc8 massive cleanup and bugfixes after recent refactoring of cocoa-related internals 2010-08-08 23:19:54 +02:00
xant ce3dea689e release the underlying grabber when the controller is disposed 2010-08-08 16:15:44 +02:00
xant 79882b5e54 fixed some issues with the range of possible values on CIFilter parameters
the CVCocoaLayer api has been also cleaned a bit and the CVGrabber has been
refuck^H^H^Hactored as well
2010-08-08 16:11:30 +02:00
xant be5e36506f allow to remove filters by using controls in the FilterPanel 2010-08-08 12:16:13 +02:00
xant 741f719eb8 removed references to unexisting files 2010-08-08 11:33:11 +02:00
xant 778c54b50a deadlock!! 2010-08-08 11:14:53 +02:00
xant 9c55001997 ensure releasing resources when destroyed 2010-08-08 11:14:22 +02:00
xant c5e187ff19 CVGeoLayer doesn't subclass CVLayer
(but it subclasses CVGeoLayer and still needs to re-implement part of CVLayer)
2010-08-07 12:14:30 +02:00
xant d91403901e ensure calling the base feed() implementation (again) 2010-08-07 12:01:19 +02:00
xant 1571cf3e91 restore sliders to actual values when hooking a layer 2010-08-07 11:50:00 +02:00
xant 3c1eb21a85 ensure calling the base feed() implementation 2010-08-07 11:28:24 +02:00
xant a96d10b3e3 use Plugins in local project dir if found 2010-08-07 11:07:58 +02:00
xant 4ed4328c52 NSTabViewDelegate is an informal protocol on OSX < 10.6 2010-08-07 10:42:09 +02:00
xant 09c76607f4 still unused/deprecated methods 2010-08-07 10:39:43 +02:00
xant 1d163f9720 deprecated method 2010-08-07 10:38:33 +02:00
xant 123724ff36 removed unused methods 2010-08-07 10:37:40 +02:00
xant afbb423745 restored the xcode project (tested on xcode4) 2010-08-07 10:35:09 +02:00
xant ffddbd0b64 refactoring the internal CVLayerController api
- the video-pipeline in cocoa layers now goes through Layer::feed() and Layer::do_filters()
- image parameters are applied by the layer controller when a new frame is provided
  by the underlying CVLayer through feedFrame
2010-08-07 00:54:00 +02:00
xant f6f52ef3b5 major refactoring of filters implementation on OSX (WIP) 2010-07-31 06:20:34 +02:00
xant 19b6f8e924 implementing CVFilters and changing code to make use of them 2010-06-16 08:25:03 +02:00
xant 2a520b4e84 CVFilter are now properly created and applied
but can't be controlled from the gui (yet)
2010-06-14 23:21:38 +02:00
xant fa51e2706d minor cleanings 2010-06-14 23:21:32 +02:00
xant e47cde7b60 leftovers 2010-06-14 22:11:11 +02:00
xant 5fe8e2ea64 Refactoring filter implementation on osx
- moving filter-related code out of the layercontroller
  by creating a Filter subclass : CVFilter
- making coreimage filters available to javascript when running on osx

Note : this is a work in progress and implementation is still unfinished
       (coreimage filters won't work in this revision)
2010-06-14 22:04:40 +02:00
xant 5aaa74ae32 ensure updating the textview in the mainthread
(for the sake of safeness)
2010-06-14 21:55:59 +02:00
xant da2063755b there is no need of a lock in that routine ...
it's a runloop in a separate thread ..
and it won't never exit the loop until the program ends
2010-06-14 18:06:13 +02:00
xant 70c8381699 FilterInstance can (and should) now be used through the Factory 2010-05-23 14:51:46 +02:00
xant f10ff95818 layer ordering is now controllable again through the listview
+ minor cleanings

Conflicts:

	xcode/CVScreenView.mm
2010-05-22 11:55:34 +02:00
xant 3b8869d60c ported last jaromil's changes to the new Filter implementation.
(also civilized the code a bit)
2010-05-22 11:39:59 +02:00
xant 0380e83394 Merge branch 'filter_refactoring' into trunk
Conflicts:
	src/filter_js.cpp
	src/include/filter.h
2010-05-22 11:32:22 +02:00
xant f05ea9df4d getTexture now returns an autoreleased object. Callers will retain it if necessary
refactoring the feedFrame/renderFrame/getTexture flow to make a more
clever use of memory and autorelease pools

started implementing CVFilter

(on the way of having CoreImage filters usable from javascript)
2010-05-22 11:11:23 +02:00
xant 267513a82c minor cleanings
(dead code)
2010-05-20 21:45:46 +02:00
xant b92958d44b empty files (but already included in the project) 2010-05-17 21:05:57 +02:00
xant 760bb90a50 refactoring the internal Filter implementation
changes don't affect the javascript api
2010-05-17 21:01:02 +02:00
Jaromil 5630ac2be6 removed old magnification code
obsoleted since long, it cleans up the Screen api

eventually we might want to have more screens
with magnification in future, algos like those
found in Mame, h2x and such
2010-05-08 22:05:08 +02:00
xant b79276388e no need to output a black frame anymore 2010-05-03 08:46:50 +02:00
xant 2a55d5b8a6 minor cleanings 2010-05-02 22:06:51 +02:00
xant 065bfc238f core-image filters can now be applied to geolayers created from javascripts
any subclass of CVCocoaLayer with a controller associated to it can now
be controlled through the filterpanel.
The filter panel for a specific layer can now be opened by
double-clicking on the layer name in the listview.

a bit of refactoring in CVFilterPanel/CVLayerView/CVLayerController
has been done to allow viewless layers to be created and eventually
controlled through a filterpanel
2010-05-02 16:54:06 +02:00
xant 1cca034a66 include cairo in the osx build 2010-05-02 11:53:04 +02:00
xant 3f2017aec6 fixed some minor leaks
filters are now initialized on first use
2010-05-02 00:42:25 +02:00
xant 77d0408784 CVGeoLayer (+ all necessary refactoring and fixes to make it possible) 2010-04-29 14:24:46 +02:00
xant db62dfe2fb more cleanings
I'm leaving calls to JS_SetContextThread() and JS_ClearContextThread
commented-out because we still need to carefully check what's going to
be called asynchrounosly from different threads
(I'll remove superfluous onse later on)
2010-04-25 21:55:39 +02:00
xant f247d44914 extra checks + ensure setting the default geometry for a CVLayer
when creating it in the QTLayerController
2010-04-25 00:13:34 +02:00
xant e276da4ed8 minor fixes and cleanings
the most serious fix here was to flag the cocoa keyboardcontroller as
indestructible, to avoid crashes when loading a new script after a reset()
(the keyboardcontroller was destroyed while still used as a singleton,
 so the new script was referencing a dead instance)
2010-04-24 23:51:43 +02:00