Commit Graph

97 Commits

Author SHA1 Message Date
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
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
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
760bb90a50 refactoring the internal Filter implementation
changes don't affect the javascript api
2010-05-17 21:01:02 +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
5fbe923cab each script now has its own JSRuntime
various cleanings and fixes while introducing the new
JSExecutionContext internal class (used by the JsParser to
rapresent the execution context of a script).

various fixes and cleanings here and there but more are still needed ...
and at some stage I'd like
to get rid of most of the macros in our internal javascript
abstraction in favour of a more solid api... but first we needed
the internal javascript engine to work properly and allow loading
multiple scripts without having their global context to collide.
We are there now ... but most of the old code needs to be refactored
to take advantage of the new approach ( many js objects still make use
of the global_context/global_object hold by the JsParser)
2010-04-24 10:01:09 +02:00
xant
681d84dc1e extending the Controller API
KbdController is now a singleton as well  and is able to propagate
keystrokes to multiple listeners

generalizing the ControllerListener API
(must still get rid of the 'frame()' method in favour of the more
generic 'call()' one)
2010-04-24 01:00:07 +02:00
xant
99cbdaa6fb fixing jsapi to be thread-safe and to make use of multiple contextes
TriggerController is now a singleton (KbdController is going to become a
singleton as well)

the same script can now be loaded multiple times , globals won't collide
anymore since each script will have its own context
(but still running in the same jsruntime)

using JS_MaybeGC() to try garbage-collecting as soon as necessary
2010-04-22 23:49:52 +02:00
xant
66b58445ff add parameter_js to the project
cleanings to the streamer settings panel
2010-04-06 23:57:48 +02:00
xant
51254bf7c9 some more changes to the gui
fixed a small bug in CVF0rLayerController (no need to stop the layer if
we are going to delete it)
2010-03-30 21:55:34 +02:00
xant
6271b3f833 cleanings + fixed a bug in CVF0rLayer 2010-03-30 15:28:52 +02:00
xant
ee78078676 some minor fixes in QtLayer and continued with the GUI refactoring 2010-03-30 12:03:40 +02:00
xant
ac23213c12 leftover 2010-03-29 23:46:44 +02:00
xant
bd85e4aa0f some more cleanings and started rearranging the GUI (WIP) 2010-03-28 21:33:41 +02:00
xant
f580718856 importing exporter implementation from flowmixer 2010-03-27 22:56:17 +01:00
xant
c1ae6dbf43 renaming CVFFmpegInput* to CVFFmpegLayer* (for consistency) 2010-03-27 21:26:48 +01:00
xant
ae89e42783 cleaning still in progress .... 2010-03-27 11:55:50 +01:00
xant
9bae5da52e icon for the textlayer (finally) 2010-03-27 00:52:53 +01:00
xant
9e995e1030 cleaning up started (but is still in progress) 2010-03-26 23:47:45 +01:00
Robin Gareus
d3f301c2c5 changed DMG build-script to roll i386&PPC freej packages. 2010-03-25 15:59:18 +01:00
xant
bef6fc424c - got rid of the 'annoying' flowmixer rebrand
- merged some local changes (avoid using deprecated APIs)
- the xcode project has been civilized
  (stuff was messed up a bit by the flowmixer branch and new files were in
  weird locations)

NOTE:
this is still a work in progress and all functionalities still need
testing. Something could have been messed up by mergin my local changes
with flowmixer branch
2010-03-23 23:06:03 +01:00
Robin Gareus
8ad9307240 renamed encoder_example -> oggenc 2010-03-22 21:31:59 +01:00
Robin Gareus
6ea28b8b5c disabled FreeFrame and latest xcode-project. 2010-03-17 21:21:42 +01:00
Robin Gareus
48fea8be36 build i386 & ppc for now. 2010-03-05 01:52:51 +01:00
Robin Gareus
0c9af1aba5 somewhat crippled (Quicktime) 64bit build. 2010-03-05 01:30:26 +01:00
Robin Gareus
64f229ee46 fixed some compiler warnings, preparing tactell 2010-03-04 22:59:42 +01:00
Robin Gareus
bfbfc0ccd6 linz hacks. 2010-03-03 11:16:01 +01:00
Robin Gareus
74be1601d7 fixed new encoder! 2010-02-28 19:49:59 +01:00
Robin Gareus
fe249c36a2 re-branded as Flowmixer! 2010-02-28 19:39:31 +01:00
Robin Gareus
e6e0a32f72 YUV debugging.. 2010-02-28 14:28:54 +01:00
Robin Gareus
bd8f8a2c02 Linz. 2010-02-28 03:42:46 +01:00
Robin Gareus
e263067352 removed debug msgs.. 2010-02-27 22:42:32 +01:00
Robin Gareus
c9f0fd6151 getting there.. - stream input works.. 2010-02-27 05:02:08 +01:00
Robin Gareus
7c2af7741c cleaned up a bit.. 2010-02-26 19:48:31 +01:00
Robin Gareus
d38d59b738 basic functionality -> now clean up. 2010-02-26 19:23:15 +01:00
Robin Gareus
45e90b9bf6 started w/ Collider/FFmpeg souce layer. 2010-02-24 04:46:23 +01:00
Robin Gareus
4b219f6ff0 build multi-arch 2010-02-23 20:40:11 +01:00
Robin Gareus
cc6b8bef49 prepared streamer 2010-02-23 12:11:33 +01:00
Robin Gareus
9271ec92f7 test test test 2010-02-22 18:38:36 +01:00
xant
2533402df5 don't draw the text box background if not requested
(still need to add controls on the gui to allow using the background
 but it's better with a transparent background by default)
2010-01-05 12:06:38 +01:00
xant
ec5d0400f0 controller/view split for the CVTextLayer
it was already done , but both the controller and the view were still
residing in the same sourcefile
2009-12-30 09:23:56 +01:00
xant
6a515a39d7 Changes to osx project to build after last changes.
including some pending changes I had on my local repository
(all osx-related)
2009-12-29 22:19:23 +01:00
Xant
65d337fb3e Increase the build number only when in 'Release' configuration
'NewApplication' => 'Freej' in the application menu
2009-09-13 18:35:54 +02:00
Xant
8171c4a748 version and build numbers have been integrated in the 'about' window 2009-09-13 18:10:45 +02:00
Xant
49c48deecc start handling an auto_incrementing build number 2009-09-13 17:40:45 +02:00
Xant
d53f107512 fix the project to allow editing the load section on 'Release' binary.
minimal cleanings along the way ... layers are now added accessing the
screen instead of using the deprecated method Context::add_layer()
2009-09-13 04:10:50 +02:00
Xant
4d881b97a8 ops 2009-09-11 23:40:33 +02:00