User manual
Page | 88
height=(int)480
/GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.
GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY,
framerate=(fraction)30000/1001, width=(int)720,
height=(int)480
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
A video clip will be played on the LCD screen.
Note:
For the details of DVSDK, please visit TI’s website or view
TMS320DM3730_Software_Developers_Guide.pdf under
X:\linux\demo\dvsdk\source\ (where X is the label of your DVD drive).
By default, the system supports a 4.3” screen. If you require another display
size, please refer to 3.7 Display Mode Configuration.
3.9 Development of Applications
This section will introduce the common process of application development
through an LED example application.
1. Compose the source code led_acc.c to instruct the three LEDs
on the SBC8140 to blink in the mode of an accumulator;
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#define LED1 “/sys/class/leds/led1/brightness”
#define LED2 “/sys/class/leds/led2/brightness”
#define LED3 “/sys/class/leds/led3/brightness”