webrtc/modules/video_coding/codecs/test
Jiwon Jung 5a79d28eba Require 16x16 alignment when using HardwareVideoEncoder for encoding.
It seems the Android CTS tests only verify that 16x16 aligned resolutions
are supported.

This change checks the validity of input frame's size when initialing
or encoding processes are about to start using H/W MediaCodec.

This change has additional APIs to retrieve
|requested_resolution_alignment| and |apply_alignment_to_all_simulcast_layers|
from JAVA VideoEncoder class and its inherited classes. HardwareVideoEncoder
using MediaCodec has values of 16 and true for above variables.

Bug: webrtc:13089
Change-Id: I0c4ebf94eb36da29c2e384a3edf85b82e779b7f9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229460
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35169}
2021-10-08 13:15:12 +00:00
..
batch
android_codec_factory_helper.cc Format almost everything. 2019-07-08 13:45:15 +00:00
android_codec_factory_helper.h
encoded_video_frame_producer.cc In VP9 wrapper fill information required to produce Dependency Descriptor 2020-10-16 09:20:07 +00:00
encoded_video_frame_producer.h In VP9 wrapper fill information required to produce Dependency Descriptor 2020-10-16 09:20:07 +00:00
objc_codec_factory_helper.h
objc_codec_factory_helper.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
plot_webrtc_test_logs.py Reformat python files checked by pylint (part 1/2). 2020-10-30 10:13:11 +00:00
video_codec_unittest.cc Migrate software decoders to new VideoDecoder::Configure 2021-08-11 09:16:22 +00:00
video_codec_unittest.h Use backticks not vertical bars to denote variables in comments for /modules/video_coding 2021-08-09 15:26:22 +00:00
video_encoder_decoder_instantiation_tests.cc Migrate software decoders to new VideoDecoder::Configure 2021-08-11 09:16:22 +00:00
videocodec_test_fixture_config_unittest.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
videocodec_test_fixture_impl.cc Use backticks not vertical bars to denote variables in comments for /modules/video_coding 2021-08-09 15:26:22 +00:00
videocodec_test_fixture_impl.h Do not crash if codec is not available 2021-03-03 13:56:17 +00:00
videocodec_test_libaom.cc AV1: Use Default TX type for encoding 2021-03-23 17:19:27 +00:00
videocodec_test_libvpx.cc Re-enable ChangeFramerateVP8 & ChangeBitrateVP8 for Android and iOS 2021-06-29 09:56:12 +00:00
videocodec_test_mediacodec.cc Require 16x16 alignment when using HardwareVideoEncoder for encoding. 2021-10-08 13:15:12 +00:00
videocodec_test_openh264.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
videocodec_test_stats_impl.cc Calculate bitrate and frame rate mismatches in video codec tests 2021-08-17 10:33:08 +00:00
videocodec_test_stats_impl.h Use backticks not vertical bars to denote variables in comments for /modules/video_coding 2021-08-09 15:26:22 +00:00
videocodec_test_stats_impl_unittest.cc Change VideoCodecTestStats API. 2019-03-27 09:50:54 +00:00
videocodec_test_videotoolbox.cc Move h264_profile_level_id and vp9_profile to api/video_codecs 2021-04-20 09:42:05 +00:00
videoprocessor.cc Reland "Update remaining usage of VideoDecoder::InitDecode to Configure" 2021-08-18 15:58:40 +00:00
videoprocessor.h Use backticks not vertical bars to denote variables in comments for /modules/video_coding 2021-08-09 15:26:22 +00:00
videoprocessor_unittest.cc Reland "Update remaining usage of VideoDecoder::InitDecode to Configure" 2021-08-18 15:58:40 +00:00