Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecUnitTest.cpp158 struct formatKey { struct
164 void setUpDefaultFormatElementsList(std::vector<formatKey*>& vec, bool isAudio, bool isEncoder) { in setUpDefaultFormatElementsList() argument
166 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_AUDIO_AAC, -1}); in setUpDefaultFormatElementsList()
167 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_SAMPLE_RATE, nullptr, 16000}); in setUpDefaultFormatElementsList()
168 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_CHANNEL_COUNT, nullptr, 1}); in setUpDefaultFormatElementsList()
170 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_BIT_RATE, nullptr, 64000}); in setUpDefaultFormatElementsList()
173 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_MIME, AMEDIA_MIMETYPE_VIDEO_AVC, -1}); in setUpDefaultFormatElementsList()
174 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_WIDTH, nullptr, 176}); in setUpDefaultFormatElementsList()
175 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_HEIGHT, nullptr, 144}); in setUpDefaultFormatElementsList()
177 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_FRAME_RATE, nullptr, 24}); in setUpDefaultFormatElementsList()
[all …]