This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Driver Caps: | |
| Driver: "omap3" | |
| Card: "omap3/mt9v032//" | |
| Bus: "" | |
| Version: 0.0 | |
| Capabilities: 04000001 | |
| Camera Cropping: | |
| Bounds: 752x480+0+0 | |
| Default: 752x480+0+0 | |
| Aspect: 1/1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // From https://raw.githubusercontent.com/ahmedammar/imx-testing-apps-misc/master/libvpu_encode.c | |
| include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <fcntl.h> /* fcntl */ | |
| #include <sys/mman.h> /* mmap */ | |
| #include <sys/ioctl.h> /* fopen/fread */ | |
| #include "vpu_io.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<string.h> | |
| #include<net/if.h> | |
| #include<arpa/inet.h> | |
| #include<linux/sockios.h> | |
| int main(int argc,char **argv) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <gst/gst.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| static GstElement * | |
| get_element_by_name (GstElement *pipeline, gchar *name) | |
| { | |
| GstElement *element = gst_bin_get_by_name (GST_BIN (pipeline), name); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| C socket server example, handles multiple clients using threads | |
| Compile | |
| gcc server.c -lpthread -o server | |
| */ | |
| #include<stdio.h> | |
| #include<string.h> //strlen | |
| #include<stdlib.h> //strlen | |
| #include<sys/socket.h> |