Home
last modified time | relevance | path

Searched refs:formatMap (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaExtractor.java342 Map<String, Object> formatMap = getTrackFormatNative(index); in getCasInfo() local
343 if (formatMap.containsKey(MediaFormat.KEY_CA_SYSTEM_ID)) { in getCasInfo()
344 int systemId = ((Integer)formatMap.get(MediaFormat.KEY_CA_SYSTEM_ID)).intValue(); in getCasInfo()
347 if (formatMap.containsKey(MediaFormat.KEY_CA_PRIVATE_DATA)) { in getCasInfo()
348 ByteBuffer buf = (ByteBuffer) formatMap.get(MediaFormat.KEY_CA_PRIVATE_DATA); in getCasInfo()
353 if (mMediaCas != null && formatMap.containsKey(MediaFormat.KEY_CA_SESSION_ID)) { in getCasInfo()
354 ByteBuffer buf = (ByteBuffer) formatMap.get(MediaFormat.KEY_CA_SESSION_ID); in getCasInfo()
390 Map<String, Object> formatMap = getFileFormatNative(); in getDrmInitData() local
391 if (formatMap == null) { in getDrmInitData()
394 if (formatMap.containsKey("pssh")) { in getDrmInitData()
[all …]
DMediaMuxer.java647 Map<String, Object> formatMap = format.getMap(); in addTrack() local
651 int mapSize = formatMap.size(); in addTrack()
656 for (Map.Entry<String, Object> entry : formatMap.entrySet()) { in addTrack()
DMediaCodec.java2142 Map<String, Object> formatMap = format.getMap(); in configure() local
2143 keys = new String[formatMap.size()]; in configure()
2144 values = new Object[formatMap.size()]; in configure()
2147 for (Map.Entry<String, Object> entry: formatMap.entrySet()) { in configure()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp787 jobject formatMap; in getOutputFrame() local
788 err = getOutputFormat(env, index, &formatMap); in getOutputFrame()
796 formatMap)}; in getOutputFrame()
798 env->DeleteLocalRef(formatMap); in getOutputFrame()
799 formatMap = nullptr; in getOutputFrame()