Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-17swscale/swscale: add av_warn_unused_result to sws_init_contextGanesh Ajjanagadde
This should not trigger any warnings; but adds robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-13swscale: fix ticket #4881Pedro Arthur
When scaling only a slice of a frame the output was written always in the first lines leaving the rest of the frame black.
2015-10-10doc/scaler, swscale/options: use proper capitalizationGanesh Ajjanagadde
Proper names should be capitalized in all user facing API as far as possible. The option names themselves have not been changed since: 1. We consistently keep option names in lower case. 2. Changing them would break existing scripts. The converse is also true: improper names should not be capitalized generally. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-04all: add _DEFAULT_SOURCE locally wherever neededGanesh Ajjanagadde
Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE and _SVID_SOURCE. The solution from man feature_test_macros is to define both _DEFAULT_SOURCE and the old macros. This solution is on the lines of the one in commit af1818276ef271af98e2e2bbabb4dc875b4fa7d8. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2015-09-25swscale: fix ticket #4877Pedro Arthur
2015-09-21swscale: fix ticket 4850Pedro Arthur
2015-09-20swscale/output: fix undefined left shifts of negative numbersGanesh Ajjanagadde
This fixes -Wshift-negative-value reported with clang 3.7+, e.g http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-19libswscale/swscale: fix -Wunused-functionGanesh Ajjanagadde
hyscale, hcscale are only used in old filter code, hence place header guard to silence -Wunused-function. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-17swscale/swscale: silence unused function warningGanesh Ajjanagadde
gamma_convert is only used with the old code. Thus, it is placed under a header guard. This patch silences a -Wunused-function observed on GCC 5.2. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-11swscale/swscale: Fix "unused variable" warningMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-10swscale: Forward colorspace updates to the 2nd cascaded context in case of ↵Michael Niedermayer
alphablend The first just does the blending and wouldnt do anything with the colorspace values Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-10swscale/utils: Forward luma range to the cascaded context for alphablendingMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-10swscale/utils: handle gray+alpha formats like gray for luma rangesMichael Niedermayer
Its illogic to handle gray differently depending on the existence of an alpha channel Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-10swscale/utils: If the source has no alpha then disable alpha blendawayMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-08swscale: use AV_OPT_TYPE_BOOLClément Bœsch
2015-09-08Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes
2015-09-08Merge commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba'Hendrik Leppkes
* commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba': lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fieldsVittorio Giovara
The new fields can be accessed directly and are more intelligible. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-05Merge commit 'e88103a7f92cf27a2868b50acc8a9912f6088249'Hendrik Leppkes
* commit 'e88103a7f92cf27a2868b50acc8a9912f6088249': Bump major versions of all libraries Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05Merge commit '9d58639e270f7612874681e0ca30fa461e2667b7'Hendrik Leppkes
* commit '9d58639e270f7612874681e0ca30fa461e2667b7': sws: Drop deprecated SWS_CPU_CAPS defines Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05swscale: re-enable gammaPedro Arthur
+added gamma conversion to refactored code
2015-09-05swscale: added proper error check for ff_init_filtersPedro Arthur
2015-08-31swscale/utils: If cascaded contexts are used forward ↵Michael Niedermayer
sws_setColorspaceDetails() to the first context Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-31swscale/utils: Split scaling if possible and yuv->yuv with different ↵Michael Niedermayer
matrixes is requested This uses a RGB intermediate, a more optimal solution would be to perform the rematrixing directly in subsampled YUV, this is quite a bit more complicated though Fixes Ticket4805 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-28Bump major versions of all librariesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-08-28sws: Drop deprecated SWS_CPU_CAPS definesVittorio Giovara
Deprecated in 07/2012.
2015-08-26swscale: Silence an unused variable warningTimothy Gu
Also remove a pair of extraneous ifdeffery.
2015-08-22swscale/alphablend: fix pointer castGanesh Ajjanagadde
Commit 7c72a4bbd3a0ca421c7419abad2fb65aa713dd8b was slightly wrong Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-08-21swscale/alphablend: Fix pointer type warningsMichael Niedermayer
Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-19swscale: refactor vertical scalerPedro Arthur
2015-08-18swscale: Fixed typosPedro Arthur
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-18swscale: fixed compiler warningsPedro Arthur
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-18swscale: add license headers and copyrightsPedro Arthur
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-18swscale: process horizontal lines in batchesPedro Arthur
Process more lines in a single pass to improve performance Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-18swscale: refactor horizontal scalingPedro Arthur
+ split color conversion from scaling - disabled gamma correction, until it's refactored too Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-17swscale/swscale-test: Fix slice height in random reference data creation.Michael Niedermayer
Found-by: Pedro Arthur <bygrandao@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-09swscale/alphablend: Support chroma subsamplingMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-09swscale/alphablend: Support SWS_ALPHA_BLEND_CHECKERBOARDMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-09swscale/alphablend: Factor target computation out of the loopsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-09swscale/alphablend: Fix big endian formats on LEMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-09swscale/alphablend: support packed pixel formatsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-09swscale/swscale: Document param[0..1]Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-08swscale: Implement alphablendaway for planar 4:4:4 formatsMichael Niedermayer
Fixes Ticket4746 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-08swscale: Add sws_alloc_set_opts()Michael Niedermayer
This simplifies allocating and initializing swscale contexts with custom options. The function is internal currently but could be moved into the public header Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-25swscale/output: Fix "warning: assignment from incompatible pointer type"Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-24swscale: ayuv64le output supportPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-24swscale: ayuv64le input supportPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-16swscale/ppc/yuv2rgb_altivec: POWER LE support in the macros vec_unh() and ↵Rong Yan
vec_unl() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-15swscale/utils: Clear pix buffersMichael Niedermayer
Fixes use of uninitialized memory Fixes: a96874b9466b6edc660a519c7ad47977_signal_sigsegv_7ffff713351a_744_nc_sample.avi with memlimit 2147483648 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-04YUV->BGR32 MMX supportKevin Coyle
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>