summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* swr: add noise_scale field to seperate it from the noise shaping scalesMichael Niedermayer2013-01-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix the noise sample type for noise shapingMichael Niedermayer2013-01-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: split swri_dither_init() outMichael Niedermayer2013-01-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc: add noise shaping dithersMichael Niedermayer2013-01-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add -movflags rtphint documentation.Carl Eugen Hoyos2013-01-09
|
* swr: remove unused variableMichael Niedermayer2013-01-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: move dither related fields to their own contextMichael Niedermayer2013-01-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: update copyright years of a few files iam working onMichael Niedermayer2013-01-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Implement Noise shaping ditherMichael Niedermayer2013-01-09
| | | | | | | | | | | | | | | The following variants are implemented: lipshitz noise shaping dither shibata noise shaping dither low shibata noise shaping dither high shibata noise shaping dither f-weighted noise shaping dither modified-e-weighted noise shaping dither improved-e-weighted noise shaping dither Data tables taken from SOX Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* frmdec: tag 5 is AV_PIX_FMT_BGRA with reversed alpha (0=solid/opaque .. ↵Peter Ross2013-01-10
| | | | 255=transparent)
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-01-09
|\ | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: xan: Convert to bytestream2 oggenc: add a page_duration option and deprecate the pagesize option x86: lavr: add SSE2/AVX dither_int_to_float() Conflicts: libavcodec/xan.c libavformat/oggenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * xan: Convert to bytestream2Alexandra Khirnova2013-01-09
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * oggenc: add a page_duration option and deprecate the pagesize optionJustin Ruggles2013-01-08
| | | | | | | | | | | | | | | | | | | | | | This uses page duration instead of byte size to determine when to buffer the page. Also, it tries to avoid continued pages by buffering the current page if there are already packets in the page and adding the next packet would require it to be continued on a new page. This can improve seeking performance. The default page duration is 1 second, which is much saner than filling all page segments by default.
| * x86: lavr: add SSE2/AVX dither_int_to_float()Justin Ruggles2013-01-08
| |
* | Merge commit '1fb8f6a44f06e48386450fe0363aefc02583d24a'Michael Niedermayer2013-01-09
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '1fb8f6a44f06e48386450fe0363aefc02583d24a': x86: lavr: add SSE2 quantize() for dithering doc/APIchanges: fill in missing dates and hashes. rtpdec_vp8: Request a keyframe if RTP packets are lost Conflicts: doc/APIchanges Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: lavr: add SSE2 quantize() for ditheringJustin Ruggles2013-01-08
| |
| * doc/APIchanges: fill in missing dates and hashes.Justin Ruggles2013-01-08
| |
| * rtpdec_vp8: Request a keyframe if RTP packets are lostMartin Storsjö2013-01-08
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '86d9181cf41edc3382bf2481f95a2fb321058689'Michael Niedermayer2013-01-09
|\| | | | | | | | | | | | | | | | | | | * commit '86d9181cf41edc3382bf2481f95a2fb321058689': rtpdec: Support sending RTCP feedback packets Conflicts: libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: Support sending RTCP feedback packetsMartin Storsjö2013-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sends NACK for missed packets and PLI (picture loss indication) if a depacketizer indicates that it needs a new keyframe, according to RFC 4585. This is only enabled if the SDP indicated that feedback is supported (via the AVPF or SAVPF profile names). The feedback packets are throttled to a certain maximum interval (currently 250 ms) to make sure the feedback packets don't eat up too much bandwidth (which might be counterproductive). The RFC specifies a more elaborate feedback packet scheduling. The feedback packets are currently sent independently from normal RTCP RR packets, which is not totally spec compliant, but works fine in the environments I've tested it in. (RFC 5506 allows this, but requires a SDP attribute for enabling it.) Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '42805eda554a7fc44341282771531e7837ac72b7'Michael Niedermayer2013-01-09
|\| | | | | | | | | | | | | * commit '42805eda554a7fc44341282771531e7837ac72b7': rtpdec: Store the dynamic payload handler in the rtpdec context Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec: Store the dynamic payload handler in the rtpdec contextMartin Storsjö2013-01-08
| | | | | | | | | | | | | | This allows calling other dynamic payload handler functions if needed. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '9c80ed836a511293f4cc3a858060969d32f2b1ce'Michael Niedermayer2013-01-09
|\| | | | | | | | | | | | | | | * commit '9c80ed836a511293f4cc3a858060969d32f2b1ce': rtpdec_vp8: Avoid a warning about a possibly unused variable rtpdec_vp8: Make sure the previous packet is returned Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec_vp8: Avoid a warning about a possibly unused variableMartin Storsjö2013-01-08
| | | | | | | | | | | | | | | | The warning is a false positive, but I prefer actually initializing it over masking it with av_uninit, since the code is not performance critical. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec_vp8: Make sure the previous packet is returnedMartin Storsjö2013-01-08
| | | | | | | | | | | | | | | | | | | | | | This is a bug from c7d4de3d73 - if the previous frame wasn't returned yet (due to missing the final packets), but we have enough data of it to return the first partition, we write that into pkt and set returned_old_frame. That commit forgot returning 0 for the case where this current packet didn't have the end_packet flag set. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '92e354b655613b88c3c202a7e19e7037daed37eb'Michael Niedermayer2013-01-09
|\| | | | | | | | | | | | | | | | | | | | | * commit '92e354b655613b88c3c202a7e19e7037daed37eb': rtpdec_vp8: Set the timestamp when returning a deferred packet hlsenc: Make the start_number option set the right variable Conflicts: libavformat/hlsenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpdec_vp8: Set the timestamp when returning a deferred packetMartin Storsjö2013-01-08
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * hlsenc: Make the start_number option set the right variableKanglin2013-01-08
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | swr: use SIMD for ditheringMichael Niedermayer2013-01-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dirac: fix inverted checkMichael Niedermayer2013-01-09
| | | | | | | | | | | | | | | | | | | | | | Regression since: ea6da80 Fixes Ticket2123 I cannot reproduce any regressions by flipping the wrong condition to how it should have been. Thanks-to: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/mux: do not pass a copy of the packet to write_packet().Clément Bœsch2013-01-08
| | | | | | | | | | | | | | | | | | Sometimes the muxer modifies the packet, like for instance lavf/mp3enc changing pkt->destruct in order to keep a copy. These changes must be kept, even though the muxer behaviour is questionable. Regression since 0072116. Fixes #2124.
* | ffmpeg: fix dither to 24bit PCM outputMichael Niedermayer2013-01-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: fix assertion failure if dither is used without the preout buffer ↵Michael Niedermayer2013-01-08
| | | | | | | | | | | | differing from in Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | img2dec: fix -loopMichael Niedermayer2013-01-08
| | | | | | | | | | | | This fixes a infinite loop with -loop and -vframes Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix compilation with --disable-everything --enable-decoder=dirac.Carl Eugen Hoyos2013-01-08
| |
* | fate: upate after 55d32eed8fPaul B Mahol2013-01-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | img2dec: do not change packet pts for image2pipePaul B Mahol2013-01-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | img2dec: seeking supportPaul B Mahol2013-01-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | ff_find_pix_fmt: return NONE for the "not found" case.Michael Niedermayer2013-01-08
| | | | | | | | | | Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: fix use-after-free in ff_filter_frame.Nicolas George2013-01-08
| | | | | | | | | | | | | | Unlike the original ff_start_frame code, the incoming reference may be freed before that point. Fix CID966654.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-01-08
|\| | | | | | | | | | | | | * qatar/master: rtsp: Respect max_delay for the reordering queue when using custom IO Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtsp: Respect max_delay for the reordering queue when using custom IOMartin Storsjö2013-01-08
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '8729698d50739524665090e083d1bfdf28235724'Michael Niedermayer2013-01-08
|\| | | | | | | | | | | | | | | | | | | * commit '8729698d50739524665090e083d1bfdf28235724': rtsp: Recheck the reordering queue if getting a new packet lavr: log channel conversion description for any-to-any functions lavr: mix: reduce the mixing matrix when possible lavr: cosmetics: reindent Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtsp: Recheck the reordering queue if getting a new packetMartin Storsjö2013-01-08
| | | | | | | | | | | | | | | | | | | | If we timed out and consumed a packet from the reordering queue, but didn't return a packet to the caller, recheck the queue status. Otherwise, we could end up in an infinite loop, trying to consume a queued packet that has already been consumed. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
| * lavr: log channel conversion description for any-to-any functionsJustin Ruggles2013-01-07
| |
| * lavr: mix: reduce the mixing matrix when possibleJustin Ruggles2013-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the matrix results in an output channel not getting a contribution from any input channel and the corresponding input channel does not contribute to any outputs, we can skip the channel during mixing and silence it after mixing. If the matrix results in an input channel not contributing to any output channels and it is not in the output mix, or if the input channel only contributes fully to the same output channel, we can skip the channel during mixing. If the matrix results in an output channel only getting full contribution from the corresponding input channel and that input channel does not contribute to any other output channels, we can skip the channel during mixing.
| * lavr: cosmetics: reindentJustin Ruggles2013-01-07
| |
* | Merge commit '074a00d192c0e749d677b008b337da42597e780f'Michael Niedermayer2013-01-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '074a00d192c0e749d677b008b337da42597e780f': lavr: add a public function for setting a custom channel map lavr: typedef internal structs in internal.h doc: Extend commit message section Conflicts: doc/APIchanges doc/developer.texi Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavr: add a public function for setting a custom channel mapJustin Ruggles2013-01-07
| | | | | | | | This allows reordering, duplication, and silencing of input channels.
| * lavr: typedef internal structs in internal.hJustin Ruggles2013-01-07
| | | | | | | | | | Simplifies header dependencies by not including all other internal headers in internal.h.