Commit 9f98a02a authored by Sreerenj Balachandran's avatar Sreerenj Balachandran Committed by Víctor Manuel Jáquez Leal

FEI: Add test applications to showcase fei use case

test-fei-enc-out: A simple fei encoding application to output mv, mbcode and distortion
eg:
 ./test-fei-enc-out -i sample_320x240.nv12 -w 320 -h 240 -o out.264 -v mv.out -d out.dist -m out.mbcode -e 1

test-fei-enc-in: A simple fei encoding application for testing input fei buffers
eg:
./test-fei-enc-in -c h264 -o out.264 -e 4 -q 1 sample_i420.y4m

Fixme: Running test-fei-enc-in in PAK mode with mv and mbcode input buffers
       from saved files is still not working

People contributed:
            Wang, Yi <yi.a.wang@intel.com>
            Leilei <leilei.shang@intel.com>
            Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
            xiaominc <xiaomin.chen@intel.com>
            Li, Jing B <jing.b.li@intel.com>

https://bugzilla.gnome.org/show_bug.cgi?id=785712
https://bugzilla.gnome.org/show_bug.cgi?id=784667
parent 5750bd78
......@@ -14,6 +14,13 @@ noinst_PROGRAMS += \
$(NULL)
endif
if USE_H264_FEI_ENCODER
noinst_PROGRAMS += \
test-fei-enc-out \
test-fei-enc-in \
$(NULL)
endif
if USE_GLX
noinst_PROGRAMS += \
test-textures \
......@@ -136,6 +143,18 @@ test_textures_CFLAGS = $(TEST_CFLAGS)
test_textures_LDFLAGS = $(GST_VAAPI_LIBS)
test_textures_LDADD = libutils.la $(TEST_LIBS)
test_fei_enc_out_SOURCES = test-fei-enc-out.c ../gst/vaapi/gstvaapifeivideometa.h
test_fei_enc_out_CFLAGS = $(TEST_CFLAGS)
test_fei_enc_out_LDFLAGS = $(GST_VAAPI_LIBS)
test_fei_enc_out_LDADD = libutils.la $(TEST_LIBS)
test_fei_enc_in_sources_c = test-fei-enc-in.c ../gst/vaapi/gstvaapifeivideometa.h y4mreader.c
test_fei_enc_in_sources_h = y4mreader.h
test_fei_enc_in_SOURCES = $(test_fei_enc_in_sources_c)
test_fei_enc_in_CFLAGS = $(TEST_CFLAGS) $(GST_VIDEO_CFLAGS)
test_fei_enc_in_LDFLAGS = $(GST_VAAPI_LIBS)
test_fei_enc_in_LDADD = libutils.la $(TEST_LIBS) $(GST_VIDEO_LIBS)
simple_decoder_source_c = simple-decoder.c
simple_decoder_source_h =
simple_decoder_SOURCES = $(simple_decoder_source_c)
......
This diff is collapsed.
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