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
--enable-fastdxt
(--disable-hdstation and --disable-fastdxt should work as well for configure)
ifdef HAVE_FASTDXT is currently missing in the very code
deleted some commented out TCL variable
gl_sdl.c:
attempt to make gl_sdl work with any resolution and to add the splash screen as
in sdl
partly broken now:
- aspect ratio of the video is not maintained and is set to the aspect ratio
given by the screen resolution
- splash screen displayed as a scaled texture looks very weird ;)