Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaExtractor.java344 Map<String, Object> formatMap = getTrackFormatNative(index); in getCasInfo() local
345 if (formatMap.containsKey(MediaFormat.KEY_CA_SYSTEM_ID)) { in getCasInfo()
346 int systemId = ((Integer)formatMap.get(MediaFormat.KEY_CA_SYSTEM_ID)).intValue(); in getCasInfo()
349 if (formatMap.containsKey(MediaFormat.KEY_CA_PRIVATE_DATA)) { in getCasInfo()
350 ByteBuffer buf = (ByteBuffer) formatMap.get(MediaFormat.KEY_CA_PRIVATE_DATA); in getCasInfo()
355 if (mMediaCas != null && formatMap.containsKey(MediaFormat.KEY_CA_SESSION_ID)) { in getCasInfo()
356 ByteBuffer buf = (ByteBuffer) formatMap.get(MediaFormat.KEY_CA_SESSION_ID); in getCasInfo()
392 Map<String, Object> formatMap = getFileFormatNative(); in getDrmInitData() local
393 if (formatMap == null) { in getDrmInitData()
396 if (formatMap.containsKey("pssh")) { in getDrmInitData()
[all …]
DMediaMuxer.java646 Map<String, Object> formatMap = format.getMap(); in addTrack() local
650 int mapSize = formatMap.size(); in addTrack()
655 for (Map.Entry<String, Object> entry : formatMap.entrySet()) { in addTrack()
DMediaCodec.java2093 Map<String, Object> formatMap = format.getMap(); in configure() local
2094 keys = new String[formatMap.size()]; in configure()
2095 values = new Object[formatMap.size()]; in configure()
2098 for (Map.Entry<String, Object> entry: formatMap.entrySet()) { in configure()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp752 jobject formatMap; in getOutputFrame() local
753 err = getOutputFormat(env, index, &formatMap); in getOutputFrame()
761 formatMap)}; in getOutputFrame()
763 env->DeleteLocalRef(formatMap); in getOutputFrame()
764 formatMap = nullptr; in getOutputFrame()