Searched refs:playerMsg (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/timedtext/ |
D | TextDescriptions2.cpp | 28 uint32_t flags, int timeMs, PlayerMessage *playerMsg) { in getPlayerMessageOfDescriptions() argument 31 return extract3GPPGlobalDescriptions(data, size, playerMsg); in getPlayerMessageOfDescriptions() 33 return extract3GPPLocalDescriptions(data, size, timeMs, playerMsg); in getPlayerMessageOfDescriptions() 37 return extractSRTLocalDescriptions(data, size, timeMs, playerMsg); in getPlayerMessageOfDescriptions() 48 const uint8_t *data, ssize_t size, int timeMs, PlayerMessage *playerMsg) { in extractSRTLocalDescriptions() argument 49 playerMsg->add_values()->set_int32_value(KEY_LOCAL_SETTING); in extractSRTLocalDescriptions() 50 playerMsg->add_values()->set_int32_value(KEY_START_TIME); in extractSRTLocalDescriptions() 51 playerMsg->add_values()->set_int32_value(timeMs); in extractSRTLocalDescriptions() 53 playerMsg->add_values()->set_int32_value(KEY_STRUCT_TEXT); in extractSRTLocalDescriptions() 54 playerMsg->add_values()->set_bytes_value(data, size); in extractSRTLocalDescriptions() [all …]
|
D | TextDescriptions2.h | 42 uint32_t flags, int timeMs, PlayerMessage *playerMsg); 76 int timeMs, PlayerMessage *playerMsg); 79 PlayerMessage *playerMsg); 82 int timeMs, PlayerMessage *playerMsg);
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Drm.cpp | 136 status_t NuPlayer2Drm::retrieveDrmInfo(PsshInfo *psshInfo, PlayerMessage *playerMsg) in retrieveDrmInfo() argument 156 playerMsg->add_values()->set_bytes_value( in retrieveDrmInfo() 161 playerMsg->add_values()->set_int32_value(numentries); in retrieveDrmInfo() 164 playerMsg->add_values()->set_bytes_value( in retrieveDrmInfo()
|
D | NuPlayer2.cpp | 2748 PlayerMessage playerMsg; in onSourceNotify() local 2751 playerMsg.ParseFromArray(drmInfo->data(), drmInfo->size()); in onSourceNotify() 2754 drmInfo.get(), playerMsg.ByteSize()); in onSourceNotify() 2756 notifyListener(srcId, MEDIA2_DRM_INFO, 0 /* ext1 */, 0 /* ext2 */, &playerMsg); in onSourceNotify() 2984 PlayerMessage playerMsg; in sendSubtitleData() local 2985 playerMsg.add_values()->set_int32_value(trackIndex + baseIndex); in sendSubtitleData() 2986 playerMsg.add_values()->set_int64_value(timeUs); in sendSubtitleData() 2987 playerMsg.add_values()->set_int64_value(durationUs); in sendSubtitleData() 2988 playerMsg.add_values()->set_bytes_value(buffer->data(), buffer->size()); in sendSubtitleData() 2990 notifyListener(mCurrentSourceInfo.mSrcId, MEDIA2_SUBTITLE_DATA, 0, 0, &playerMsg); in sendSubtitleData() [all …]
|
D | GenericSource2.cpp | 1521 PlayerMessage playerMsg; in checkDrmInfo() local 1522 status_t ret = NuPlayer2Drm::retrieveDrmInfo(psshInfo, &playerMsg); in checkDrmInfo() 1523 ALOGV("checkDrmInfo: MEDIA_DRM_INFO PSSH drm info size: %d", (int)playerMsg.ByteSize()); in checkDrmInfo() 1530 int size = playerMsg.ByteSize(); in checkDrmInfo() 1532 playerMsg.SerializeToArray(drmInfoBuf->data(), size); in checkDrmInfo()
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaPlayer2.java | 2639 PlayerMessage playerMsg; 2641 playerMsg = PlayerMessage.parseFrom((byte[]) msg.obj); 2646 text = TimedTextUtil.parsePlayerMessage(playerMsg); 2664 PlayerMessage playerMsg; 2666 playerMsg = PlayerMessage.parseFrom((byte[]) msg.obj); 2671 Iterator<Value> in = playerMsg.getValuesList().iterator(); 2694 PlayerMessage playerMsg; 2696 playerMsg = PlayerMessage.parseFrom((byte[]) msg.obj); 2701 Iterator<Value> in = playerMsg.getValuesList().iterator(); 2756 PlayerMessage playerMsg; [all …]
|