Video Capture and Cross Compile

SEIE, Soochow University

Week 12, 2015-2016-1

Reports

Labs

9 reports. Continuously refine them.
/home/EE/go/labs

01 +++++++--
02 ++++++---
03 +++++++--
04 +++++++--
05 ++++++---
06 +++++++--
07 ++-------
08 ++-------
10 ++++++---
11 +++++++--
12 +++++++--
13 +++++++--
14 +++++----
15 +++++++--
16 +++++++--
18 +++++++--
19 +++++++--
20 +++++++--
21 +++++----
22 +++++++--
24 +++------
25 +++++++--
26 +++++++--
27 +++++----
28 +++++++--
29 +++++++--
30 ++-------
31 ++++++---

Posts

At least 13 posts. Better than better, more and more.
/home/EE/go/posts

01 +++++++------
02 +++++++------
03 +++++++------
04 +++++++------
05 +++++++------
06 +++++++------
07 ++-----------
08 -------------
10 +++++++------
11 +++++++------
12 +++++++------
13 +++++--------
14 -------------
15 +++++++------
16 +++++++------
18 +++++--------
19 ++++++-------
20 +++++++------
21 -------------
22 +++++++------
24 ++-----------
25 ++++++-------
26 +++++++------
27 ++++---------
28 +++++++------
29 +++++++------
30 ++++---------
31 ++++++-------

Project

  • Dec. 6 ~ Jan. 26. Print: Jan. 27
  • Collecting materials
  • Prepare your manuscript
  • Main body: 6~8+ pages
  • Temples is at /home/EE/go/project?
  • Appendixes named appendix??.md
  • References listed in references.bib
  • make PRINT=y for print-ready.

Image Capture

Video for Linux Two (V4L2)

V4l2 Framework
V4l2 Framework
User space flow
User space flow
Buffer queue swap
Buffer queue swap
Detailed process
Detailed process

References

  • Required packages: build-essential, git, libv4l-dev, libsdl2-image-dev
  • Optional: imagemagick, vlc

Dive in

$ git clone user@go.iee.io:/home/EE/go/v4l2grab
$ git log
$ git checkout ...

Embedded Development Toolchains

Native vs Cross toolchains
Native vs Cross toolchains
Native vs Cross toolchains
Native vs Cross toolchains
Native vs Cross toolchains
Native vs Cross toolchains
Native vs Cross toolchains
Native vs Cross toolchains

Showcase

file to show file type

arm-linux-gnueabihf-gcc

--sysroot=DIR option.

CROSS_COMPILE=arm-linux-gnueabihf-
CC = $(CROSS_COMPILE)gcc
ifdef SYSROOT
    CFLAGS += --sysroot=$(SYSROOT)
    LDFLAGS += --sysroot=$(SYSROOT)
endif