
Plays MJPEG Video using the RGA. THe RGA allows resize of the JPEG file.
Dependencies: GR-PEACH_video GraphicsFramework LCD_shield_config R_BSP SDBlockDevice_GR_PEACH TLV320_RBSP USBHost_custom
Fork of RGA_HelloWorld by
Overview
This demo shows how play a MJPEG and WAV file video using the RZA1 hardware RGA, JCU and SSIF. The JCU decodes each MJPEG frame. The SSIF plays the raw WAV file, and the RGA supplies the GUI and resize of the JPEG image.
MJPEG Creation
Requirements
- Python 3.1
- FFMPEG https://ffmpeg.org/download.html
Python Script
SD Card
- Rename the jpg file to Renesas.jpg and audio file Renesas.wav
- Download this image file and rename is Background.jpg
Images/BinaryImage_RZ_A1H.h
- Committer:
- zkimike
- Date:
- 2018-01-17
- Revision:
- 13:0a5bd13f6e7f
- Parent:
- 5:52c36113e801
File content as of revision 13:0a5bd13f6e7f:
#ifndef BINARYIMAGE_RZ_A1H_H #define BINARYIMAGE_RZ_A1H_H #ifdef __cplusplus extern "C" { /* Start of C Symbol */ #endif extern const uint8_t RGA_Sample_BinaryImage[ 0x0004067FuL ]; #define Flower_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00000000 )) #define Landscape_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00006148 )) #define Landscape_wide_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0000AE68 )) #define TopScrn_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00010EF0 )) #define RetBtn_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00020BB8 )) #define decs_swipe_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00022580 )) #define decs_swipe_side_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x000242E0 )) #define animetion_timing_jpg_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00026E78 )) #define Crystal_png_ARGB8888 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0002AD00 )) #define Crystal_png_ARGB1555 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x000338A0 )) #define Crystal_png_ARGB4444 ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x00037E80 )) #define Crystal_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0003C460 )) #define CrystalDither_png_File ((const graphics_image_t*)( RGA_Sample_BinaryImage + 0x0003EE5C )) #ifdef __cplusplus } /* End of C Symbol */ #endif #endif /* BINARYIMAGE_RZ_A1H_H */