Commit 0b8b9764 authored by Zhou Chang's avatar Zhou Chang Committed by Xiang, Haihao

test/encode/avcenc: a simple encoder based on VA API for H.264

Usage:
avcenc <width> <height> <input file> <output file> [qp]
Singed-off-by: default avatarZhou Chang <chang.zhou@intel.com>
Singed-off-by: default avatarLan Hai <hai.lan@intel.com>
Signed-off-by: default avatarXiang, Haihao <haihao.xiang@intel.com>
parent 54d2648b
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
bin_PROGRAMS = h264encode bin_PROGRAMS = h264encode avcenc
AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11 AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11
...@@ -29,6 +29,8 @@ TEST_LIBS = $(top_builddir)/va/$(libvabackendlib) ...@@ -29,6 +29,8 @@ TEST_LIBS = $(top_builddir)/va/$(libvabackendlib)
h264encode_LDADD = $(TEST_LIBS) h264encode_LDADD = $(TEST_LIBS)
h264encode_SOURCES = h264encode.c h264encode_SOURCES = h264encode.c
avcenc_LDADD= $(TEST_LIBS)
avcenc_SOURCES= avcenc.c
valgrind: $(bin_PROGRAMS) valgrind: $(bin_PROGRAMS)
for a in $(bin_PROGRAMS); do \ for a in $(bin_PROGRAMS); do \
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment