Skip to content
Permalink
rockchip-new

Commits on Aug 2, 2017

  1. Add support for RockChip Media Process Platform

    This adds hardware decoding for h264 / HEVC / VP8 using MPP Rockchip API.
    Will return frames holding an AVDRMFrameDescriptor struct in buf[3] that allows drm / dmabuf usage.
    Was tested on RK3288 (TinkerBoard) and RK3328.
    LongChair committed Aug 2, 2017

Commits on Aug 1, 2017

  1. lavu: Add DRM hwcontext

    fhvwy authored and LongChair committed Aug 1, 2017

Commits on Jul 14, 2017

  1. hdsenc: Remove dead store

    This is apparently not supposed to error out anyway.
    
    Reviewed-by: Steven Liu <lq@onvideo.cn>
    Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
    dwbuiten committed Jul 14, 2017
  2. opusenc: use float_dsp for non-transient windowing

    Also fixes transient windowing
    
    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 14, 2017
  3. avutil/threadmessage: fix error return in case of av_fifo_alloc failure

    Reviewed-by: Nicolas George <george@nsup.org>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    aleniuk authored and Michael Niedermayer committed Jul 14, 2017
  4. avcodec: Add prefetch for mips

    Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
    Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    ksraste authored and Michael Niedermayer committed Jul 14, 2017

Commits on Jul 13, 2017

  1. x86/vf_limiter: make limiter functions work on x86_32

    Signed-off-by: James Almer <jamrial@gmail.com>
    jamrial committed Jul 13, 2017
  2. checkasm: add hybrid_analysis_ileave and hybrid_synthesis_deint tests…

    … to aacpsdsp
    
    Signed-off-by: James Almer <jamrial@gmail.com>
    jamrial committed Jul 13, 2017
  3. checkasm: add a g722dsp test

    Signed-off-by: James Almer <jamrial@gmail.com>
    jamrial committed Jul 13, 2017
  4. opusenc: use float_dsp for transient mdcts

    vector_fmul_reverse requires padding the window at the front
    
    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 13, 2017
  5. movenc: Add 'keywords' metadata

    Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
    kieranjol authored and dwbuiten committed Jul 13, 2017
  6. configure: use pkg-config for libgme, if available

    The pkg-config file is relatively new (2013), so some distros might
    not have it yet. And the -lstdc++ being required for the static lib
    is only present since the last release in December 2016.
    wiiaboo authored and wm4 committed Jul 13, 2017

Commits on Jul 12, 2017

  1. avcodec/ivi: Use av_image_check_size2()

    Fixes OOM
    Fixes: 1514/clusterfuzz-testcase-minimized-6437666243477504
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    Michael Niedermayer
    Michael Niedermayer committed Jul 12, 2017
  2. avcodec/magicyuv: Check that vlc len is not too large

    Fixes: runtime error: shift exponent -95 is negative
    Fixes: 2568/clusterfuzz-testcase-minimized-4926115716005888
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    Michael Niedermayer
    Michael Niedermayer committed Jul 12, 2017
  3. avcodec/mjpegdec: Clip DC also on the negative side.

    Fixes: runtime error: signed integer overflow: -16711425 + -2130772346 cannot be represented in type 'int'
    Fixes: 2533/clusterfuzz-testcase-minimized-5372857678823424
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    Michael Niedermayer
    Michael Niedermayer committed Jul 12, 2017
  4. avcodec/aacps (fixed point): Fix multiple signed integer overflows

    Fixes: runtime error: signed integer overflow: 1421978265 - -1810326882 cannot be represented in type 'int'
    Fixes: 2527/clusterfuzz-testcase-minimized-5260915396050944
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    Michael Niedermayer
    Michael Niedermayer committed Jul 12, 2017
  5. pthread_frame: save the FF_DEBUG_THREADS option in PerThreadContext.

    Add the debug_threads boolean field to PerThreadContext. For
    PerThreadContext *p, p->debug_threads records whether the
    FF_DEBUG_THREADS bit is set in p->avctx->debug, and p->debug_threads and
    p->avctx->debug are kept in sync. The debug_threads field is defined as
    an atomic_int to allow atomic read by another thread in
    ff_thread_await_progress().
    
    This fixes the tsan warning that
    2e664b9 attempted to fix:
    
    WARNING: ThreadSanitizer: data race (pid=452658)
      Write of size 4 at 0x7b640003f4fc by main thread (mutexes: write M248499):
        #0 update_context_from_user [..]/libavcodec/pthread_frame.c:335:19 (5ab42bb1a6f4b068d7863dabe9b2bacc+0xe73859)
    [..]
      Previous read of size 4 at 0x7b640003f4fc by thread T130 (mutexes: write M248502, write M248500):
        #0 ff_thread_await_progress [..]/libavcodec/pthread_frame.c:591:26 (5ab42bb1a6f4b068d7863dabe9b2bacc+0xe749a1)
    
    Signed-off-by: Wan-Teh Chang <wtc@google.com>
    Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
    Wan-Teh Chang authored and rbultje committed Jul 12, 2017
  6. aacdec_template: fix non-power-of-two MDCT scale sign

    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 12, 2017

