summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/ivi_dsp: add some missing () to macrosMichael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/hevc: fix () in macrosMichael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/h264_slice: fix macro ()Michael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/h264: fix () in macrosMichael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/golomb-test: fix () in EXTEND() macroMichael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/aac: fix () in IS_CODEBOOK_UNSIGNED macroMichael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/webvttenc: add webvtt encoderAman Gupta2014-05-25
| | | | | | | | | | | | | | Based off the srt encoder. The following features are unimplemented: - fonts, colors, sizes - alignment and positioning The rest works well. For example, use ffmpeg to convert subtitles into the .vtt format: ffmpeg -i input.srt output.vtt Signed-off-by: Aman Gupta <ffmpeg@tmm1.net> Signed-off-by: Clément Bœsch <u@pkh.me>
* x86/dsputilenc: make the SUM_ABS_DCTELEM macro more readableJames Almer2014-05-25
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/opusdec: check alignment, misalignment could lead to crashes with avxMichael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86/dsputilenc: port sum_abs_dctelem functions to yasmJames Almer2014-05-24
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/asvenc: dont use a negative global_qualityMichael Niedermayer2014-05-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/aacenc: dont use global quality if its negativeMichael Niedermayer2014-05-24
| | | | | | Some applications used a negative value as default for "not set" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86: hpeldsp: implement SSSE3 version of _xy2Christophe Gisquet2014-05-24
| | | | | | | | | | | | | Loading pb_1 rather than pw_8192 was benchmarked to be more efficient. Loading of the 2 yields no advantage. Loading of one saves ~11 cycles. decicycles count: put8: 3223(mmx) -> 2387 avg8: 2863(mmxext) -> 2125 put16: 4356(sse2) -> 3553 avg16: 4481(sse2) -> 3513 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '8692e6284f5169257a537c8fc25addf32fc67c87'Michael Niedermayer2014-05-24
|\ | | | | | | | | | | | | * commit '8692e6284f5169257a537c8fc25addf32fc67c87': rdt: check malloc calls Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rdt: check malloc callsNidhi Makhijani2014-05-24
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avformat/vobsub: do not create empty streams.Clément Bœsch2014-05-24
| | | | | | | | | | | | Fixes NULL dereference in vobsub_read_packet() on vobsub->q[i]->subs. Fixes ticket #3669.
* | Add metadata injection to blackdetectBilly Shambrook2014-05-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hpeldsp: implement SSE2 put_pixels16_xy2Christophe Gisquet2014-05-24
| | | | | | | | | | | | | | | | This is obviously equivalent to the avg version, without the avg. 3223(mmx) -> 2006(sse2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hpeldsp: implement SSE2 versionsChristophe Gisquet2014-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | Those are mostly used in codecs older than H.264, eg MPEG-2. put16 versions: mmx mmx2 sse2 x2: 1888 1185 552 y2: 1778 1092 510 avg16 xy2: 3509(mmx2) -> 2169(sse2) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | MAINTAINERS: remove myself as website maintainerLou Logan2014-05-23
| | | | | | | | | | | | | | I never implemented the plans I had for the site, and I prefer to work in other areas of the project. Signed-off-by: Lou Logan <lou@lrcd.com>
* | x86/hevc_deblock: improve chroma functions register allocationJames Almer2014-05-24
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffplay: support rotated video.Clément Bœsch2014-05-23
| | | | | | | | | | | | | | with -f lavfi -i testsrc=s=hd1080 as source: rotate=90*PI/180 vs transpose=clock: 42fps -> 64fps rotate=180*PI/180 vs vflip,hflip: 75fps -> 77fps rotate=270*PI/180 vs transpose=cclock: 43fps -> 63fps
* | avformat/mov: use av_display_rotation_get() for rotate metadata.Clément Bœsch2014-05-23
| |
* | avutil/display: use hypot().Clément Bœsch2014-05-23
| |
* | x86/dsputil: fix argument declaration in vector_clipfJames Almer2014-05-23
| | | | | | | | | | | | | | Should fix fate failures in msvc x86_64 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/dsputil: fix VECTOR_CLIP_INT32 macroJames Almer2014-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inline loop was incrementing and using the value of %%i the wrong way. Disassembly of ff_vector_clip_int32_sse2 before and after this patch: movdqa (%rdx),%xmm0 | movdqa (%rdx),%xmm0 movdqa 0x10(%rdx),%xmm1 | movdqa 0x10(%rdx),%xmm1 movdqa 0x20(%rdx),%xmm2 | movdqa 0x20(%rdx),%xmm2 movdqa 0x30(%rdx),%xmm3 | movdqa 0x30(%rdx),%xmm3 [...] | movdqa %xmm0,(%rcx) | movdqa %xmm0,(%rcx) movdqa %xmm1,0x10(%rcx) | movdqa %xmm1,0x10(%rcx) movdqa %xmm2,0x20(%rcx) | movdqa %xmm2,0x20(%rcx) movdqa %xmm3,0x30(%rcx) | movdqa %xmm3,0x30(%rcx) movdqa (%rdx),%xmm0 | movdqa 0x40(%rdx),%xmm0 movdqa 0x20(%rdx),%xmm1 | movdqa 0x50(%rdx),%xmm1 movdqa 0x40(%rdx),%xmm2 | movdqa 0x60(%rdx),%xmm2 movdqa 0x60(%rdx),%xmm3 | movdqa 0x70(%rdx),%xmm3 [...] | movdqa %xmm0,(%rcx) | movdqa %xmm0,0x40(%rcx) movdqa %xmm1,0x20(%rcx) | movdqa %xmm1,0x50(%rcx) movdqa %xmm2,0x40(%rcx) | movdqa %xmm2,0x60(%rcx) movdqa %xmm3,0x60(%rcx) | movdqa %xmm3,0x70(%rcx) add $0x80,%rdx | add $0x80,%rdx add $0x80,%rcx | add $0x80,%rcx Other versions were unaffected. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dcadec: dont use hex float, msvc doesnt support itMichael Niedermayer2014-05-23
| | | | | | | | | | Found-by: nevcairiel Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dcadec: use a constant instead of assuming every compiler can ↵Michael Niedermayer2014-05-23
| | | | | | | | | | | | | | optimize pow(2,-15) Idea-by: nevcairiel and wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dcadec: make dca_dmix_code() 650% fasterMichael Niedermayer2014-05-23
| | | | | | | | | | | | | | This effectively replaces the ldexpf() function call by a multiplication with a constant. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2014-05-23
|\ \ | | | | | | | | | | | | | | | | | | * cehoyos/master: Refuse to mux H.264 with fourcc H264 into avi without startcode. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Refuse to mux H.264 with fourcc H264 into avi without startcode.Carl Eugen Hoyos2014-05-23
| | | | | | | | | | | | Fixes ticket #3638.
* | | Merge commit '21f68c2489cba2a1a4a41d0c5c828266e6162800'Michael Niedermayer2014-05-23
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * commit '21f68c2489cba2a1a4a41d0c5c828266e6162800': avcodec: bump version after rotation api Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | avcodec: bump version after rotation apiVittorio Giovara2014-05-23
| | | | | | | | | | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* | | dcadec: fix xxch_dmix_coeff and xxch_dmix_sf after mergeMichael Niedermayer2014-05-23
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge commit '6b7b8585d73548f08b98959df39d80b97677662f'Michael Niedermayer2014-05-23
|\| | | |/ |/| | | | | | | | | | | | | | | * commit '6b7b8585d73548f08b98959df39d80b97677662f': dca: Convert dca_dmixtable to integers Conflicts: libavcodec/dcadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dca: Convert dca_dmixtable to integersNiels Möller2014-05-23
| | | | | | | | | | | | | | | | Also include zero in the table, eliminating a special case in the decoder. Signed-off-by: Niels Möller <nisse@southpole.se> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | x86/diracdsp: mark all functions as yasmJames Almer2014-05-23
| | | | | | | | | | | | | | | | No inline asm dirac code remains in the tree, so replace every relevant check. This also moves all the dirac functions from dsputil_mmx.c to diracdsp_mmx.c Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mov: Dont blindly trust the stream duration in seting chapter timesMichael Niedermayer2014-05-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: Check end time in avpriv_new_chapter()Michael Niedermayer2014-05-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/movenc: Check that packet duration is valid in ff_mov_write_packet()Michael Niedermayer2014-05-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/dsputil: port ff_vector_clipf_sse to yasmJames Almer2014-05-23
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix the mime types for MPEG and MPEG-TS formatsFlorent Le Coz2014-05-22
| | | | | | | | | | | | As per the RFCs: http://tools.ietf.org/html/rfc3555#page-38 http://tools.ietf.org/html/rfc3003
* | x86: hpeldsp: avg_pixels_xy2 for mmx2&3dnowChristophe Gisquet2014-05-22
| | | | | | | | | | | | | | | | | | | | | | This is a port of the inline assembly of the mmx version to use the pavg(us|)b instruction. 8 16 mmx 1498 4355 mmx2 1242 3509 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hpeldsp: mark _xy2 versions as approximateChristophe Gisquet2014-05-22
| | | | | | | | | | | | | | | | | | | | Currently, only the mmx version is bitexact, the others (mmxext and 3dnow) are not, in spite of their naming. Therefore, make their name more obvious. Also restore a comment that was removed in 71155d7b. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hpeldsp: kill hpeldsp_mmx.cChristophe Gisquet2014-05-22
| | | | | | | | | | | | | | | | | | | | before: 1987 decicycles in 8_x2, 262121 runs, 23 skips after: 1902 decicycles in 8_x2, 262112 runs, 32 skips Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | maintainers: adding myself as a maintainer to webm dashVignesh Venkatasubramanian2014-05-22
| | | | | | | | | | | | | | adding myself as a maintainer to webm dash (part of matroskaenc.c) Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavformat/matroskaenc: Add WebM DASH supportVignesh Venkatasubramanian2014-05-22
| | | | | | | | | | | | | | | | | | | | | | WebM DASH specification [1] requires the Clusters and Cues to be output in a specific way. Adding a flag to matroskaenc that will enable support for creating WebM/Mkv files conforming to the WebM DASH specification. [1] http://wiki.webmproject.org/adaptive-streaming/webm-dash-specification Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2014-05-22
|\ \ | | | | | | | | | | | | | | | | | | * cehoyos/master: Autodetect Asterisk raw pcm with extension "sln". Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Autodetect Asterisk raw pcm with extension "sln".Carl Eugen Hoyos2014-05-22
| | |
* | | avdevice/v4l2: Use av_malloc_array()Michael Niedermayer2014-05-22
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>