vpx/test
Marco f8639b1554 vp9: Skip encoding of enhancement layers on the fly.
For SVC: if an enhancement layer (spatial_layer > 0)
has 0 bandwidth, skip/drop the encoding of the layer.
This allows the application to dynamically disable
higher layers for SVC.

Add flag to signal the skip encoding, this is needed
to modify the packing of the superframe when the top
layer is skipped/dropped.

Also moved some updates (current_video_frame counter and
the last_avg_frame_bandwidth) to the postencode_update_drop_frame().

Added datarate unittest for dynamically going from 3 to 2
and then back to 3 spatial layers.

Change-Id: Idaccdb4aca25ba1d822ed1b4219f94e2e8640d43
2018-01-11 10:38:30 -08:00
..
android test,Android.mk: export gtest include path 2017-09-01 19:44:12 -07:00
acm_random.h testing: ranges for random values 2017-06-30 07:25:30 -07:00
active_map_refresh_test.cc test: apply clang-tidy google-readability-braces-around-statements 2016-08-05 20:02:28 -07:00
active_map_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
add_noise_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
alt_ref_aq_segment_test.cc Add --alt-ref-aq=<int> option 2016-08-24 15:49:25 -07:00
altref_test.cc altref test: comment out 'pass' 2016-09-15 17:45:47 -07:00
aq_segment_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
avg_test.cc vpx: [x86] add vpx_satd_avx2() 2017-11-10 12:24:12 -08:00
blockiness_test.cc test: apply clang-tidy google-readability-braces-around-statements 2016-08-05 20:02:28 -07:00
borders_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
buffer.h test/buffer.h: move range checking to compiler 2017-07-05 11:21:18 -07:00
byte_alignment_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
clear_system_state.h test: apply clang-format 2016-07-27 01:58:52 +00:00
codec_factory.h vp9_bitstream: Encode tiles in parallel 2016-10-21 17:35:03 -07:00
comp_avg_pred_test.cc buffer.h: allow declaring an alignment 2017-06-09 11:03:15 -07:00
config_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
consistency_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
convolve_test.cc mips msa optimize vpx_scaled_2d function 2017-11-29 13:27:04 +05:30
cpu_speed_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
cq_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
cx_set_ref.sh Make set_reference control API work in VP9 2016-07-01 17:58:02 -07:00
datarate_test.cc vp9: Skip encoding of enhancement layers on the fly. 2018-01-11 10:38:30 -08:00
dct16x16_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
dct32x32_test.cc ppc: Add vpx_idct32x32_1024_add_vsx 2017-09-30 19:31:20 +00:00
dct_partial_test.cc dct_partial_test: cover vpx_fdct8x8_1_msa in hbd 2017-07-05 13:01:41 -07:00
dct_test.cc Add vp9_highbd_iht4x4_16_add_sse4_1() 2018-01-08 10:14:20 -08:00
decode_api_test.cc VPX_CODEC_CAP_HIGHBITDEPTH for decoder interface 2017-02-28 17:10:34 -08:00
decode_perf_test.cc *_perf_test.cc: correct DoDecode signature 2016-08-05 20:21:02 -07:00
decode_svc_test.cc vp9-svc: Add unittest for svc-decoding. 2016-11-05 01:29:51 +00:00
decode_test_driver.cc apply clang-format 2017-09-01 01:24:03 -07:00
decode_test_driver.h test/decode_test_driver: rm unused deadline member 2016-08-04 23:36:53 -07:00
decode_to_md5.sh decode_to_md5.sh: fix local md5 variable assignment 2014-07-30 10:50:01 -07:00
decode_with_drops.sh sh tests: Add support for running tested programs within another program. 2014-07-10 15:32:01 -07:00
encode_api_test.cc Fix image width alignment. Enable ImageSizeSetting test. 2017-09-28 11:25:24 -07:00
encode_perf_test.cc *_perf_test.cc: correct DoDecode signature 2016-08-05 20:21:02 -07:00
encode_test_driver.cc vp9-svc: Add layer bitrate targeting to SVC datarate tests. 2017-12-19 19:48:47 -08:00
encode_test_driver.h vp9-svc: Add layer bitrate targeting to SVC datarate tests. 2017-12-19 19:48:47 -08:00
error_resilience_test.cc Add compiler warning flag -Wextra and fix related warnings. 2016-09-27 12:05:01 -07:00
examples.sh stress.sh: Runs multiple libvpx encodes and decodes in parallel 2016-11-16 06:59:26 -08:00
external_frame_buffer_test.cc vp9: Fix mem rel for non-ref for external buffer. 2017-11-09 15:47:21 -08:00
fdct8x8_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
frame_size_tests.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
hadamard_test.cc vpx: hadamard: use ptrdiff_t instead of int for stride 2017-10-26 11:41:48 -07:00
i420_video_source.h test: apply clang-format 2016-07-27 01:58:52 +00:00
idct8x8_test.cc test: apply clang-tidy google-readability-braces-around-statements 2016-08-05 20:02:28 -07:00
idct_test.cc vp8: [loongson] optimize idctllm with mmi 2017-09-14 16:51:11 +08:00
invalid_file_test.cc fix signed integer overflow of idct 2017-09-27 11:17:54 -07:00
ivf_video_source.h apply clang-format 2017-09-01 01:24:03 -07:00
keyframe_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
level_test.cc VP9 level targeting: add a new AUTO mode 2017-09-14 16:20:29 +00:00
lpf_test.cc lpf_test: correct threshold ranges 2017-12-18 23:17:45 -08:00
md5_helper.h test: apply clang-format 2016-07-27 01:58:52 +00:00
minmax_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
partial_idct_test.cc Add vpx_highbd_idct32x32_{34, 135, 1024}_add_{sse2, sse4_1} 2017-08-14 17:05:22 -07:00
postproc.sh sh tests: Add support for running tested programs within another program. 2014-07-10 15:32:01 -07:00
pp_filter_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
predict_test.cc vp8: [loongson] optimize sixtap predict with mmi 2017-09-02 19:08:20 +00:00
quantize_test.cc vp8: [loongson] optimize quantize with mmi 2017-10-11 16:45:58 +08:00
realtime_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
register_state_check.h apply clang-format 2017-09-01 01:24:03 -07:00
resize_test.cc Add frame width & height to frame pkt. Add test. 2017-12-06 13:55:18 -08:00
resize_util.sh sh tests: Add support for running tested programs within another program. 2014-07-10 15:32:01 -07:00
sad_test.cc Support building AVX-512 and implement sadx4 for AVX-512 2017-11-03 13:37:23 -04:00
set_maps.sh Add basic tests for the set_maps example. 2014-08-18 15:40:46 -07:00
set_roi.cc vp8: Enable use of ROI map. 2017-10-17 15:23:03 -07:00
simple_decoder.sh sh tests: Add support for running tested programs within another program. 2014-07-10 15:32:01 -07:00
simple_encoder.sh simple_encoder: Add a frame limit argument. 2016-05-11 14:52:34 -07:00
stress.sh stress.sh: add vp9_stress_test_row_mt 2017-02-28 15:09:30 -08:00
sum_squares_test.cc Add mips msa sum_squares_2d_i16 function 2017-01-31 12:22:43 +00:00
superframe_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
svc_test.cc svc_test: fix two warnings 2016-11-28 12:53:39 -08:00
temporal_filter_test.cc temporal filter test: adjust inputs and runtime 2017-08-14 17:24:11 +00:00
test_intra_pred_speed.cc vpxdsp: [x86] add highbd_d135_predictor functions 2017-09-29 08:56:38 -07:00
test_libvpx.cc Support building AVX-512 and implement sadx4 for AVX-512 2017-11-03 13:37:23 -04:00
test_vector_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
test_vectors.cc vp9: Add nonref frame buffer test. 2017-11-08 18:41:33 -08:00
test_vectors.h vp9-svc: Add unittest for svc-decoding. 2016-11-05 01:29:51 +00:00
test-data.mk vp9: Add nonref frame buffer test. 2017-11-08 18:41:33 -08:00
test-data.sha1 vp9: Add nonref frame buffer test. 2017-11-08 18:41:33 -08:00
test.mk Add ScaleFrameTest 2017-09-06 15:54:58 -07:00
tile_independence_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
tools_common.sh vpxenc.sh: Add basic vp9 multithread encode test. 2015-06-23 18:30:52 -07:00
twopass_encoder.sh fix 'make exampletest' w/CONFIG_REALTIME_ONLY 2017-07-13 10:47:20 -07:00
user_priv_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
util.h test: apply clang-tidy google-readability-braces-around-statements 2016-08-05 20:02:28 -07:00
variance_test.cc Optimize AVX2 get16x16var and get32x16var functions 2017-11-17 13:55:49 -05:00
video_source.h avoid redefining WIN32_LEAN_AND_MEAN 2016-11-22 15:15:53 -08:00
vp8_boolcoder_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
vp8_decrypt_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
vp8_denoiser_sse2_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
vp8_fdct4x4_test.cc vp8: [loongson] optimize dct with mmi 2017-10-12 08:50:04 +08:00
vp8_fragments_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
vp8_multi_resolution_encoder.sh test/vp8_multi_resolution_encoder.sh: Add missing devnull redirect. 2014-08-28 10:49:33 -07:00
vp9_arf_freq_test.cc test: apply clang-tidy google-readability-braces-around-statements 2016-08-05 20:02:28 -07:00
vp9_block_error_test.cc consolidate block_error functions 2017-02-24 05:25:26 +00:00
vp9_boolcoder_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
vp9_decrypt_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
vp9_denoiser_test.cc vp9: Neon optimization for denoiser. Add unit tests. 2017-05-05 16:40:52 -07:00
vp9_encoder_parms_get_to_decoder.cc vp9: remove FrameWorkerData & vp9_dthread.h 2017-07-05 22:32:00 -07:00
vp9_end_to_end_test.cc tests: use scoped_ptr for local video source vars 2016-08-08 14:43:14 -07:00
vp9_ethread_test.cc vp9_ethread_test: abort early/add more detailed output 2017-10-05 15:02:51 -07:00
vp9_intrapred_test.cc vpxdsp: [x86] add highbd_d135_predictor functions 2017-09-29 08:56:38 -07:00
vp9_lossless_test.cc test: apply clang-format 2016-07-27 01:58:52 +00:00
vp9_motion_vector_test.cc VP9 motion vector unit test 2017-04-06 00:50:56 +00:00
vp9_quantize_test.cc Add vp9_quantize_fp_nz_c() -- 2 2017-12-21 15:26:36 -08:00
vp9_scale_test.cc Update vp9_scale_and_extend_frame_ssse3() 2017-10-04 12:32:30 -07:00
vp9_skip_loopfilter_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
vp9_spatial_svc_encoder.sh vp9_spatial_svc_encoder.sh: fix command line param 2015-11-05 15:22:39 -08:00
vp9_subtract_test.cc vpx_dsp:loongson optimize vpx_subtract_block_c (case 4x4,8x8,16x16) with mmi. 2017-08-18 09:06:49 +08:00
vp9_thread_test.cc apply clang-format 2017-09-01 01:24:03 -07:00
vpx_scale_test.cc Add 2 to 1 scaling NEON optimization 2017-09-07 12:33:50 -07:00
vpx_scale_test.h Test extreme inputs in frame scale functions 2017-10-11 11:35:19 -07:00
vpx_temporal_svc_encoder.sh Fix vp8 race when build --enable-vp9-highbitdepth. 2017-05-26 09:45:01 -07:00
vpxdec.sh vpxdec.sh: fix vp9_webm_less_than_50_frames w/valgrind 2015-04-08 11:45:04 -07:00
vpxenc.sh fix 'make exampletest' w/CONFIG_REALTIME_ONLY 2017-07-13 10:47:20 -07:00
webm_video_source.h apply clang-format 2017-09-01 01:24:03 -07:00
y4m_test.cc y4m_test: init members in the constructor 2016-08-08 14:27:34 -07:00
y4m_video_source.h apply clang-format 2017-09-01 01:24:03 -07:00
yuv_video_source.h apply clang-format 2017-09-01 01:24:03 -07:00