mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: Add some missing mathematics.h #includes for av_rescale(). opencore-amr: Add missing initializer braces to shut up gcc warning. ARM: workaround for bug in GNU assembler dv: fix comment wording mistake Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c dv: fix valgrind use of uninitialised value warnings. mxfenc: fix ignored drop flag in binary timecode representation. PPC: use Altivec IMDCT only for supported sizes dv: fix comment spelling configure: simplify -rpath-link linker flag Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
aa61ca0c59
2
configure
vendored
2
configure
vendored
@ -3024,7 +3024,7 @@ enabled extra_warnings && check_cflags -Winline
|
|||||||
|
|
||||||
# add some linker flags
|
# add some linker flags
|
||||||
check_ldflags -Wl,--warn-common
|
check_ldflags -Wl,--warn-common
|
||||||
check_ldflags -Wl,-rpath-link,libpostproc -Wl,-rpath-link,libswscale -Wl,-rpath-link,libavfilter -Wl,-rpath-link,libavdevice -Wl,-rpath-link,libavformat -Wl,-rpath-link,libavcodec -Wl,-rpath-link,libavutil
|
check_ldflags -Wl,-rpath-link=libpostproc:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil
|
||||||
test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
|
test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
|
||||||
|
|
||||||
echo "X{};" > $TMPV
|
echo "X{};" > $TMPV
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
vhsub.s16 \r0, \d0, \d1 @ t3, t4, t8, t7
|
vhsub.s16 \r0, \d0, \d1 @ t3, t4, t8, t7
|
||||||
vhsub.s16 \r1, \d1, \d0
|
vhsub.s16 \r1, \d1, \d0
|
||||||
vhadd.s16 \d0, \d0, \d1 @ t1, t2, t6, t5
|
vhadd.s16 \d0, \d0, \d1 @ t1, t2, t6, t5
|
||||||
vmov.i64 \d1, #0xffff<<32
|
vmov.i64 \d1, #0xffff00000000
|
||||||
vbit \r0, \r1, \d1
|
vbit \r0, \r1, \d1
|
||||||
vrev64.16 \r1, \r0 @ t7, t8, t4, t3
|
vrev64.16 \r1, \r0 @ t7, t8, t4, t3
|
||||||
vtrn.32 \r0, \r1 @ t3, t4, t7, t8
|
vtrn.32 \r0, \r1 @ t3, t4, t7, t8
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* DSP utils
|
* DSP utils
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "high_bit_depth.h"
|
#include "bit_depth_template.c"
|
||||||
|
|
||||||
static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
|
static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* @author Michael Niedermayer <michaelni@gmx.at>
|
* @author Michael Niedermayer <michaelni@gmx.at>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "high_bit_depth.h"
|
#include "bit_depth_template.c"
|
||||||
|
|
||||||
#define op_scale1(x) block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )
|
#define op_scale1(x) block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )
|
||||||
#define op_scale2(x) dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1))
|
#define op_scale2(x) dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1))
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* @author Michael Niedermayer <michaelni@gmx.at>
|
* @author Michael Niedermayer <michaelni@gmx.at>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "high_bit_depth.h"
|
#include "bit_depth_template.c"
|
||||||
|
|
||||||
#ifndef AVCODEC_H264IDCT_INTERNAL_H
|
#ifndef AVCODEC_H264IDCT_INTERNAL_H
|
||||||
#define AVCODEC_H264IDCT_INTERNAL_H
|
#define AVCODEC_H264IDCT_INTERNAL_H
|
||||||
|
@ -26,7 +26,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
#include "high_bit_depth.h"
|
|
||||||
|
#include "bit_depth_template.c"
|
||||||
|
|
||||||
static void FUNCC(pred4x4_vertical)(uint8_t *_src, const uint8_t *topright, int _stride){
|
static void FUNCC(pred4x4_vertical)(uint8_t *_src, const uint8_t *topright, int _stride){
|
||||||
pixel *src = (pixel*)_src;
|
pixel *src = (pixel*)_src;
|
||||||
|
@ -88,7 +88,7 @@ typedef struct AMRContext {
|
|||||||
} AMRContext;
|
} AMRContext;
|
||||||
|
|
||||||
static const AVOption options[] = {
|
static const AVOption options[] = {
|
||||||
{ "dtx", "Allow DTX (generate comfort noise)", offsetof(AMRContext, enc_dtx), FF_OPT_TYPE_INT, 0, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
|
{ "dtx", "Allow DTX (generate comfort noise)", offsetof(AMRContext, enc_dtx), FF_OPT_TYPE_INT, { 0 }, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -141,7 +141,9 @@ av_cold void ff_fft_init_altivec(FFTContext *s)
|
|||||||
{
|
{
|
||||||
#if HAVE_GNU_AS
|
#if HAVE_GNU_AS
|
||||||
s->fft_calc = ff_fft_calc_interleave_altivec;
|
s->fft_calc = ff_fft_calc_interleave_altivec;
|
||||||
|
if (s->mdct_bits >= 5) {
|
||||||
s->imdct_calc = ff_imdct_calc_altivec;
|
s->imdct_calc = ff_imdct_calc_altivec;
|
||||||
s->imdct_half = ff_imdct_half_altivec;
|
s->imdct_half = ff_imdct_half_altivec;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "libavutil/log.h"
|
#include "libavutil/log.h"
|
||||||
|
#include "libavutil/mathematics.h"
|
||||||
#include "libavutil/opt.h"
|
#include "libavutil/opt.h"
|
||||||
#include "avdevice.h"
|
#include "avdevice.h"
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <frei0r.h>
|
#include <frei0r.h>
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "libavutil/imgutils.h"
|
#include "libavutil/imgutils.h"
|
||||||
|
#include "libavutil/mathematics.h"
|
||||||
#include "libavutil/parseutils.h"
|
#include "libavutil/parseutils.h"
|
||||||
#include "avfilter.h"
|
#include "avfilter.h"
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "libavutil/dict.h"
|
#include "libavutil/dict.h"
|
||||||
#include "libavutil/intfloat_readwrite.h"
|
#include "libavutil/intfloat_readwrite.h"
|
||||||
|
#include "libavutil/mathematics.h"
|
||||||
#include "libavcodec/bytestream.h"
|
#include "libavcodec/bytestream.h"
|
||||||
#include "libavcodec/mpeg4audio.h"
|
#include "libavcodec/mpeg4audio.h"
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
* RTMP protocol based on http://rtmpdump.mplayerhq.hu/ librtmp
|
* RTMP protocol based on http://rtmpdump.mplayerhq.hu/ librtmp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/mathematics.h"
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "url.h"
|
#include "url.h"
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "libavutil/intreadwrite.h"
|
#include "libavutil/intreadwrite.h"
|
||||||
#include "libavutil/log.h"
|
#include "libavutil/log.h"
|
||||||
#include "libavutil/dict.h"
|
#include "libavutil/dict.h"
|
||||||
|
#include "libavutil/mathematics.h"
|
||||||
#include "libavutil/opt.h"
|
#include "libavutil/opt.h"
|
||||||
#include "libavcodec/bytestream.h"
|
#include "libavcodec/bytestream.h"
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user