Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: third_party/libva/test/v4l_h264/README.txt

Issue 10375035: Add libva to chromium third_party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libva/test/v4l_h264/README.txt
diff --git a/third_party/libva/test/v4l_h264/README.txt b/third_party/libva/test/v4l_h264/README.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbb0f101539baf3efaed2ac47ba84c371e5af07f
--- /dev/null
+++ b/third_party/libva/test/v4l_h264/README.txt
@@ -0,0 +1,23 @@
+V4L-H264
+========
+The goal of the sample code is to demonstrate the H264 encoding and decoding capabilities of Intel GPU, Sandy Bridge and successor, using libva API under X11.
+
+Encoder part is based on http://cgit.freedesktop.org/libva/tree/test/encode/avcenc.c
+V4L-Capture part is based on http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html
+
+
+Running it locally: It's mandatory to start the `decode' first.
+./decode -> will wait for a connection
+./encode -> will try to open /dev/video0, configure it and stream it out
+
+Specifying the port, ip and video input parameters
+
+Window A (first):
+./decode -p 9999
+
+Window B (second):
+./encode -p 9999 -I 192.168.1.144 -d /dev/video0 -W 1280 -H 960
+
+For more info:
+./encode -?
+./decode -?

Powered by Google App Engine
This is Rietveld 408576698