Home
last modified time | relevance | path

Searched refs:IOMX (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXNodeInstance.h61 status_t setPortMode(OMX_U32 port_index, IOMX::PortMode mode);
77 OMX_U32 portIndex, size_t size, IOMX::buffer_id *buffer,
145 IOMX::buffer_id mID;
151 KeyedVector<IOMX::buffer_id, OMX_BUFFERHEADERTYPE *> mBufferIDToBufferHeader;
152 KeyedVector<OMX_BUFFERHEADERTYPE *, IOMX::buffer_id> mBufferHeaderToBufferID;
155 IOMX::PortMode mPortMode[2];
188 void addActiveBuffer(OMX_U32 portIndex, IOMX::buffer_id id);
189 void removeActiveBuffer(OMX_U32 portIndex, IOMX::buffer_id id);
193 IOMX::buffer_id makeBufferID(OMX_BUFFERHEADERTYPE *bufferHeader);
194 OMX_BUFFERHEADERTYPE *findBufferHeader(IOMX::buffer_id buffer, OMX_U32 portIndex);
[all …]
DOMXUtils.h66 inline static const char *asString(IOMX::PortMode mode, const char *def = "??") {
69 case IOMX::kPortModePresetByteBuffer: return "PresetByteBuffer";
70 case IOMX::kPortModePresetANWBuffer: return "PresetANWBuffer";
71 case IOMX::kPortModePresetSecureBuffer: return "PresetSecureBuffer";
72 case IOMX::kPortModeDynamicANWBuffer: return "DynamicANWBuffer";
73 case IOMX::kPortModeDynamicNativeHandle:return "DynamicNativeHandle";
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h44 IOMX::buffer_id mBufferId;
50 IOMX::buffer_id bufferId,
60 const IOMX::buffer_id mBufferId;
108 void fillThisBuffer(IOMX::buffer_id bufferID);
115 void drainThisBuffer(IOMX::buffer_id bufferID, OMX_U32 omxFlags);
/frameworks/av/media/libstagefright/include/media/stagefright/
DOMXClient.h23 class IOMX; variable
33 sp<IOMX> interface();
36 sp<IOMX> mOMX;
DACodec.h174 IOMX::buffer_id mBufferID;
229 sp<IOMX> mOMX;
277 IOMX::PortMode mPortMode[2];
313 status_t setPortMode(int32_t portIndex, IOMX::PortMode mode);
330 return (mPortMode[kPortIndexOutput] == IOMX::kPortModeDynamicANWBuffer) && !mIsEncoder; in storingMetadataInDecodedBuffers()
334 return (mPortMode[kPortIndexOutput] == IOMX::kPortModePresetSecureBuffer) && mIsEncoder; in usingSecureBufferOnEncoderOutput()
338 uint32_t portIndex, IOMX::buffer_id bufferID,
/frameworks/av/include/media/
DIOMX.h50 class IOMX : public RefBase {
92 typedef IOMX::buffer_id buffer_id;
112 OMX_U32 port_index, IOMX::PortMode mode) = 0;
197 IOMX::buffer_id buffer;
202 IOMX::buffer_id buffer;
DIMediaPlayerService.h37 class IOMX; variable
/frameworks/av/media/libmedia/include/media/
DIOMX.h50 class IOMX : public RefBase {
92 typedef IOMX::buffer_id buffer_id;
112 OMX_U32 port_index, IOMX::PortMode mode) = 0;
197 IOMX::buffer_id buffer;
202 IOMX::buffer_id buffer;
DIMediaPlayerService.h37 class IOMX; variable
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmx.h49 using ::android::IOMX;
60 struct LWOmx : public IOMX {
63 status_t listNodes(List<IOMX::ComponentInfo>* list) override;
DConversion.h86 using ::android::IOMX;
799 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo()
816 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo()
906 inline PortMode toHardwarePortMode(IOMX::PortMode l) { in toHardwarePortMode()
917 inline IOMX::PortMode toIOMXPortMode(PortMode t) { in toIOMXPortMode()
918 return static_cast<IOMX::PortMode>(t); in toIOMXPortMode()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp373 mPortMode[0] = IOMX::kPortModePresetByteBuffer; in OMXNodeInstance()
374 mPortMode[1] = IOMX::kPortModePresetByteBuffer; in OMXNodeInstance()
692 status_t OMXNodeInstance::setPortMode(OMX_U32 portIndex, IOMX::PortMode mode) { in setPortMode()
713 case IOMX::kPortModeDynamicANWBuffer: in setPortMode()
735 case IOMX::kPortModeDynamicNativeHandle: in setPortMode()
751 case IOMX::kPortModePresetSecureBuffer: in setPortMode()
760 case IOMX::kPortModePresetANWBuffer: in setPortMode()
797 case IOMX::kPortModePresetByteBuffer: in setPortMode()
1086 OMX_U32 portIndex, const OMXBuffer &omxBuffer, IOMX::buffer_id *buffer) { in useBuffer()
1109 if (mPortMode[portIndex] != IOMX::kPortModeDynamicANWBuffer in useBuffer()
[all …]
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h42 IOMX::buffer_id mID;
90 sp<IOMX> mOMX;
DOMXHarness.cpp774 List<IOMX::ComponentInfo> componentInfos; in testAll()
778 for (List<IOMX::ComponentInfo>::iterator it = componentInfos.begin(); in testAll()
780 const IOMX::ComponentInfo &info = *it; in testAll()
/frameworks/av/media/libmedia/omx/1.0/
DWOmx.cpp40 status_t LWOmx::listNodes(List<IOMX::ComponentInfo>* list) { in listNodes()
50 list->end(), IOMX::ComponentInfo()); in listNodes()
DWOmxNode.cpp93 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
345 IOMX::buffer_id buffer; in allocateSecureBuffer()
362 IOMX::buffer_id buffer; in useBuffer()
/frameworks/av/media/libstagefright/omx/1.0/
DOmx.cpp55 std::list<::android::IOMX::ComponentInfo> list; in listNodes()
61 list.push_back(::android::IOMX::ComponentInfo()); in listNodes()
62 ::android::IOMX::ComponentInfo& info = list.back(); in listNodes()
DWOmxNode.cpp96 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
348 IOMX::buffer_id buffer; in allocateSecureBuffer()
365 IOMX::buffer_id buffer; in useBuffer()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h89 using ::android::IOMX;
535 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo()
552 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo()
642 inline PortMode toHardwarePortMode(IOMX::PortMode l) { in toHardwarePortMode()
653 inline IOMX::PortMode toIOMXPortMode(PortMode t) { in toIOMXPortMode()
654 return static_cast<IOMX::PortMode>(t); in toIOMXPortMode()
/frameworks/av/media/libstagefright/
DOMXClient.cpp66 sp<IOMX> OMXClient::interface() { in interface()
DACodecBufferChannel.cpp63 IOMX::buffer_id bufferId) { in findBufferId()
71 IOMX::buffer_id bufferId, in BufferInfo()
380 void ACodecBufferChannel::fillThisBuffer(IOMX::buffer_id bufferId) { in fillThisBuffer()
400 IOMX::buffer_id bufferId, in drainThisBuffer()
DACodec.cpp292 bool onOMXEmptyBufferDone(IOMX::buffer_id bufferID, int fenceFd);
295 IOMX::buffer_id bufferID,
596 mPortMode[kPortIndexInput] = IOMX::kPortModePresetByteBuffer; in ACodec()
597 mPortMode[kPortIndexOutput] = IOMX::kPortModePresetByteBuffer; in ACodec()
838 status_t ACodec::setPortMode(int32_t portIndex, IOMX::PortMode mode) { in setPortMode()
875 const IOMX::PortMode &mode = mPortMode[portIndex]; in allocateBuffersOnPort()
880 if (mode == IOMX::kPortModeDynamicANWBuffer) { in allocateBuffersOnPort()
882 } else if (mode == IOMX::kPortModeDynamicNativeHandle) { in allocateBuffersOnPort()
922 if (mode != IOMX::kPortModePresetSecureBuffer) { in allocateBuffersOnPort()
948 if (mode == IOMX::kPortModePresetSecureBuffer) { in allocateBuffersOnPort()
[all …]
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.h51 status_t setPortMode(OMX_U32 port_index, IOMX::PortMode mode) override;
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp261 uint32_t portIndex, IOMX::buffer_id bufferID, in findBufferByID()
512 IOMX::buffer_id bufferID; in onInputBufferFilled()
584 IOMX::buffer_id bufferID; in onOutputBufferDrained()
/frameworks/av/media/libmedia/
DIOMX.cpp156 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
413 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
608 IOMX::PortMode mode = (IOMX::PortMode) data.readInt32(); in onTransact()

12