From 2a108292e07d4296b57daae50e177efe675f749c Mon Sep 17 00:00:00 2001 From: Consti10 Date: Mon, 29 Apr 2024 23:58:39 +0200 Subject: [PATCH] add all the x20 jam from fpvue --- .../linux/apps/hello_pi/hello_video/fpv_video0.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/host_applications/linux/apps/hello_pi/hello_video/fpv_video0.cpp b/host_applications/linux/apps/hello_pi/hello_video/fpv_video0.cpp index 201a1bade..4efffe20f 100644 --- a/host_applications/linux/apps/hello_pi/hello_video/fpv_video0.cpp +++ b/host_applications/linux/apps/hello_pi/hello_video/fpv_video0.cpp @@ -25,8 +25,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // Video deocode demo using OpenMAX IL though the ilcient helper library -//#include "nalu/parse_x20_util.h" -//#include "time_util.h" +#include "time_util.h" +#include "nalu/parse_x20_util.h" extern "C" { #include @@ -83,6 +83,8 @@ static void psc_callback(void *userdata, COMPONENT_T *comp, OMX_U32 data) { } } +uint64_t first_frame_ms=0; +bool air_unit_discovery_finished= false; static int video_decode_test(FILE* in,bool insert_eof) { OMX_VIDEO_PARAM_PORTFORMATTYPE format; OMX_TIME_CONFIG_CLOCKSTATETYPE cstate;