[FFmpeg-devel] [PATCH v4 2/2] Newtek SpeedHQ decoder.

Paul B Mahol onemda at gmail.com
Wed Jan 11 17:26:48 EET 2017


On 1/8/17, Steinar H. Gunderson <steinar+ffmpeg at gunderson.no> wrote:
> This decoder can decode all existing SpeedHQ formats (SHQ0-5, 7, and 9),
> including correct decoding of the alpha channel.
>
> 1080p is decoded in 142 fps on one core of my i7-4600U (2.1 GHz Haswell),
> about evenly split between bitstream reader and IDCT. There is currently
> no attempt at slice or frame threading, even though the format trivially
> supports both.
>
> NewTek very helpfully provided a full set of SHQ samples, as well as
> source code for an SHQ2 encoder (not included) and assistance with
> understanding some details of the format.
> ---
>  libavcodec/Makefile     |   1 +
>  libavcodec/allcodecs.c  |   1 +
>  libavcodec/avcodec.h    |   1 +
>  libavcodec/codec_desc.c |   7 +
>  libavcodec/get_bits.h   |  14 +
>  libavcodec/mpeg12.c     |  15 +-
>  libavcodec/mpeg12.h     |   9 +
>  libavcodec/speedhq.c    | 663
> ++++++++++++++++++++++++++++++++++++++++++++++++
>  libavcodec/vlc.h        |   9 +
>  libavformat/riff.c      |   8 +
>  10 files changed, 717 insertions(+), 11 deletions(-)
>  create mode 100644 libavcodec/speedhq.c
>

applied with minor modifications


More information about the ffmpeg-devel mailing list