summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawin Vongmasa2017-09-29 06:56:39 -0500
committerPawin Vongmasa2017-09-29 06:56:39 -0500
commitcfc4b13b7b5ae748aee9bb2ed5f985fa4377b3a8 (patch)
tree37796f1419378769c55d002ee5d0c03f28eedc07 /media/omx/1.0
parentfa0d7a3b89e9d2588b9c19b908684c043f92641e (diff)
downloadplatform-hardware-interfaces-cfc4b13b7b5ae748aee9bb2ed5f985fa4377b3a8.tar.gz
platform-hardware-interfaces-cfc4b13b7b5ae748aee9bb2ed5f985fa4377b3a8.tar.xz
platform-hardware-interfaces-cfc4b13b7b5ae748aee9bb2ed5f985fa4377b3a8.zip
Revert "Port mode configuration test - II"
This reverts commit fa0d7a3b89e9d2588b9c19b908684c043f92641e. Change-Id: I1f907482f89aaff5f01be38a83f5aca997e20a8a
Diffstat (limited to 'media/omx/1.0')
-rw-r--r--media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp b/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
index 070dc4c1..6b012858 100644
--- a/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
+++ b/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp
@@ -853,20 +853,6 @@ TEST_F(VideoDecHidlTest, DecodeTest) {
853 status = setPortBufferSize(omxNode, kPortIndexInput, maxBytesCount); 853 status = setPortBufferSize(omxNode, kPortIndexInput, maxBytesCount);
854 ASSERT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); 854 ASSERT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK);
855 855
856 // Change the port modes arbitrarily at the start before finialising on the
857 // desired values.
858 PortMode dummyPM[] = {
859 PortMode::PRESET_BYTE_BUFFER, PortMode::PRESET_ANW_BUFFER,
860 PortMode::PRESET_SECURE_BUFFER, PortMode::DYNAMIC_ANW_BUFFER,
861 PortMode::DYNAMIC_NATIVE_HANDLE,
862 };
863 for (size_t k = 0; k < sizeof(dummyPM) / sizeof(dummyPM[0]); k++) {
864 // ports may or may not support these modes. These are not the final
865 // values. This init is done to test if causes any problems.
866 status = omxNode->setPortMode(kPortIndexInput, dummyPM[k]);
867 status = omxNode->setPortMode(kPortIndexOutput, dummyPM[k]);
868 }
869
870 // set port mode 856 // set port mode
871 portMode[0] = PortMode::PRESET_BYTE_BUFFER; 857 portMode[0] = PortMode::PRESET_BYTE_BUFFER;
872 portMode[1] = PortMode::DYNAMIC_ANW_BUFFER; 858 portMode[1] = PortMode::DYNAMIC_ANW_BUFFER;