Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaExtractor.java335 Map<String, Object> formatMap = getTrackFormatNative(index); in getCasInfo() local
336 if (formatMap.containsKey(MediaFormat.KEY_CA_SYSTEM_ID)) { in getCasInfo()
337 int systemId = ((Integer)formatMap.get(MediaFormat.KEY_CA_SYSTEM_ID)).intValue(); in getCasInfo()
340 if (formatMap.containsKey(MediaFormat.KEY_CA_PRIVATE_DATA)) { in getCasInfo()
341 ByteBuffer buf = (ByteBuffer) formatMap.get(MediaFormat.KEY_CA_PRIVATE_DATA); in getCasInfo()
346 if (mMediaCas != null && formatMap.containsKey(MediaFormat.KEY_CA_SESSION_ID)) { in getCasInfo()
347 ByteBuffer buf = (ByteBuffer) formatMap.get(MediaFormat.KEY_CA_SESSION_ID); in getCasInfo()
383 Map<String, Object> formatMap = getFileFormatNative(); in getDrmInitData() local
384 if (formatMap == null) { in getDrmInitData()
387 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.java2383 Map<String, Object> formatMap = format.getMap(); in configure() local
2384 keys = new String[formatMap.size()]; in configure()
2385 values = new Object[formatMap.size()]; in configure()
2388 for (Map.Entry<String, Object> entry: formatMap.entrySet()) { in configure()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp892 jobject formatMap; in getOutputFrame() local
893 err = getOutputFormat(env, index, &formatMap); in getOutputFrame()
901 formatMap)}; in getOutputFrame()
903 env->DeleteLocalRef(formatMap); in getOutputFrame()
904 formatMap = nullptr; in getOutputFrame()