blob: 5b04b3f9444c920f2704956971095aa6e943d549 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <stdio.h>
#include "example3orc.h"
#define N 10
unsigned char input_y[640*480];
unsigned char input_u[320*240];
unsigned char input_v[320*240];
unsigned int output[640*480];
int
main (int argc, char *argv[])
{
/* Call a function that uses Orc */
convert_I420_AYUV (output, 1280*4, output + 640, 1280 * 4,
input_y, 1280, input_y + 640, 1280,
input_u, 320, input_v, 320,
320, 240);
return 0;
}
|