summaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_spp: change temporary to unsignedMichael Niedermayer2014-12-123-5/+5
| | | | | | | More consistent with uspp and allows for future 10bit support Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: fix integer overflow in intermediateMichael Niedermayer2014-12-121-2/+2
| | | | | | Fixes Ticket3596 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: remove YUV 411/422/440Michael Niedermayer2014-12-121-5/+5
| | | | | | snow doesnt support 422/411/440 currently, so these do not work yet Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: use the average QP instead of QP[0]Michael Niedermayer2014-12-121-2/+10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: The qp array width is qp_stride not stride/16Michael Niedermayer2014-12-121-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: Allocate qp storage after qp_stride is knownMichael Niedermayer2014-12-121-9/+10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/version: bump for usppMichael Niedermayer2014-12-121-2/+2
| | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/uspp: use AVFILTER_DEFINE_CLASS()Clément Bœsch2014-12-121-7/+1
|
* avfilter/uspp: make src const in store_slice_c()Clément Bœsch2014-12-121-1/+1
|
* avfilter/uspp: misc style fixesClément Bœsch2014-12-121-51/+51
|
* lavfi: USPP FilterArwa Arif2014-12-123-0/+492
| | | | | Previous version reviewed by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_perspective: add av_assert0() to help gcc see that there are no ↵Michael Niedermayer2014-12-101-0/+3
| | | | | | uninitialized variables Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_signalstats: fix avframe leak on errorMichael Niedermayer2014-12-061-1/+3
| | | | | Fixes CID1257014 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/buffersrc: add context to av_log() callMichael Niedermayer2014-12-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/avcodec: use NULL instead of 0 for pointerMichael Niedermayer2014-12-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert "avfilter/vf_interlace: more accurate pts calculation"Michael Niedermayer2014-12-021-0/+2
| | | | | | | | | This reverts commit df8248f66e362c3015d95ac86d1917dde8dc0a0c. the revert produces a timebase and timestamps that are more close to what users expect Hoped-by: koda
* avfilter/vf_tinterlace: Favor using standard timebases for the outputMichael Niedermayer2014-12-022-2/+24
| | | | | | Reported-by: Vittorio Giovara <vittorio.giovara@gmail.com> Inspired by discussion with Kieran Kunhya <kierank@obe.tv> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_yadif: fix extra leading dup frame when deint=1Neil Birkbeck2014-11-291-3/+3
| | | | | | | | | | | | | | | | | | Logic for handling single frame in yadif (0f9f24c9), caused deint=1 (e.g., yadif=0:-1:1) to output extra duplicate leading frame: ffmpeg -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf yadif=0:-1:1,showinfo -f null -y /dev/null [Parsed_showinfo_1 @ 0x1d967d0] n:0 pts:0 pts_time:0 pos:-1 fmt:gray sar:0/1 s:352x432 i:P iskey:1 type:I checksum:E457EEA0 plane_checksum:[E457EEA0] mean:[126] stdev:[46.6] [Parsed_showinfo_1 @ 0x1d967d0] n:1 pts:0 pts_time:0 pos:-1 fmt:gray sar:0/1 s:352x432 i:P iskey:1 type:I checksum:E457EEA0 plane_checksum:[E457EEA0] mean:[126] stdev:[46.6] (Outputs 51 frames) After patch, vf "yadif=0:-1:1" behaves correctly (like "yadif=0:-1:0") and outputs 50 frames, first two: [Parsed_showinfo_1 @ 0x1e307d0] n:0 pts:0 pts_time:0 pos:-1 fmt:gray sar:0/1 s:352x432 i:P iskey:1 type:I checksum:68E8D1EB plane_checksum:[68E8D1EB] mean:[126] stdev:[46.0] [Parsed_showinfo_1 @ 0x1e307d0] n:1 pts:2 pts_time:0.04 pos:-1 fmt:gray sar:0/1 s:352x432 i:P iskey:1 type:I checksum:4E674BC7 plane_checksum:[4E674BC7] mean:[125] stdev:[46.0] (Outputs 50 frames) Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_idet: Fixing idet for single-frame inputs.Neil Birkbeck2014-11-281-4/+5
| | | | | | | | | | | | | | | | | | | | Handle single frame inputs similar to yadif (e.g., https://github.com/FFmpeg/FFmpeg/commit/0f9f24c9cfd291c7ece4d3bad64fdf06d107168a and https://github.com/FFmpeg/FFmpeg/commit/681e008d06d2241d50abe6316c908a184ddc5942) Example: ffmpeg -r 1 -t 1 -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet,showinfo -f null -y /dev/null Previously: Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) [Parsed_idet_0 @ 0x36389d0] Repeated Fields: Neither: 0 Top: 0 Bottom: 0 After patch: [Parsed_showinfo_1 @ 0x1909810] n:0 pts:0 pts_time:0 pos:-1 fmt:gray sar:0/1 s:352x432 ... [Parsed_idet_0 @ 0x18f9bb0] Repeated Fields: Neither: 1 Top: 0 Bottom: 0 Fate looks good. Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/signalstats: re-use yuv/yuvu/yuvv vars in diffClément Bœsch2014-11-261-3/+3
|
* avfilter/signalstats: localize a few variablesClément Bœsch2014-11-261-4/+3
|
* avfilter/signalstats: add threading in compute_sat_hue_metricsClément Bœsch2014-11-261-9/+28
|
* avfilter/signalstats: isolate sat hue computation metrics in a functionClément Bœsch2014-11-261-7/+70
| | | | This will be useful for the following commit
* avfilter/signalstats: add slice threading for subfiltersClément Bœsch2014-11-261-12/+60
|
* avfilter/signalstats: fix repitition/repetition typoClément Bœsch2014-11-261-2/+2
|
* avfilter/signalstats: reindent after previous commitClément Bœsch2014-11-261-53/+53
|
* avfilter/signalstats: integrate height loop into subfiltersClément Bœsch2014-11-261-17/+23
|
* avfilter/signalstats: remove pointless sub filter init systemClément Bœsch2014-11-261-42/+15
|
* avfilter/signalstats: fix different buffers for out frame if burn is enabledClément Bœsch2014-11-261-1/+3
| | | | This was the original intend.
* avfilter/x86/vf_interlace: remove redundant instructionsMichael Niedermayer2014-11-251-2/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'ca5c3ff90972a5c97aabda2ace57ba72dcd7d83b'Michael Niedermayer2014-11-251-2/+2
|\ | | | | | | | | | | | | | | | | | | | | * commit 'ca5c3ff90972a5c97aabda2ace57ba72dcd7d83b': vf_interlace: x86: improve asm performance Conflicts: libavfilter/x86/vf_interlace.asm See: 05e4b25e9b0a3586033dc21548b03c8e5071efe3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_interlace: x86: improve asm performanceMichael Niedermayer2014-11-251-27/+19
| | | | | | | | 4775 decicycles -> 3688 decicycles
* | avfilter/graphparser: Use av_freep(), avoid leaving stale pointers in memoryMichael Niedermayer2014-11-221-6/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/avf_concat: Use av_freep(), avoid leaving stale pointers in memoryMichael Niedermayer2014-11-221-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/formats: Alloc NULL fmts in SET_COMMON_FORMATS()Michael Niedermayer2014-11-211-1/+1
| | | | | | | | | | | | This avoids null pointer dereferences in case memory allocation has failed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/formats: free the correct pointer in ADD_FORMAT()Michael Niedermayer2014-11-211-1/+3
| | | | | | | | | | | | | | Also only free it when it was not previously allocated to return to the state prior to the failing function call Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '863ee8a855b8ce27ffef41479eb66da58763faed'Michael Niedermayer2014-11-211-1/+3
|\ \ | |/ | | | | | | | | | | * commit '863ee8a855b8ce27ffef41479eb66da58763faed': lavfi: clean memory on error in ADD_FORMAT() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: clean memory on error in ADD_FORMAT()Vittorio Giovara2014-11-211-1/+3
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1250334
* | avfilter/af_volume: Use avpriv_float_dsp_alloc()Michael Niedermayer2014-11-182-5/+9
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/af_amix: Use avpriv_float_dsp_alloc()Michael Niedermayer2014-11-181-3/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpcodecs: Use _INLINE guards for inline asm.Matthew Oliver2014-11-176-29/+29
| | | | | | | | | | | | Enabled compilation with compiler without inline asm support. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_tinterlace: remove unused variableMichael Niedermayer2014-11-161-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/xbr: fix style in FILT4() callsClément Bœsch2014-11-151-4/+4
| |
* | avfilter/xbr: clarify default "interpolated" pixels assignmentsClément Bœsch2014-11-151-6/+7
| |
* | avfilter/xbr: refactor xbr[234]x into a single functionClément Bœsch2014-11-151-143/+91
| | | | | | | | No speed difference.
* | avfilter/xbr: add slice threadingClément Bœsch2014-11-151-11/+40
| |
* | avfilter/xbr: add video and filtering flags to optionsClément Bœsch2014-11-151-1/+2
| | | | | | | | Fixes ffmpeg -h filter=xbr
* | avfilter/xbr: use function pointers for xbr[234]xClément Bœsch2014-11-151-6/+7
| |
* | avfilter/xbr: remove FATE test entry from @todoClément Bœsch2014-11-151-1/+1
| | | | | | | | See 57688aecbd720f4b02acc65b5006b14b7dd6a9f4
* | avfilter/xbr: consistent copyright headerClément Bœsch2014-11-151-2/+1
| |
OpenPOWER on IntegriCloud