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.h173 IOMX::buffer_id mBufferID;
228 sp<IOMX> mOMX;
274 IOMX::PortMode mPortMode[2];
309 status_t setPortMode(int32_t portIndex, IOMX::PortMode mode);
326 return (mPortMode[kPortIndexOutput] == IOMX::kPortModeDynamicANWBuffer) && !mIsEncoder; in storingMetadataInDecodedBuffers()
330 return (mPortMode[kPortIndexOutput] == IOMX::kPortModePresetSecureBuffer) && mIsEncoder; in usingSecureBufferOnEncoderOutput()
334 uint32_t portIndex, IOMX::buffer_id bufferID,
/frameworks/av/media/libmedia/include/media/
DIOMX.h50 class IOMX : public IInterface {
93 typedef IOMX::buffer_id buffer_id;
113 OMX_U32 port_index, IOMX::PortMode mode) = 0;
198 IOMX::buffer_id buffer;
203 IOMX::buffer_id buffer;
228 class BnOMX : public BnInterface<IOMX> {
DIMediaPlayerService.h37 class IOMX; variable
/frameworks/av/include/media/
DIOMX.h50 class IOMX : public IInterface {
93 typedef IOMX::buffer_id buffer_id;
113 OMX_U32 port_index, IOMX::PortMode mode) = 0;
198 IOMX::buffer_id buffer;
203 IOMX::buffer_id buffer;
228 class BnOMX : public BnInterface<IOMX> {
DIMediaPlayerService.h37 class IOMX; variable
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp371 mPortMode[0] = IOMX::kPortModePresetByteBuffer; in OMXNodeInstance()
372 mPortMode[1] = IOMX::kPortModePresetByteBuffer; in OMXNodeInstance()
673 status_t OMXNodeInstance::setPortMode(OMX_U32 portIndex, IOMX::PortMode mode) { in setPortMode()
691 case IOMX::kPortModeDynamicANWBuffer: in setPortMode()
713 case IOMX::kPortModeDynamicNativeHandle: in setPortMode()
729 case IOMX::kPortModePresetSecureBuffer: in setPortMode()
738 case IOMX::kPortModePresetANWBuffer: in setPortMode()
775 case IOMX::kPortModePresetByteBuffer: in setPortMode()
1053 OMX_U32 portIndex, const OMXBuffer &omxBuffer, IOMX::buffer_id *buffer) { in useBuffer()
1072 if (mPortMode[portIndex] != IOMX::kPortModeDynamicANWBuffer in useBuffer()
[all …]
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmx.h49 using ::android::IOMX;
64 status_t listNodes(List<IOMX::ComponentInfo>* list) override;
DConversion.h86 using ::android::IOMX;
779 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo()
796 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo()
886 inline PortMode toHardwarePortMode(IOMX::PortMode l) { in toHardwarePortMode()
897 inline IOMX::PortMode toIOMXPortMode(PortMode t) { in toIOMXPortMode()
898 return static_cast<IOMX::PortMode>(t); in toIOMXPortMode()
/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/libmedia/
DIOMX.cpp65 class BpOMX : public BpInterface<IOMX> {
68 : BpInterface<IOMX>(impl) { in BpOMX()
75 data.writeInterfaceToken(IOMX::getInterfaceDescriptor()); in listNodes()
97 data.writeInterfaceToken(IOMX::getInterfaceDescriptor()); in allocateNode()
117 data.writeInterfaceToken(IOMX::getInterfaceDescriptor()); in createInputSurface()
230 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
487 OMX_U32 port_index, IOMX::PortMode mode) { in setPortMode()
570 CHECK_OMX_INTERFACE(IOMX, data, reply); in onTransact()
593 CHECK_OMX_INTERFACE(IOMX, data, reply); in onTransact()
620 CHECK_OMX_INTERFACE(IOMX, data, reply); in onTransact()
[all …]
DAndroid.bp50 "IOMX.cpp",
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h89 using ::android::IOMX;
592 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo()
609 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo()
699 inline PortMode toHardwarePortMode(IOMX::PortMode l) { in toHardwarePortMode()
710 inline IOMX::PortMode toIOMXPortMode(PortMode t) { in toIOMXPortMode()
711 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()
367 void ACodecBufferChannel::fillThisBuffer(IOMX::buffer_id bufferId) { in fillThisBuffer()
387 IOMX::buffer_id bufferId, in drainThisBuffer()
DACodec.cpp295 bool onOMXEmptyBufferDone(IOMX::buffer_id bufferID, int fenceFd);
298 IOMX::buffer_id bufferID,
599 mPortMode[kPortIndexInput] = IOMX::kPortModePresetByteBuffer; in ACodec()
600 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/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()

12