Lines Matching refs:formatKey
158 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()
178 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_I_FRAME_INTERVAL, nullptr, 1}); in setUpDefaultFormatElementsList()
179 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_BIT_RATE, nullptr, 256000}); in setUpDefaultFormatElementsList()
180 vec.push_back(new formatKey{AMEDIAFORMAT_KEY_COLOR_FORMAT, nullptr, in setUpDefaultFormatElementsList()
186 void deleteDefaultFormatElementsList(std::vector<formatKey*>& vector) { in deleteDefaultFormatElementsList()
190 AMediaFormat* getSampleFormat(std::vector<formatKey*> vector, int skipIndex) { in getSampleFormat()
194 formatKey* element = vector.at(i); in getSampleFormat()
212 std::vector<formatKey*> vector; in testConfigureCodecForIncompleteFormat()