Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/tests/
DWebmFrameThreadUnitTest.cpp60 } kInputData[] = { variable
145 ASSERT_LT(index, sizeof(kInputData) / sizeof(kInputData[0])) in addTrack()
149 format->setString("mime", kInputData[index].mime); in addTrack()
151 format->setInt32("width", kInputData[index].firstParam); in addTrack()
152 format->setInt32("height", kInputData[index].secondParam); in addTrack()
154 format->setInt32("sample-rate", kInputData[index].firstParam); in addTrack()
155 format->setInt32("channel-count", kInputData[index].secondParam); in addTrack()
156 ASSERT_NO_FATAL_FAILURE(writeAudioHeaderData(format, kInputData[index].mime)); in addTrack()
178 isAudio = kInputData[index].isAudio; in createWebmThreads()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp85 } kInputData[] = { variable
288 int32_t inputDataSize = sizeof(kInputData) / sizeof(kInputData[0]); in getFileProperties()
291 if (inputId == kInputData[inputIdx].inpId) { in getFileProperties()
298 inputFile += kInputData[inputIdx].inputFile; in getFileProperties()
299 configParam.mime = kInputData[inputIdx].mime; in getFileProperties()
303 configParam.sampleRate = kInputData[inputIdx].firstParam; in getFileProperties()
304 configParam.channelCount = kInputData[inputIdx].secondParam; in getFileProperties()
306 configParam.width = kInputData[inputIdx].firstParam; in getFileProperties()
307 configParam.height = kInputData[inputIdx].secondParam; in getFileProperties()
309 configParam.profile = kInputData[inputIdx].profile; in getFileProperties()
[all …]
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp86 } kInputData[] = { variable
305 int32_t inputDataSize = sizeof(kInputData) / sizeof(kInputData[0]); in getFileDetails()
308 if (inpId == kInputData[streamIndex].inpId) { in getFileDetails()
315 inputFilePath += kInputData[streamIndex].inputFile; in getFileDetails()
316 info += kInputData[streamIndex].info; in getFileDetails()
317 strcpy(params.mime, kInputData[streamIndex].mime); in getFileDetails()
318 isAudio = kInputData[streamIndex].isAudio; in getFileDetails()
320 params.sampleRate = kInputData[streamIndex].firstParam; in getFileDetails()
321 params.channelCount = kInputData[streamIndex].secondParam; in getFileDetails()
323 params.width = kInputData[streamIndex].firstParam; in getFileDetails()
[all …]