on MacOS X. Video is displayed using Kona3 output now.)
Capture/sending and receving/display are being executed separately in multiple
threads (there are still some performance issues when both sending and
receiving the video using a single UltraGrid instance though). Revised UltraGrid initialization.
Fixed bug while probing for AJA Kona3. Ultragrid was trying to display the
video using kona module even in case that non Kona3 video output component was
detected.
sdk3.2.0.0/development/src/driver/Makefile
and
sdk3.2.0.0/development/src_sdio/driver/Makefile
are modified. Rest of the sdk3.2.0.0 is original from the tarball distributed by DVS.
issues on MacOS X.
DXT display stil fails on MiniMac with Intel GPU and Tiger installed.
463 dxt_bind_texture(s);
(gdb)
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00000000 in ?? ()
(gdb) quit
Ultragrid fails on glActiveTexture(GL_TEXTURE0); which is the first thing done while binding textures.
(Ultragrid was compiled without optimizations and with debug info enabled, so this ?? is really confusing me)
I'll give it one more try on MiniMac with Leopard.
I'm probably still not handling the glViewport and gluPerspective completely correctly for all display resolutions.
Basically it works fine for 1920x1200 and 1920x1080. There might be slightly cropped image or strange aspect ratio issues on lower resolutions.
Cleanup. Got rid of lots of warnings during compilation and some deprecated calls especially on MacOS X.
Changed code tested on both Mac OS X and Linux.
stuff I realized that 10 bit capture in quicktime couldn't work because
respective gworld was initialized to 2vuy. I just didn't know what that
quicktime gworld initialization stuff means exactly at the time of adapting the
quictktime capture code.
Not tested yet.
Added 2 fields -> progressive frame conversion for 10 bit video.
Above all demystified the ImageDescriptionHandle structure and corrected its usage.
Corrected a comment on ICMFrameTimeRecord usage.
to set the goddamned (include some name-calling here) DecompressSequence thing in quicktime at least for one
mode.
10 bit video is still garbled.
Displaying is a little bit slower than expected. We are doing like 27fps right now.
moved some stuff from display_kona_probe to display_kona init so that ultragrid is
not reporting on kona when probing all displays
Sill playing with DecompressSequenceBeginS and DecompressSequenceFrameS
- DecompressSequenceFrameS returns codecNothingToBlitErr
platform_sem_init
platform_sem_post
platform_sem_wait
with parameters identical to those on Linux.
Changed code in video_display/* and Makefile.in accordingly. The only thing left is some
workaround for sem_getvalue on Mac. I have some ideas how to do that (as seen in SDL implementation and
comming from the discussion with Jirka Matela). Unfortunately both are not thread safe.
Some cleaning in rtp_callback.c
- Makefile should create the bin directory for the linker
src/main.c
- #ifndef X_DISPLAY_MISSING added prior to the SDL events handling as this
cannot be linked without src/video_display/sdl.c which is not compiled without X
headers
src/video_display/xv.c
- removed TCL/TK relicts. I'm just wondering how come that this didn't emerge
earlier. This needs to be tested yet.
test/test_video_display.c
- we don't need to test ui functionality as it is not there
Thanks to Ali Asad Lotia for bug reporting.
- FastDXT compiles and links well on Mac now
- configure.in and Makefile.in
- final linking of ultragrid depends on OS
- ultragrid can be compiled and linked with SDL and OpenGL frameworks and with GLEW and FastDXT on Mac
- main.c
- added -p parameter which means progressive frame is being sent or displayed (for sending and receiving video acquired from blackmagic)
- more parametrization based on bitdepth choice
- 8b should work even for grabbing from DVS Centaurus
- video_compress.c
- dxt compressed video sending works on Mac now
- video_capture/quicktime.c
- cleanup
- video_display/sdl.c
- completely ported to Mac but quite slow now
- understands -b 8|10 and -p parameters
- video_display/gl_sdl.c
- ported to Mac but not working now
- video_display/dxt.c
- ported to Mac but untested