[vlc-devel] [PATCH 00/11] mediacodec: add input/output threads, remove polling

Thomas Guillem thomas at gllm.fr
Wed Aug 26 18:09:57 CEST 2015


The first commit adds a new decoder function that allow to wake up the
DecoderThread when a new picture_t is available.

The next commits refactor and prepare MediaCodec for the last commit.

The last commit add input/output threads, remove polling and improve
performances.

Best regards,
Thomas Guillem.

Thomas Guillem (11):
  decoder: add decoder_OnOutputReady
  mediacodec: fix fail path in OpenDecoder
  mediacodec: split mc_api functions
  mediacodec: initialise Audio/Video callbacks at init
  mediacodec: use p_block for CSDs
  mediacodec: init i_csd_sent in CSDDup
  mediacodec: add pf_on_flush for Video/Audio
  mediacodec: handle flush or restart outside pf_on_new_block callback
  mediacodec: rework pf_get_output
  mediacodec: release picture from InvalidateAllPictures
  mediacodec: add input/output threads, remove polling

 include/vlc_codec.h                  |    7 +
 modules/codec/omxil/mediacodec.c     | 1063 ++++++++++++++++++++++------------
 modules/codec/omxil/mediacodec.h     |   29 +-
 modules/codec/omxil/mediacodec_jni.c |  122 ++--
 modules/codec/omxil/mediacodec_ndk.c |  122 ++--
 src/input/decoder.c                  |    6 +
 6 files changed, 900 insertions(+), 449 deletions(-)

-- 
2.1.4



More information about the vlc-devel mailing list