Home
last modified time | relevance | path

Searched refs:IOMX (Results 1 – 25 of 27) 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/media/stagefright/
DOMXClient.h23 class IOMX; variable
33 sp<IOMX> interface();
36 sp<IOMX> mOMX;
DACodec.h202 IOMX::buffer_id mBufferID;
256 sp<IOMX> mOMX;
311 IOMX::PortMode mPortMode[2];
347 status_t setPortMode(int32_t portIndex, IOMX::PortMode mode);
368 return (mPortMode[kPortIndexOutput] == IOMX::kPortModeDynamicANWBuffer) && !mIsEncoder; in storingMetadataInDecodedBuffers()
372 return (mPortMode[kPortIndexOutput] == IOMX::kPortModePresetSecureBuffer) && mIsEncoder; in usingSecureBufferOnEncoderOutput()
376 uint32_t portIndex, IOMX::buffer_id bufferID,
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h45 IOMX::buffer_id mBufferId;
51 IOMX::buffer_id bufferId,
61 const IOMX::buffer_id mBufferId;
129 void fillThisBuffer(IOMX::buffer_id bufferID);
136 void drainThisBuffer(IOMX::buffer_id bufferID, OMX_U32 omxFlags);
/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.h85 using ::android::IOMX;
813 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo()
830 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo()
920 inline PortMode toHardwarePortMode(IOMX::PortMode l) { in toHardwarePortMode()
931 inline IOMX::PortMode toIOMXPortMode(PortMode t) { in toIOMXPortMode()
932 return static_cast<IOMX::PortMode>(t); in toIOMXPortMode()
DWOmxNode.h76 OMX_U32 port_index, IOMX::PortMode mode) override;
/frameworks/av/media/libmedia/include/media/
DIOMX.h58 class IOMX : public RefBase {
100 typedef IOMX::buffer_id buffer_id;
120 OMX_U32 port_index, IOMX::PortMode mode) = 0;
205 IOMX::buffer_id buffer;
210 IOMX::buffer_id buffer;
DIMediaPlayerService.h40 class IOMX; variable
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp469 mPortMode[0] = IOMX::kPortModePresetByteBuffer; in OMXNodeInstance()
470 mPortMode[1] = IOMX::kPortModePresetByteBuffer; in OMXNodeInstance()
823 status_t OMXNodeInstance::setPortMode(OMX_U32 portIndex, IOMX::PortMode mode) { in setPortMode()
844 case IOMX::kPortModeDynamicANWBuffer: in setPortMode()
866 case IOMX::kPortModeDynamicNativeHandle: in setPortMode()
882 case IOMX::kPortModePresetSecureBuffer: in setPortMode()
891 case IOMX::kPortModePresetANWBuffer: in setPortMode()
928 case IOMX::kPortModePresetByteBuffer: in setPortMode()
1217 OMX_U32 portIndex, const OMXBuffer &omxBuffer, IOMX::buffer_id *buffer) { in useBuffer()
1240 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.cpp785 List<IOMX::ComponentInfo> componentInfos; in testAll()
789 for (List<IOMX::ComponentInfo>::iterator it = componentInfos.begin(); in testAll()
791 const IOMX::ComponentInfo &info = *it; in testAll()
/frameworks/av/media/libmedia/omx/1.0/
DWOmx.cpp39 status_t LWOmx::listNodes(List<IOMX::ComponentInfo>* list) { in listNodes()
49 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.h88 using ::android::IOMX;
542 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo()
559 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo()
649 inline PortMode toHardwarePortMode(IOMX::PortMode l) { in toHardwarePortMode()
660 inline IOMX::PortMode toIOMXPortMode(PortMode t) { in toIOMXPortMode()
661 return static_cast<IOMX::PortMode>(t); in toIOMXPortMode()
DWOmxNode.h77 OMX_U32 port_index, IOMX::PortMode mode) override;
/frameworks/av/media/libstagefright/
DOMXClient.cpp66 sp<IOMX> OMXClient::interface() { in interface()
DACodec.cpp319 bool onOMXEmptyBufferDone(IOMX::buffer_id bufferID, int fenceFd);
322 IOMX::buffer_id bufferID,
630 mPortMode[kPortIndexInput] = IOMX::kPortModePresetByteBuffer; in ACodec()
631 mPortMode[kPortIndexOutput] = IOMX::kPortModePresetByteBuffer; in ACodec()
875 status_t ACodec::setPortMode(int32_t portIndex, IOMX::PortMode mode) { in setPortMode()
912 const IOMX::PortMode &mode = mPortMode[portIndex]; in allocateBuffersOnPort()
917 if (mode == IOMX::kPortModeDynamicANWBuffer) { in allocateBuffersOnPort()
919 } else if (mode == IOMX::kPortModeDynamicNativeHandle) { in allocateBuffersOnPort()
959 if (mode != IOMX::kPortModePresetSecureBuffer) { in allocateBuffersOnPort()
985 if (mode == IOMX::kPortModePresetSecureBuffer) { in allocateBuffersOnPort()
[all …]
DACodecBufferChannel.cpp71 IOMX::buffer_id bufferId) { in findBufferId()
79 IOMX::buffer_id bufferId, in BufferInfo()
609 void ACodecBufferChannel::fillThisBuffer(IOMX::buffer_id bufferId) { in fillThisBuffer()
629 IOMX::buffer_id bufferId, in drainThisBuffer()
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.h50 status_t setPortMode(OMX_U32 port_index, IOMX::PortMode mode) override;
DC2OMXNode.cpp159 status_t C2OMXNode::setPortMode(OMX_U32 portIndex, IOMX::PortMode mode) { in setPortMode()
/frameworks/av/media/libmedia/
DIOMX.cpp155 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
412 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
607 IOMX::PortMode mode = (IOMX::PortMode) data.readInt32(); in onTransact()

12