Skip to content

Commit

Permalink
firmware: image_encode: Fix that works for both buffers and tunnelling.
Browse files Browse the repository at this point in the history
See: http://forum.xbmc.org/showthread.php?tid=176043&pid=1673527#pid1673527

firmware: video_decode: Allow ts fifo to be forced off with avoid_fix_ts=2
See: http://forum.xbmc.org/showthread.php?tid=148646&pid=1674875#pid1674875

userland: tvservice: Enhance callback mechanism
See: raspberrypi/userland#162
  • Loading branch information
Dom Cobley committed Apr 7, 2014
1 parent 408bebd commit 3ade415
Show file tree
Hide file tree
Showing 35 changed files with 27 additions and 3 deletions.
Binary file modified boot/fixup.dat
Binary file not shown.
Binary file modified boot/fixup_x.dat
Binary file not shown.
Binary file modified boot/kernel.img
Binary file not shown.
Binary file modified boot/start.elf
Binary file not shown.
Binary file modified boot/start_cd.elf
Binary file not shown.
Binary file modified boot/start_x.elf
Binary file not shown.
2 changes: 1 addition & 1 deletion extra/uname_string
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 3.10.36+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #662 PREEMPT Fri Apr 4 18:31:16 BST 2014
Linux version 3.10.36+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #664 PREEMPT Mon Apr 7 14:01:14 BST 2014
Binary file modified hardfp/opt/vc/bin/raspistill
Binary file not shown.
Binary file modified hardfp/opt/vc/bin/raspivid
Binary file not shown.
Binary file modified hardfp/opt/vc/bin/raspiyuv
Binary file not shown.
Binary file modified hardfp/opt/vc/bin/tvservice
Binary file not shown.
12 changes: 12 additions & 0 deletions hardfp/opt/vc/include/interface/vmcs_host/vc_tvservice.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@ VCHPRE_ void vc_tv_register_callback(TVSERVICE_CALLBACK_T callback, void *callba
*/
VCHPRE_ void vc_tv_unregister_callback(TVSERVICE_CALLBACK_T callback);

/**
* <DFN>vc_tv_unregister_callback</DNF> removes a function registered with
* <DFN>vc_tv_register_callback</DNF> from the list of callbacks.
* In contrast to vc_tv_unregister_callback this one matches not only the
* function pointer but also the data pointer before removal.
*
* @param callback function
*
* @return void
*/
VCHPRE_ void vc_tv_unregister_callback_full(TVSERVICE_CALLBACK_T callback, void *callback_data);

/**
* In the following API any functions applying to HDMI only will have hdmi_
* in the name, ditto for SDTV only will have sdtv_ in the name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define TVSERVICE_CLIENT_NAME MAKE_FOURCC("TVSV")
#define TVSERVICE_NOTIFY_NAME MAKE_FOURCC("TVNT")

#define TVSERVICE_MAX_CALLBACKS 2
#define TVSERVICE_MAX_CALLBACKS 5

//TV service commands
typedef enum {
Expand Down
Binary file modified hardfp/opt/vc/lib/libEGL_static.a
Binary file not shown.
Binary file modified hardfp/opt/vc/lib/libGLESv2_static.a
Binary file not shown.
Binary file modified hardfp/opt/vc/lib/libbcm_host.so
Binary file not shown.
Binary file modified hardfp/opt/vc/lib/libkhrn_client.a
Binary file not shown.
Binary file modified hardfp/opt/vc/lib/libkhrn_static.a
Binary file not shown.
Binary file modified hardfp/opt/vc/lib/libvcfiled_check.a
Binary file not shown.
Binary file modified hardfp/opt/vc/lib/libvchostif.a
Binary file not shown.
Binary file modified hardfp/opt/vc/lib/libvmcs_rpc_client.a
Binary file not shown.
Binary file modified opt/vc/bin/raspistill
Binary file not shown.
Binary file modified opt/vc/bin/raspivid
Binary file not shown.
Binary file modified opt/vc/bin/raspiyuv
Binary file not shown.
Binary file modified opt/vc/bin/tvservice
Binary file not shown.
12 changes: 12 additions & 0 deletions opt/vc/include/interface/vmcs_host/vc_tvservice.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@ VCHPRE_ void vc_tv_register_callback(TVSERVICE_CALLBACK_T callback, void *callba
*/
VCHPRE_ void vc_tv_unregister_callback(TVSERVICE_CALLBACK_T callback);

/**
* <DFN>vc_tv_unregister_callback</DNF> removes a function registered with
* <DFN>vc_tv_register_callback</DNF> from the list of callbacks.
* In contrast to vc_tv_unregister_callback this one matches not only the
* function pointer but also the data pointer before removal.
*
* @param callback function
*
* @return void
*/
VCHPRE_ void vc_tv_unregister_callback_full(TVSERVICE_CALLBACK_T callback, void *callback_data);

/**
* In the following API any functions applying to HDMI only will have hdmi_
* in the name, ditto for SDTV only will have sdtv_ in the name,
Expand Down
2 changes: 1 addition & 1 deletion opt/vc/include/interface/vmcs_host/vc_tvservice_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define TVSERVICE_CLIENT_NAME MAKE_FOURCC("TVSV")
#define TVSERVICE_NOTIFY_NAME MAKE_FOURCC("TVNT")

#define TVSERVICE_MAX_CALLBACKS 2
#define TVSERVICE_MAX_CALLBACKS 5

//TV service commands
typedef enum {
Expand Down
Binary file modified opt/vc/lib/libEGL_static.a
Binary file not shown.
Binary file modified opt/vc/lib/libGLESv2_static.a
Binary file not shown.
Binary file modified opt/vc/lib/libbcm_host.so
Binary file not shown.
Binary file modified opt/vc/lib/libkhrn_client.a
Binary file not shown.
Binary file modified opt/vc/lib/libkhrn_static.a
Binary file not shown.
Binary file modified opt/vc/lib/libvcfiled_check.a
Binary file not shown.
Binary file modified opt/vc/lib/libvchostif.a
Binary file not shown.
Binary file modified opt/vc/lib/libvmcs_rpc_client.a
Binary file not shown.

0 comments on commit 3ade415

Please sign in to comment.