Home
last modified time | relevance | path

Searched refs:descrambler (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DCasManager.cpp44 sp<IDescrambler> *descrambler, std::vector<uint8_t> *sessionId) const;
111 unsigned elementaryPID, sp<IDescrambler> *descrambler, in getCasSession() argument
114 *descrambler = mProgramCas.mDescrambler; in getCasSession()
123 *descrambler = mStreamPidToCasMap[index].mDescrambler; in getCasSession()
139 sp<IDescrambler> descrambler; in initSession() local
183 descrambler = IDescrambler::castFrom(descramblerBase); in initSession()
184 if (descrambler == NULL) { in initSession()
190 session->mDescrambler = descrambler; in initSession()
318 int32_t *systemId, sp<IDescrambler> *descrambler, in getCasInfo() argument
326 elementaryPID, descrambler, sessionId); in getCasInfo()
DCasManager.h47 int32_t *systemId, sp<IDescrambler> *descrambler,
DATSParser.cpp155 const sp<IDescrambler> &descrambler,
842 sp<IDescrambler> descrambler; in updateCasSessions() local
846 &systemId, &descrambler, &sessionId)) { in updateCasSessions()
847 stream->setCasInfo(systemId, descrambler, sessionId); in updateCasSessions()
1857 int32_t systemId, const sp<IDescrambler> &descrambler, in setCasInfo() argument
1859 if (mSource != NULL && mDescrambler == NULL && descrambler != NULL) { in setCasInfo()
1861 mDescrambler = descrambler; in setCasInfo()
/frameworks/av/media/libstagefright/
DCodecBase.cpp31 void BufferChannelBase::setDescrambler(const sp<IDescrambler> &descrambler) { in setDescrambler() argument
32 mDescrambler = descrambler; in setDescrambler()
DMediaCodec.cpp1044 const sp<IDescrambler> &descrambler, in configure() argument
1094 if (crypto != NULL || descrambler != NULL) { in configure()
1098 msg->setPointer("descrambler", descrambler.get()); in configure()
2575 void *descrambler; in onMessageReceived() local
2576 if (!msg->findPointer("descrambler", &descrambler)) { in onMessageReceived()
2577 descrambler = NULL; in onMessageReceived()
2580 mDescrambler = static_cast<IDescrambler *>(descrambler); in onMessageReceived()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp95 JNIEnv *env, jobject thiz, const sp<JDescrambler> &descrambler) { in setDescrambler() argument
97 if (descrambler != NULL) { in setDescrambler()
98 descrambler->incStrong(thiz); in setDescrambler()
103 env->SetLongField(thiz, gFields.context, (jlong)descrambler.get()); in setDescrambler()
381 sp<JDescrambler> descrambler = getDescrambler(env, thiz); in android_media_MediaDescrambler_native_descramble() local
382 if (descrambler == NULL) { in android_media_MediaDescrambler_native_descramble()
428 err = descrambler->descramble( in android_media_MediaDescrambler_native_descramble()
Dandroid_media_MediaCodec.h67 const sp<IDescrambler> &descrambler,
Dandroid_media_MediaCodec.cpp293 const sp<IDescrambler> &descrambler, in configure() argument
304 format, mSurfaceTextureClient, crypto, descrambler, flags); in configure()
1157 sp<IDescrambler> descrambler; in android_media_MediaCodec_native_configure() local
1159 descrambler = GetDescrambler(env, descramblerBinderObj); in android_media_MediaCodec_native_configure()
1162 err = codec->configure(format, bufferProducer, crypto, descrambler, flags); in android_media_MediaCodec_native_configure()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h260 void setDescrambler(const sp<IDescrambler> &descrambler);
DMediaCodec.h103 const sp<IDescrambler> &descrambler,
/frameworks/base/media/java/android/media/
DMediaCodec.java1982 @ConfigureFlag int flags, @Nullable MediaDescrambler descrambler) { in configure() argument
1984 descrambler != null ? descrambler.getBinder() : null, flags); in configure()