Commits on Jul 11, 2017

  1. opus_celt: normalize using mdct scale

    Removes a per-sample divide in the IIR filter deemphasis filter.
    
    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 11, 2017
  2. mdct15: remove redundant scale argument to imdct_half

    The only use of that argument was for Opus downmixing which is very rare
    and better done after the mdcts.
    
    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 11, 2017
  3. avcodec/rdft: remove sintable

    It is redundant with costable. The first half of sintable is
    identical with the second half of costable. The second half
    of sintable is negative value of the first half of sintable.
    
    The computation is changed to handle sign of sin values, in
    C code and ARM assembly code.
    
    Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
    mfcc64 committed Jul 11, 2017

Commits on Jul 10, 2017

  1. opus_rc: fix encoder desyncs on very low bitrates

    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 10, 2017
  2. opusenc: don't set avctx->cutoff

    Its only use is to adjust the aac psychoacoustic/filter system which
    isn't used here.
    
    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 10, 2017
  3. opustab: comment ff_celt_tf_select

    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 10, 2017
  4. opus_celt: move postfilter taps table to the shared opustab.c file

    Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Rostislav Pehlivanov
    Rostislav Pehlivanov committed Jul 10, 2017
  5. rtspdec: Fix return error

    Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
    dwbuiten committed Jul 10, 2017
  6. dxva: DXVA2_ModeHEVC_VLD_Main10 does not support Main

    This mode apparently does not support decoding of HEVC Main (8 bit).
    With D3D11 and Intel drivers on Windows 10 I get green corruption, while
    using DXVA2_ModeHEVC_VLD_Main works.
    wm4
    wm4 committed Jul 10, 2017
  7. avcodec/magicyuv: add 12 bit formats

    Signed-off-by: Paul B Mahol <onemda@gmail.com>
    richardpl committed Jul 10, 2017
  8. avcodec/magicyuv: make RLE table reading match reference

    Signed-off-by: Paul B Mahol <onemda@gmail.com>
    richardpl committed Jul 10, 2017

Commits on Jul 9, 2017

  1. avformat/avio: Remove no-op code in url_find_protocol().

    In url_find_protocol(), proto_str is either "file" or a string
    consisting of only the characters in URL_SCHEME_CHARS, which does not
    include ','. Therefore the strchr(proto_str, ',') call always returns
    NULL.
    
    Note: The code was added in commit
    6161c41.
    
    Signed-off-by: Wan-Teh Chang <wtc@google.com>
    Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
    Wan-Teh Chang authored and mfcc64 committed Jul 9, 2017
  2. avcodec/noise_bsf: add support for dropping packets

    Signed-off-by: Marton Balint <cus@passwd.hu>
    cus committed Jul 9, 2017

Commits on Jul 8, 2017

  1. avcodec/ylc: Fix vlc of 31 bits

    Fixes: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
    Fixes: 2515/clusterfuzz-testcase-minimized-6197200012967936
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by: Paul B Mahol <onemda@gmail.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    Michael Niedermayer
    Michael Niedermayer committed Jul 8, 2017
  2. avcodec/sbrdsp_fixed: Fix integer overflow in sbr_hf_apply_noise()

    Fixes: runtime error: signed integer overflow: -2049425300 + -117591631 cannot be represented in type 'int'
    Fixes: part of 2096/clusterfuzz-testcase-minimized-4901566068817920
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    Michael Niedermayer
    Michael Niedermayer committed Jul 8, 2017
  3. libswresample: check input to swr_convert_frame for NULL

    When 'out' is an AVFrame that does not have buffers preallocated,
    swr_convert_frame tries to allocate buffers of the right size. However
    in calculating this size it failed to check for whether 'in' is NULL
    (requesting that swr's internal buffers are to be flushed).
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    hexpointer authored and Michael Niedermayer committed Jul 8, 2017
Older