History

avcodec: add Newtek SpeedHQ decoder

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.

Steinar H. Gunderson committed 9 years ago

Commit 2a293ec1 parent eaff1aa12 files · +716 −13Browse files

Showing the changes to libavcodec/allcodecs.c (1 of 12 files). Show all

Unified · Split

libavcodec/allcodecs.c+1−0
@@ -316,6 +316,7 @@ void avcodec_register_all(void) · 315 unmodified lines
316 REGISTER_DECODER(SMVJPEG, smvjpeg);316 REGISTER_DECODER(SMVJPEG, smvjpeg);
317 REGISTER_ENCDEC (SNOW, snow);317 REGISTER_ENCDEC (SNOW, snow);
318 REGISTER_DECODER(SP5X, sp5x);318 REGISTER_DECODER(SP5X, sp5x);
319 REGISTER_DECODER(SPEEDHQ, speedhq);
319 REGISTER_ENCDEC (SUNRAST, sunrast);320 REGISTER_ENCDEC (SUNRAST, sunrast);
320 REGISTER_ENCDEC (SVQ1, svq1);321 REGISTER_ENCDEC (SVQ1, svq1);
321 REGISTER_DECODER(SVQ3, svq3);322 REGISTER_DECODER(SVQ3, svq3);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t