Searched refs:kPortIndexInput (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp616 mIsEncoder ? kPortIndexInput : kPortIndexOutput,
651 setRawAudioFormat(kPortIndexInput, sampleRate, numChannels);
670 setMinBufferSize(kPortIndexInput, (OMX_U32)maxInputSize);
726 if ((portIndex == kPortIndexInput && (mQuirks & kInputBufferSizesAreBogus))
740 if (portIndex == kPortIndexInput
844 return isColorFormatSupported(*colorFormat, kPortIndexInput);
921 kPortIndexInput, OMX_VIDEO_CodingUnused,
925 def.nPortIndex = kPortIndexInput;
1313 kPortIndexInput, compressionFormat, OMX_COLOR_FormatUnused);
1364 def.nPortIndex = kPortIndexInput;
[all...]
H A DACodec.cpp533 mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false;
631 if (mPortEOS[kPortIndexInput] && !mPortEOS[kPortIndexOutput] &&
655 if (mBuffers[kPortIndexInput].size() == 0) {
765 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
800 if (portIndex == kPortIndexInput && type >= kMetadataBufferTypeGrallocSource) {
802 } else if (portIndex == kPortIndexInput && type == kMetadataBufferTypeCameraSource) {
809 portIndex == kPortIndexInput ? "input" : "output");
826 (portIndex == kPortIndexInput)
830 if ((portIndex == kPortIndexInput && (mFlags & kFlagIsSecure))
1235 CHECK(portIndex == kPortIndexInput || portInde
[all...]
H A DMediaCodec.cpp798 msg->setInt32("portIndex", kPortIndexInput);
808 msg->setInt32("portIndex", kPortIndexInput);
836 return getBufferAndFormat(kPortIndexInput, index, buffer, &format);
866 if (portIndex == kPortIndexInput && mCrypto != NULL) {
926 ssize_t index = dequeuePortBuffer(kPortIndexInput);
1242 portIndex == kPortIndexInput ? "input" : "output");
1244 CHECK(portIndex == kPortIndexInput
1261 if (portIndex == kPortIndexInput && mCrypto != NULL) {
1276 if (portIndex == kPortIndexInput && mCrypto != NULL) {
1365 /* size_t index = */updateBuffers(kPortIndexInput, ms
[all...]
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp229 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
230 const bool isInput = portIndex == kPortIndexInput;
304 if (mPortEOS[kPortIndexInput]) {
378 if (mPortEOS[kPortIndexInput]) {
382 for (size_t i = 0; i < mBuffers[kPortIndexInput].size(); ++i) {
383 BufferInfo *info = &mBuffers[kPortIndexInput].editItemAt(i);
558 allocateBuffersOnPort(kPortIndexInput);
569 mPortEOS[kPortIndexInput] = false;
581 BufferInfo *info = findBufferByID(kPortIndexInput, bufferID);
640 mPortEOS[kPortIndexInput]
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp40 static const OMX_U32 kPortIndexInput = 0; variable
86 mInputBuffersWithCodec.size(), mNumPortBuffers[kPortIndexInput], \
180 case kPortIndexInput: return "Input";
520 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) {
689 if (bufferSource != NULL && portIndex == kPortIndexInput) {
813 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) {
1000 if (bufferSource != NULL && portIndex == kPortIndexInput) {
1040 if (bufferSource != NULL && portIndex == kPortIndexInput) {
1114 if (mMetadataType[kPortIndexInput] == kMetadataBufferTypeGrallocSource
1153 mDebugLevelBumpPendingBuffers[kPortIndexInput]
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaFilter.h111 kPortIndexInput = 0, enumerator in enum:android::MediaFilter::__anon74
H A DMediaCodec.h198 kPortIndexInput = 0, enumerator in enum:android::MediaCodec::__anon68
H A DOMXCodec.h146 kPortIndexInput = 0, enumerator in enum:android::OMXCodec::__anon79
H A DACodec.h138 kPortIndexInput = 0, enumerator in enum:android::ACodec::__anon59

Completed in 3464 milliseconds