Merge commit '9e5e76ef9ea803432ef2782a3f528c3f5bab621e'
* commit '9e5e76ef9ea803432ef2782a3f528c3f5bab621e': x86: More specific ifdefs for dsputil/hpeldsp init functions Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1255,7 +1255,7 @@ void ff_vector_clip_int32_sse4 (int32_t *dst, const int32_t *src,
|
||||
static av_cold void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx,
|
||||
int mm_flags)
|
||||
{
|
||||
#if HAVE_INLINE_ASM
|
||||
#if HAVE_MMX_INLINE
|
||||
const int high_bit_depth = avctx->bits_per_raw_sample > 8;
|
||||
|
||||
c->put_pixels_clamped = ff_put_pixels_clamped_mmx;
|
||||
@@ -1273,16 +1273,16 @@ static av_cold void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx,
|
||||
#endif
|
||||
|
||||
c->add_bytes = add_bytes_mmx;
|
||||
#endif /* HAVE_INLINE_ASM */
|
||||
#endif /* HAVE_MMX_INLINE */
|
||||
|
||||
#if HAVE_YASM
|
||||
#if HAVE_MMX_EXTERNAL
|
||||
if (CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
|
||||
c->h263_v_loop_filter = ff_h263_v_loop_filter_mmx;
|
||||
c->h263_h_loop_filter = ff_h263_h_loop_filter_mmx;
|
||||
}
|
||||
|
||||
c->vector_clip_int32 = ff_vector_clip_int32_mmx;
|
||||
#endif /* HAVE_YASM */
|
||||
#endif /* HAVE_MMX_EXTERNAL */
|
||||
}
|
||||
|
||||
static av_cold void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx,
|
||||
@@ -1315,7 +1315,7 @@ static av_cold void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx,
|
||||
static av_cold void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx,
|
||||
int mm_flags)
|
||||
{
|
||||
#if HAVE_INLINE_ASM
|
||||
#if HAVE_SSE_INLINE
|
||||
const int high_bit_depth = avctx->bits_per_raw_sample > 8;
|
||||
|
||||
if (!high_bit_depth) {
|
||||
@@ -1327,7 +1327,7 @@ static av_cold void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
c->vector_clipf = vector_clipf_sse;
|
||||
#endif /* HAVE_INLINE_ASM */
|
||||
#endif /* HAVE_SSE_INLINE */
|
||||
|
||||
#if HAVE_YASM
|
||||
#if HAVE_INLINE_ASM && CONFIG_VIDEODSP
|
||||
|
||||
Reference in New Issue
Block a user