Searched refs:mediaKeySystemInfo (Results 1 - 8 of 8) sorted by relevance
/foundation/multimedia/av_codec/interfaces/kits/c/ |
H A D | native_avdemuxer.h | 29 typedef void (*DRM_MediaKeySystemInfoCallback)(DRM_MediaKeySystemInfo* mediaKeySystemInfo); 34 * @param mediaKeySystemInfo DRM information. 39 typedef void (*Demuxer_MediaKeySystemInfoCallback)(OH_AVDemuxer *demuxer, DRM_MediaKeySystemInfo *mediaKeySystemInfo); 192 * @param mediaKeySystemInfo Indicates the media key system info which ram space allocated by callee and 197 * or the mediaKeySystemInfo is nullptr. 201 OH_AVErrCode OH_AVDemuxer_GetMediaKeySystemInfo(OH_AVDemuxer *demuxer, DRM_MediaKeySystemInfo *mediaKeySystemInfo);
|
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/capi_demo/ |
H A D | avdemuxer_demo.cpp | 210 DRM_MediaKeySystemInfo mediaKeySystemInfo; in GetMediaKeySystemInfo() local 211 OH_AVDemuxer_GetMediaKeySystemInfo(this->avdemxuer_, &mediaKeySystemInfo); in GetMediaKeySystemInfo() 212 printf("GetMediaKeySystemInfo count %d", mediaKeySystemInfo.psshCount); in GetMediaKeySystemInfo() 213 for (uint32_t i = 0; i < mediaKeySystemInfo.psshCount; i++) { in GetMediaKeySystemInfo() 217 printf("GetMediaKeySystemInfo print uuid %x \n", mediaKeySystemInfo.psshInfo[i].uuid[index]); in GetMediaKeySystemInfo() 219 printf("GetMediaKeySystemInfo print pssh length %d \n", mediaKeySystemInfo.psshInfo[i].dataLen); in GetMediaKeySystemInfo() 220 for (uint32_t k = 0; k < mediaKeySystemInfo.psshInfo[i].dataLen; k++) { in GetMediaKeySystemInfo() 221 unsigned char *pssh = static_cast<unsigned char*>(mediaKeySystemInfo.psshInfo[i].data); in GetMediaKeySystemInfo()
|
/foundation/multimedia/player_framework/interfaces/kits/c/ |
H A D | avplayer.h | 55 typedef void (*Player_MediaKeySystemInfoCallback)(OH_AVPlayer *play, DRM_MediaKeySystemInfo* mediaKeySystemInfo); 493 * @param mediaKeySystemInfo Media key system info. 499 OH_AVErrCode OH_AVPlayer_GetMediaKeySystemInfo(OH_AVPlayer *player, DRM_MediaKeySystemInfo *mediaKeySystemInfo);
|
/foundation/multimedia/av_codec/test/unittest/demuxer_test/capi/ |
H A D | demuxer_capi_mock.cpp | 167 DRM_MediaKeySystemInfo mediaKeySystemInfo; in GetMediaKeySystemInfo() local 168 return OH_AVDemuxer_GetMediaKeySystemInfo(demuxer_, &mediaKeySystemInfo); in GetMediaKeySystemInfo()
|
/foundation/multimedia/player_framework/frameworks/native/capi/player/ |
H A D | native_avplayer.cpp | 221 DRM_MediaKeySystemInfo *mediaKeySystemInfo, struct PlayerObject *playerObj) = 0; 269 DRM_MediaKeySystemInfo *mediaKeySystemInfo, struct PlayerObject *playerObj) override; 471 DRM_MediaKeySystemInfo *mediaKeySystemInfo, struct PlayerObject *playerObj) in GetDrmSystemInfos() 498 int ret = memcpy_s(mediaKeySystemInfo->psshInfo[index].uuid, in GetDrmSystemInfos() 500 int err = memcpy_s(mediaKeySystemInfo->psshInfo[index].data, item.second.size(), in GetDrmSystemInfos() 503 mediaKeySystemInfo->psshInfo[index++].dataLen = static_cast<int32_t>(item.second.size()); in GetDrmSystemInfos() 505 mediaKeySystemInfo->psshCount = index; in GetDrmSystemInfos() 878 DRM_MediaKeySystemInfo mediaKeySystemInfo; in OnDrmInfoUpdatedCb() local 879 GetDrmSystemInfos(infoBody, &mediaKeySystemInfo, playerObj); in OnDrmInfoUpdatedCb() 880 drmsysteminfocallback_(player_, &mediaKeySystemInfo); in OnDrmInfoUpdatedCb() 470 GetDrmSystemInfos(const Format &infoBody, DRM_MediaKeySystemInfo *mediaKeySystemInfo, struct PlayerObject *playerObj) GetDrmSystemInfos() argument 1310 OH_AVPlayer_GetMediaKeySystemInfo(OH_AVPlayer *player, DRM_MediaKeySystemInfo *mediaKeySystemInfo) OH_AVPlayer_GetMediaKeySystemInfo() argument [all...] |
/foundation/multimedia/drm_framework/services/drm_service/server/src/ |
H A D | mediakeysystemfactory_service.cpp | 329 std::map<std::string, std::string> mediaKeySystemInfo;
in WriteDumpInfo() local 330 drmHostManager_->GetMediaKeySystems(mediaKeySystemInfo);
in WriteDumpInfo() 331 for (auto &iter : mediaKeySystemInfo) {
in WriteDumpInfo()
|
/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/common/ |
H A D | native_drm_common.h | 494 typedef void (*DRM_MediaKeySystemInfoCallback)(DRM_MediaKeySystemInfo *mediaKeySystemInfo);
|
/foundation/multimedia/av_codec/frameworks/native/capi/avdemuxer/ |
H A D | native_avdemuxer.cpp | 278 OH_AVErrCode OH_AVDemuxer_GetMediaKeySystemInfo(OH_AVDemuxer *demuxer, DRM_MediaKeySystemInfo *mediaKeySystemInfo) in OH_AVDemuxer_GetMediaKeySystemInfo() argument 293 ret = NativeDrmTools::ProcessApplicationDrmInfo(mediaKeySystemInfo, drmInfos); in OH_AVDemuxer_GetMediaKeySystemInfo()
|
Completed in 7 milliseconds