Commit graph

55 commits

Author SHA1 Message Date
Julien Moutte
72e3851f87 ext/directfb/Makefile.am: Add the example application.
Original commit message from CVS:
2005-11-06  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/Makefile.am: Add the example application.
* ext/directfb/dfb-example.c: (get_me_out), (main):
Here is an example application that runs videotestsrc for 20
seconds. It's included in the documentation.
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_enum_layers),
(gst_dfbvideosink_setup),
(gst_dfbvideosink_can_blit_from_format),
(gst_dfbvideosink_getcaps), (gst_dfbvideosink_buffer_alloc):
More fixes, calculate new size of the buffer when renegotiating.
This completely breaks ffmpegcolorspace but i need to discuss
that with Wim on monday. Add documentation.
2005-11-05 23:36:20 +00:00
Julien Moutte
0adb034b32 ext/directfb/dfbvideosink.c: Make acceleration detection work, better, add safety checks and ARGB support for cards t...
Original commit message from CVS:
2005-11-05  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_enum_layers),
(gst_dfbvideosink_setup),
(gst_dfbvideosink_can_blit_from_format),
(gst_dfbvideosink_getcaps): Make acceleration detection work,
better, add safety checks and ARGB support for cards that
support it.
2005-11-05 19:55:12 +00:00
Julien Moutte
478c8ba299 ext/directfb/dfbvideosink.*: Now does clipping when surface is too small, handles upstream elements that are not call...
Original commit message from CVS:
2005-11-04  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/dfbvideosink.c:
(gst_dfbvideosink_surface_create),
(gst_dfbvideosink_surface_destroy),
(gst_dfbvideosink_get_best_vmode), (gst_dfbvideosink_getcaps),
(gst_dfbvideosink_center_rect), (gst_dfbvideosink_show_frame),
(gst_dfbvideosink_buffer_alloc):
* ext/directfb/dfbvideosink.h: Now does clipping when surface
is too small, handles upstream elements that are not calling
gst_pad_alloc_buffer, fixes a lot of bugs.
2005-11-04 18:28:56 +00:00
Julien Moutte
da12a5ed8d ext/directfb/Makefile.am: Prepare for liboil usage.
Original commit message from CVS:
2005-11-03  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/Makefile.am: Prepare for liboil usage.
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_show_frame),
(gst_dfbvideosink_buffer_alloc):  Prepare for liboil, handle
rendering in external surface correctly. Will commit a neat
example soon.
2005-11-03 22:36:42 +00:00
Julien Moutte
d99ae29b78 Complete rewrite/port of
Original commit message from CVS:
2005-11-02  Julien MOUTTE  <julien@moutte.net>

* configure.ac:
* ext/Makefile.am:
* ext/directfb/Makefile.am:
* ext/directfb/dfbvideosink.c:
(gst_dfbvideosink_get_format_name),
(gst_dfbvideosink_surface_create),
(gst_dfbvideosink_surface_destroy),
(gst_dfbvideosink_event_thread), (gst_dfbvideosink_enum_layers),
(gst_dfbvideosink_enum_vmodes), (gst_dfbvideosink_enum_devices),
(gst_dfbvideosink_setup), (gst_dfbvideosink_cleanup),
(gst_dfbvideosink_get_format_from_caps),
(gst_dfbvideosink_get_caps_from_format),
(gst_dfbvideosink_can_blit_from_format),
(gst_dfbvideosink_get_best_vmode), (gst_dfbvideosink_getcaps),
(gst_dfbvideosink_setcaps), (gst_dfbvideosink_change_state),
(gst_dfbvideosink_get_times), (gst_dfbvideosink_center_rect),
(gst_dfbvideosink_show_frame),
(gst_dfbvideosink_bufferpool_clear),
(gst_dfbvideosink_buffer_alloc), (gst_dfbsurface_finalize),
(gst_dfbsurface_init), (gst_dfbsurface_class_init),
(gst_dfbsurface_get_type),
(gst_dfbvideosink_interface_supported),
(gst_dfbvideosink_interface_init),
(gst_dfbvideosink_navigation_send_event),
(gst_dfbvideosink_navigation_init),
(gst_dfbvideosink_set_property),
(gst_dfbvideosink_get_property),
(gst_dfbvideosink_init), (gst_dfbvideosink_base_init),
(gst_dfbvideosink_class_init), (gst_dfbvideosink_get_type),
(plugin_init):
* ext/directfb/dfbvideosink.h:
* ext/directfb/directfbvideosink.c:
* ext/directfb/directfbvideosink.h: Complete rewrite/port of
DirectFB video sink to 0.9. Handles reverse negotiation,
hardware
scaling, navigation, buffer allocation from video memory etc...
2005-11-02 12:43:03 +00:00