- 02 Nov, 2011 15 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Justin Ruggles authored
-
Justin Ruggles authored
calculate it from c->code_size instead.
-
Justin Ruggles authored
This is an easy alternative to setting bit_rate. This patch also selects the closest bit_rate to the requested one rather than requiring an exact value.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
This should never happen, but the check avoids a divide-by-zero.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
This requires some workarounds in the WAV muxer and demuxer. We need to write the correct bits_per_coded_sample and block_align in the muxer. In the demuxer, we cannot rely on the bits_per_coded_sample value, so we use the bit rate and sample rate to determine the value. This avoids having the decoder rely on AVCodecContext.bit_rate, which is not required to be set by the user for decoding according to our API.
-
Justin Ruggles authored
This also allows for not having a decoder close function.
-
Justin Ruggles authored
Allows for checking output buffer size and simplification of decoding loop.
-
Justin Ruggles authored
-
- 01 Nov, 2011 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 31 Oct, 2011 1 commit
-
-
Martin Storsjö authored
This symbol name clashes with a symbol in gnutls, if linking statically to that library. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 30 Oct, 2011 2 commits
-
-
Diego Biurrun authored
The names used in the libdirac/libschroedinger wrappers are long enough as-is. Bloating them with unnecessary prefixes makes them even more unwieldy.
-
Janne Grunau authored
-
- 29 Oct, 2011 21 commits
-
-
Justin Ruggles authored
-
Justin Ruggles authored
Also check output buffer size instead of truncating output.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
bits_per_coded_sample should be 8. block_align is calculated incorrectly, but it is not needed anyway. packet pts should be calculated in samples. packet duration can be set.
-
Justin Ruggles authored
-
Justin Ruggles authored
Return error if core block decoding fails. Do not enable XCh if XCh extension block decoding fails.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Kostya Shishkov authored
If the frame is filled with the same colour, encoder may produce no data and the fill value is indicated by zero code length (the rest of symbols will have 0xFF for code length, meaning invalid). So such Huffman trees should be treated specially. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Justin Ruggles authored
-
Justin Ruggles authored
This prevents truncating output due to an output buffer that is too small for all blocks. There is no limit on the number of blocks in a packet.
-
Justin Ruggles authored
This fixes the requirement for the buffer size to be larger than the number of samples actually decoded.
-
Justin Ruggles authored
-
Justin Ruggles authored
This stops decoding before overreads instead of after.
-
Justin Ruggles authored
-
Justin Ruggles authored
the decoder can handle multiple frames in a packet
-
Justin Ruggles authored
-
Justin Ruggles authored
-