forked from intel/libyami
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
143 lines (96 loc) · 3.73 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
libyami
Yet Another Media Infrastructure.
It is YUMMY to your video experience on Linux like platform.
Yami is core building block for media solution. it parses video stream
and decodes them leverage hardware acceleration.
Copyright (c) 2010, The WebM Project authors.
Copyright (C) 2011-2016 Intel Corporation
Copyright (C) 2015-2016 Alibaba
License
-------
libyami libraries are available under the terms of the
Apache License 2.0
Overview
--------
libyami consists of several libraries:
* 'codecparsers': it is bit stream parser,
* 'common': common objects/operation to work with vaapi (hw acceleration interface)
* 'decoder': video decoder implementation
* 'encoder': video encoder implementation
* 'vpp': video post process implementation
Features
--------
* MPEG2, VC1, H.264, H.265, VP8, VP9, JPEG ad-hoc decoder
* H.264, H.265, VP8, VP9, JPEG ad-hoc encoder
* Sharpening, Denoise, Deinterlace, CSC and scaling
Requirements
------------
Hardware requirements
* Intel Sandybridge, Ivybridge, Haswell, Broadwell, Skylake, Kaby Lake(HD Graphics)
* Intel Baytrail, Braswell, Apollo Lake
Sources
-------
Git repository for work-in-progress changes is available at:
<https://github.com/01org/libyami>
Demos, Examples and Test Applications
---------------------------------------------------
The libyami-utils project provides various example, test and demo
applications that use libyami. For more details, please refer to
https://github.com/01org/libyami-utils
Simple api demo application
---------------------------
https://github.com/01org/libyami-utils/blob/master/examples/simpleplayer.cpp
Ffmpeg integration
--------------------------
You can refer to https://github.com/01org/ffmpeg_libyami for ffmpeg integration.
You can report ffmpeg related issue to https://github.com/01org/ffmpeg_libyami/issues
Build instructions
------------------
https://github.com/01org/libyami/wiki/Build
Docs
----
http://01org.github.io/libyami_doxygen/index.html
Testing
-------
Unit Tests
The gtest framework library <https://github.com/google/googletest> is required
in order to write and compile unit tests in libyami. The gtest project does
not recommend using a pre-compiled gtest package, unfortunately. So you will
need to compile the gtest library from source. The latest release can be
downloaded from the release archive at:
<https://github.com/google/googletest/releases>
The gtest documentation can be found in their source tree under `docs` (online
or in the downloaded source archive).
To build gtest you need:
cd ${GTEST_DIR}
autoreconf -v --install
./configure --disable-shared --enable-static
make
To enable the unit tests, when configuring libyami you need to specify:
--enable-gtest=${GTEST_DIR}
where ${GTEST_DIR} is the path to where you compiled the gtest library.
Contributing
------------
Create pull request at https://github.com/01org/libyami/compare
Code style
----------
https://github.com/01org/libyami/wiki/Coding-Style
Review process
--------------
Create pull requests at <https://github.com/01org/libyami/compare>
We highly recommend that unit tests accompany your contributed patches. See
"Testing" section above. However, we do understand that not everything can
be tested by a unit test. So use your best judgement to determine if a unit
test is appropriate for your contribution. The maintainer(s) reserve the
right to refuse submission's without unit tests, when reasonable, or if a
submission causes existing unit tests to regress.
Mail list
---------
Reporting Bugs
--------------
Bugs can be reported in the github system at:
<https://github.com/01org/libyami/issues/new>
FAQ
---
https://github.com/01org/libyami/wiki/FAQ