Lines Matching refs:JMediaCodec

120 JMediaCodec::JMediaCodec(
149 void JMediaCodec::cacheJavaObjects(JNIEnv *env) {
188 status_t JMediaCodec::initCheck() const {
192 void JMediaCodec::registerSelf() {
196 void JMediaCodec::release() {
210 JMediaCodec::~JMediaCodec() {
215 * Otherwise JMediaCodec::~JMediaCodec() might be called from within the
221 ALOGW("try to release MediaCodec from JMediaCodec::~JMediaCodec()...");
223 ALOGW("done releasing MediaCodec from JMediaCodec::~JMediaCodec().");
235 void JMediaCodec::deleteJavaObjects(JNIEnv *env) {
247 status_t JMediaCodec::enableOnFrameRenderedListener(jboolean enable) {
259 status_t JMediaCodec::setCallback(jobject cb) {
271 status_t JMediaCodec::configure(
289 status_t JMediaCodec::setSurface(
302 status_t JMediaCodec::createInputSurface(
307 status_t JMediaCodec::setInputSurface(
312 status_t JMediaCodec::start() {
316 status_t JMediaCodec::stop() {
322 status_t JMediaCodec::flush() {
326 status_t JMediaCodec::reset() {
330 status_t JMediaCodec::queueInputBuffer(
338 status_t JMediaCodec::queueSecureInputBuffer(
355 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) {
359 status_t JMediaCodec::dequeueOutputBuffer(
380 status_t JMediaCodec::releaseOutputBuffer(
390 status_t JMediaCodec::signalEndOfInputStream() {
394 status_t JMediaCodec::getFormat(JNIEnv *env, bool input, jobject *format) const {
405 status_t JMediaCodec::getOutputFormat(JNIEnv *env, size_t index, jobject *format) const {
415 status_t JMediaCodec::getBuffers(
457 status_t JMediaCodec::createByteBufferFromABuffer(
501 status_t JMediaCodec::getBuffer(
518 status_t JMediaCodec::getImage(
613 status_t JMediaCodec::getName(JNIEnv *env, jstring *nameStr) const {
627 status_t JMediaCodec::getMetrics(JNIEnv *, MediaAnalyticsItem * &reply) const {
633 status_t JMediaCodec::setParameters(const sp<AMessage> &msg) {
637 void JMediaCodec::setVideoScalingMode(int mode) {
683 void JMediaCodec::handleCallback(const sp<AMessage> &msg) {
777 void JMediaCodec::handleFrameRenderedNotification(const sp<AMessage> &msg) {
798 void JMediaCodec::onMessageReceived(const sp<AMessage> &msg) {
821 static sp<JMediaCodec> setMediaCodec(
822 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) {
823 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context);
829 * otherwise JMediaCodec::~JMediaCodec() could be called from within
841 static sp<JMediaCodec> getMediaCodec(JNIEnv *env, jobject thiz) {
842 return (JMediaCodec *)env->GetLongField(thiz, gFields.context);
941 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
957 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
977 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1026 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1150 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1169 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1191 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1206 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1221 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1243 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1265 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1291 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1450 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1471 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1494 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1510 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1525 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1548 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1571 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1597 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1623 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1649 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1673 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1701 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1720 sp<JMediaCodec> codec = getMediaCodec(env, thiz);
1896 sp<JMediaCodec> codec = new JMediaCodec(env, thiz, tmp, nameIsType, encoder);