Lines Matching refs:outputFormat
2061 const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) { in start() argument
2214 if (outputFormat != nullptr) { in start()
2334 (*buffers)->setFormat(outputFormat->dup()); in start()
2354 if (outputFormat->findInt32(KEY_CHANNEL_COUNT, &channelCount) in start()
2355 && outputFormat->findInt32(KEY_SAMPLE_RATE, &sampleRate)) { in start()
2358 if (!outputFormat->findInt32("encoder-delay", &delay)) { in start()
2361 if (!outputFormat->findInt32("encoder-padding", &padding)) { in start()
2521 std::unique_ptr<C2Work> work, const sp<AMessage> &outputFormat, in onWorkDone() argument
2524 if (handleWork(std::move(work), outputFormat, initData)) { in onWorkDone()
2548 const sp<AMessage> &outputFormat, in handleWork() argument
2631 if (outputFormat != nullptr) { in handleWork()
2634 mName, outputFormat->debugString().c_str()); in handleWork()
2635 (*buffers)->setFormat(outputFormat); in handleWork()
2638 if (outputFormat->findString(KEY_MIME, &mediaType) in handleWork()
2642 if (outputFormat->findInt32(KEY_CHANNEL_COUNT, &channelCount) in handleWork()
2643 && outputFormat->findInt32(KEY_SAMPLE_RATE, &sampleRate)) { in handleWork()