Home
last modified time | relevance | path

Searched refs:maxInputSize (Results 1 – 2 of 2) sorted by relevance

/hardware/google/av/media/sfplugin/tests/
DMediaCodec_sanity_test.cpp123 int32_t maxInputSize; in TEST_P() local
124 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
126 EXPECT_EQ(maxInputSize, InputSize); in TEST_P()
128 EXPECT_GE(maxInputSize, 1 << 20); // 1 MB in TEST_P()
135 EXPECT_GE(buf->size(), (size_t)maxInputSize); in TEST_P()
136 EXPECT_LE(buf->size(), (size_t)maxInputSize + 4096u); in TEST_P()
152 int32_t maxInputSize; in TEST_P() local
153 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P()
155 EXPECT_EQ(maxInputSize, InputSize); in TEST_P()
157 EXPECT_GE(maxInputSize, 1 << 20); // 1 MB in TEST_P()
[all …]
/hardware/google/av/media/sfplugin/
DCCodec.cpp792 C2StreamMaxBufferSizeInfo::input maxInputSize(0u, 0u); in configure() local
797 { &usage, &maxInputSize }, in configure()
823 if (maxInputSize.value == 0) { in configure()
825 maxInputSize.value = encoder ? 16384 : 4096; in configure()
827 maxInputSize.value = 1048576u; in configure()
832 if ((config->mDomain & Config::IS_DECODER) && maxInputSize.value > 0) { in configure()
835 if (csd && csd->size() > maxInputSize.value) { in configure()
836 maxInputSize.value = csd->size(); in configure()
845 if ((uint32_t)clientInputSize < maxInputSize.value) { in configure()
848 "recommendation.", clientInputSize, maxInputSize.value); in configure()
[all …]