summaryrefslogtreecommitdiff
path: root/libavcodec/ffjni.c
Commit message (Collapse)AuthorAge
* lavc/ffjni: add missing '\n'Matthieu Bouron2017-05-23
|
* lavc/ffjni: fix local reference leakMatthieu Bouron2017-05-11
| | | | Reviewed-by: Clément Bœsch <u@pkh.me>
* doc: fix spelling errorsAndreas Cadhalpun2016-10-21
| | | | | | | | Thanks to Mathieu Malaterre <malat@debian.org> for reporting the Que/Queue typo. (https://bugs.debian.org/839542) Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* lavc/ffjni: do not error out if the last non-mandatory field/method cannot ↵Matthieu Bouron2016-09-12
| | | | be found
* lavc/ffjni: replace ff_jni_{attach,detach} with ff_jni_get_envMatthieu Bouron2016-07-27
| | | | | | | | | | | | | | If a JNI environment is not already attached to the thread where the MediaCodec calls are made the current implementation will attach / detach an environment for each MediaCodec call wasting some CPU time. ff_jni_get_env replaces ff_jni_{attach,detach} by permanently attaching an environment (if it is not already the case) to the current thread. The environment will be automatically detached at the thread destruction using a pthread_key callback. Saves around 5% of CPU time (out of 20%) while decoding a stream with MediaCodec.
* lavc/ffjni: remove use of private JniInvocation API to retreive the Java VMMatthieu Bouron2016-03-14
| | | | | | | Android N will prevent users from loading non-public APIs. Users should only rely on the av_jni_set_java_vm function to set the Java VM.
* lavc/ffjni: fix uninitialized variableMatthieu Bouron2016-03-10
|
* avcodec/ffjni: Fix occured typoMichael Niedermayer2016-03-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ffjni: Fix ;;Michael Niedermayer2016-03-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: add JNI supportMatthieu Bouron2016-03-07