diff options
author | Yunqing Wang <yunqingwang@google.com> | 2016-07-01 17:58:02 -0700 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2016-07-01 17:58:02 -0700 |
commit | 0a075cb39ca839d84d4806930f031342c4d8553d (patch) | |
tree | f92fd48b6124b3d4b14b1d09b973d5b72cfbd771 /examples.mk | |
parent | f5a15f270a99a03e1c92d8b002390a4d96b09014 (diff) | |
download | libvpx-0a075cb39ca839d84d4806930f031342c4d8553d.tar libvpx-0a075cb39ca839d84d4806930f031342c4d8553d.tar.gz libvpx-0a075cb39ca839d84d4806930f031342c4d8553d.tar.bz2 libvpx-0a075cb39ca839d84d4806930f031342c4d8553d.zip |
Make set_reference control API work in VP9
Moved the API patch from NextGenv2. An example was included.
To try it, for example, run the following command:
$ examples/vpx_cx_set_ref vp9 352 288 in.yuv out.ivf 4 30
Change-Id: I4cf8f23b86d7ebd85ffd2630dcfbd799c0b88101
Diffstat (limited to 'examples.mk')
-rw-r--r-- | examples.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples.mk b/examples.mk index c891a5496..78f8fa85b 100644 --- a/examples.mk +++ b/examples.mk @@ -215,6 +215,17 @@ vp8cx_set_ref.SRCS += vpx_ports/msvc.h vp8cx_set_ref.GUID = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A vp8cx_set_ref.DESCRIPTION = VP8 set encoder reference frame +ifeq ($(CONFIG_VP9_ENCODER),yes) +ifeq ($(CONFIG_DECODERS),yes) +EXAMPLES-yes += vpx_cx_set_ref.c +vpx_cx_set_ref.SRCS += ivfenc.h ivfenc.c +vpx_cx_set_ref.SRCS += tools_common.h tools_common.c +vpx_cx_set_ref.SRCS += video_common.h +vpx_cx_set_ref.SRCS += video_writer.h video_writer.c +vpx_cx_set_ref.GUID = 65D7F14A-2EE6-4293-B958-AB5107A03B55 +vpx_cx_set_ref.DESCRIPTION = VP9 set encoder reference frame +endif +endif ifeq ($(CONFIG_MULTI_RES_ENCODING),yes) ifeq ($(CONFIG_LIBYUV),yes) |