* [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn @ 2023-08-31 22:20 Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 02/13] avfilter/vf_gblur: Remove unnecessary emms_c() Andreas Rheinhardt ` (13 more replies) 0 siblings, 14 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:20 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt ff_scene_sad_get_fn() does not return functions that use MMX at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/f_select.c | 1 - libavfilter/vf_framerate.c | 1 - libavfilter/vf_freezedetect.c | 1 - libavfilter/vf_minterpolate.c | 1 - libavfilter/vf_scdet.c | 1 - 5 files changed, 5 deletions(-) diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index 49fcdc31ff..c9e216f51c 100644 --- a/libavfilter/f_select.c +++ b/libavfilter/f_select.c @@ -294,7 +294,6 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *frame) count += select->width[plane] * select->height[plane]; } - emms_c(); mafd = (double)sad / count / (1ULL << (select->bitdepth - 8)); diff = fabs(mafd - select->prev_mafd); ret = av_clipf(FFMIN(mafd, diff) / 100., 0, 1); diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 6ef5dca27a..6d448be74c 100644 --- a/libavfilter/vf_framerate.c +++ b/libavfilter/vf_framerate.c @@ -76,7 +76,6 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *crnt, AVFrame *next ff_dlog(ctx, "get_scene_score() process\n"); s->sad(crnt->data[0], crnt->linesize[0], next->data[0], next->linesize[0], crnt->width, crnt->height, &sad); - emms_c(); mafd = (double)sad * 100.0 / (crnt->width * crnt->height) / (1 << s->bitdepth); diff = fabs(mafd - s->prev_mafd); ret = av_clipf(FFMIN(mafd, diff), 0, 100.0); diff --git a/libavfilter/vf_freezedetect.c b/libavfilter/vf_freezedetect.c index fb4e59b127..18d392d9ae 100644 --- a/libavfilter/vf_freezedetect.c +++ b/libavfilter/vf_freezedetect.c @@ -131,7 +131,6 @@ static int is_frozen(FreezeDetectContext *s, AVFrame *reference, AVFrame *frame) count += s->width[plane] * s->height[plane]; } } - emms_c(); mafd = (double)sad / count / (1ULL << s->bitdepth); return (mafd <= s->noise); } diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index 610ac6b1bb..9920210ece 100644 --- a/libavfilter/vf_minterpolate.c +++ b/libavfilter/vf_minterpolate.c @@ -825,7 +825,6 @@ static int detect_scene_change(AVFilterContext *ctx) double ret = 0, mafd, diff; uint64_t sad; mi_ctx->sad(p1, linesize1, p2, linesize2, input->w, input->h, &sad); - emms_c(); mafd = (double) sad * 100.0 / (input->h * input->w) / (1 << mi_ctx->bitdepth); diff = fabs(mafd - mi_ctx->prev_mafd); ret = av_clipf(FFMIN(mafd, diff), 0, 100.0); diff --git a/libavfilter/vf_scdet.c b/libavfilter/vf_scdet.c index 6de84a43a0..15399cfebf 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -126,7 +126,6 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *frame) count += s->width[plane] * s->height[plane]; } - emms_c(); mafd = (double)sad * 100. / count / (1ULL << s->bitdepth); diff = fabs(mafd - s->prev_mafd); ret = av_clipf(FFMIN(mafd, diff), 0, 100.); -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 02/13] avfilter/vf_gblur: Remove unnecessary emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 03/13] avfilter/vf_colorspace: Remove redundant emms_c() Andreas Rheinhardt ` (12 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt There is no MMX ASM code for gblur. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/vf_gblur.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/vf_gblur.c b/libavfilter/vf_gblur.c index 6e8ef96235..6ce2c84736 100644 --- a/libavfilter/vf_gblur.c +++ b/libavfilter/vf_gblur.c @@ -73,7 +73,6 @@ static int filter_horizontally(AVFilterContext *ctx, void *arg, int jobnr, int n s->horiz_slice(buffer + width * slice_start, width, slice_end - slice_start, steps, nu, boundaryscale, localbuf); - emms_c(); return 0; } -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 03/13] avfilter/vf_colorspace: Remove redundant emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 02/13] avfilter/vf_gblur: Remove unnecessary emms_c() Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 04/13] avfilter/vf_bwdif: Remove obsolete emms_c() Andreas Rheinhardt ` (11 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt It is not even clear what these emms_c() are supposed to achieve: create_filtergraph() (where it may be called) does not call ASM functions itself; it merely sets some function pointers. Furthermore, there are no colorspacedsp functions using MMX (checked by checkasm which does not use declare_new_emms()). Finally, checking whether to issue emms_c() is overblown anyway. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/vf_colorspace.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c index 852dc11c6c..2a30434401 100644 --- a/libavfilter/vf_colorspace.c +++ b/libavfilter/vf_colorspace.c @@ -400,7 +400,7 @@ static int create_filtergraph(AVFilterContext *ctx, ColorSpaceContext *s = ctx->priv; const AVPixFmtDescriptor *in_desc = av_pix_fmt_desc_get(in->format); const AVPixFmtDescriptor *out_desc = av_pix_fmt_desc_get(out->format); - int emms = 0, m, n, o, res, fmt_identical, redo_yuv2rgb = 0, redo_rgb2yuv = 0; + int m, n, o, res, fmt_identical, redo_yuv2rgb = 0, redo_rgb2yuv = 0; #define supported_depth(d) ((d) == 8 || (d) == 10 || (d) == 12) #define supported_subsampling(lcw, lch) \ @@ -494,7 +494,6 @@ static int create_filtergraph(AVFilterContext *ctx, s->lrgb2lrgb_coeffs[m][n][o] = s->lrgb2lrgb_coeffs[m][n][0]; } - emms = 1; } } @@ -542,7 +541,6 @@ static int create_filtergraph(AVFilterContext *ctx, res = fill_gamma_table(s); if (res < 0) return res; - emms = 1; } if (!s->in_lumacoef) { @@ -625,7 +623,6 @@ static int create_filtergraph(AVFilterContext *ctx, av_assert2(s->yuv2rgb_coeffs[0][0][0] == s->yuv2rgb_coeffs[2][0][0]); s->yuv2rgb = s->dsp.yuv2rgb[(in_desc->comp[0].depth - 8) >> 1] [in_desc->log2_chroma_h + in_desc->log2_chroma_w]; - emms = 1; } if (redo_rgb2yuv) { @@ -656,7 +653,6 @@ static int create_filtergraph(AVFilterContext *ctx, [out_desc->log2_chroma_h + out_desc->log2_chroma_w]; s->rgb2yuv_fsb = s->dsp.rgb2yuv_fsb[(out_desc->comp[0].depth - 8) >> 1] [out_desc->log2_chroma_h + out_desc->log2_chroma_w]; - emms = 1; } if (s->yuv2yuv_fastmode && (redo_yuv2rgb || redo_rgb2yuv)) { @@ -683,9 +679,6 @@ static int create_filtergraph(AVFilterContext *ctx, } } - if (emms) - emms_c(); - return 0; } -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 04/13] avfilter/vf_bwdif: Remove obsolete emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 02/13] avfilter/vf_gblur: Remove unnecessary emms_c() Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 03/13] avfilter/vf_colorspace: Remove redundant emms_c() Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 05/13] avfilter/afir_template: Remove unnecessary emms_c() Andreas Rheinhardt ` (10 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt Obsolete since ed42a51930d9cca6dfed35c4af4b5b3a3f7f6a04. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/vf_bwdif.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c index 5f5f8e4610..6195e6cb64 100644 --- a/libavfilter/vf_bwdif.c +++ b/libavfilter/vf_bwdif.c @@ -319,8 +319,6 @@ static void filter(AVFilterContext *ctx, AVFrame *dstpic, if (yadif->current_field == YADIF_FIELD_END) { yadif->current_field = YADIF_FIELD_NORMAL; } - - emms_c(); } static av_cold void uninit(AVFilterContext *ctx) -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 05/13] avfilter/afir_template: Remove unnecessary emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (2 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 04/13] avfilter/vf_bwdif: Remove obsolete emms_c() Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 06/13] avfilter/af_volume: " Andreas Rheinhardt ` (9 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/afir_template.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/afir_template.c b/libavfilter/afir_template.c index 099fda2520..9a11ec2fa6 100644 --- a/libavfilter/afir_template.c +++ b/libavfilter/afir_template.c @@ -318,7 +318,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs #else s->fdsp->vector_dmul_scalar(src + input_offset, in, dry_gain, FFALIGN(nb_samples, 8)); #endif - emms_c(); } else { ftype *src2 = src + input_offset; for (int n = 0; n < nb_samples; n++) @@ -385,7 +384,6 @@ static int fn(fir_quantum)(AVFilterContext *ctx, AVFrame *out, int ch, int ioffs #else s->fdsp->vector_dmul_scalar(ptr, ptr, wet_gain, FFALIGN(nb_samples, 8)); #endif - emms_c(); } else { for (int n = 0; n < nb_samples; n++) ptr[n] *= wet_gain; -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 06/13] avfilter/af_volume: Remove unnecessary emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (3 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 05/13] avfilter/afir_template: Remove unnecessary emms_c() Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 07/13] avfilter/af_sofalizer: " Andreas Rheinhardt ` (8 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/af_volume.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c index 926529947c..b41c15e867 100644 --- a/libavfilter/af_volume.c +++ b/libavfilter/af_volume.c @@ -447,8 +447,6 @@ FF_ENABLE_DEPRECATION_WARNINGS } } - emms_c(); - if (buf != out_buf) av_frame_free(&buf); -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 07/13] avfilter/af_sofalizer: Remove unnecessary emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (4 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 06/13] avfilter/af_volume: " Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 08/13] avfilter/af_headphone: " Andreas Rheinhardt ` (7 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/af_sofalizer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c index 60e0da30e9..5c2f34aa42 100644 --- a/libavfilter/af_sofalizer.c +++ b/libavfilter/af_sofalizer.c @@ -598,7 +598,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) } else if (s->type == FREQUENCY_DOMAIN) { ff_filter_execute(ctx, sofalizer_fast_convolute, &td, NULL, 2); } - emms_c(); /* display error message if clipping occurred */ if (n_clippings[0] + n_clippings[1] > 0) { -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 08/13] avfilter/af_headphone: Remove unnecessary emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (5 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 07/13] avfilter/af_sofalizer: " Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 09/13] avfilter/af_amultiply: " Andreas Rheinhardt ` (6 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/af_headphone.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c index c8f753387f..7651ead731 100644 --- a/libavfilter/af_headphone.c +++ b/libavfilter/af_headphone.c @@ -359,7 +359,6 @@ static int headphone_frame(HeadphoneContext *s, AVFrame *in, AVFilterLink *outli } else { ff_filter_execute(ctx, headphone_fast_convolute, &td, NULL, 2); } - emms_c(); if (n_clippings[0] + n_clippings[1] > 0) { av_log(ctx, AV_LOG_WARNING, "%d of %d samples clipped. Please reduce gain.\n", -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 09/13] avfilter/af_amultiply: Remove unnecessary emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (6 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 08/13] avfilter/af_headphone: " Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 10/13] avcodec/pcm: " Andreas Rheinhardt ` (5 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/af_amultiply.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/af_amultiply.c b/libavfilter/af_amultiply.c index 3d8782002b..0e2bdacd8f 100644 --- a/libavfilter/af_amultiply.c +++ b/libavfilter/af_amultiply.c @@ -90,7 +90,6 @@ static int activate(AVFilterContext *ctx) plane_samples); } } - emms_c(); av_frame_free(&s->frames[0]); av_frame_free(&s->frames[1]); -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 10/13] avcodec/pcm: Remove unnecessary emms_c() 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (7 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 09/13] avfilter/af_amultiply: " Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 11/13] tests/checkasm/hevc_*: Avoid using declare_func_emms where possible Andreas Rheinhardt ` (4 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt The floating point dsp code does not use MMX registers since 2718a3be1f8867fd4f6cb3f452d6917838b1ed88. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/pcm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 467ecb4fe0..4abca7cc07 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -538,7 +538,6 @@ static int pcm_decode_frame(AVCodecContext *avctx, AVFrame *frame, s->vector_fmul_scalar((float *)frame->extended_data[0], (const float *)frame->extended_data[0], s->scale, FFALIGN(frame->nb_samples * avctx->ch_layout.nb_channels, 4)); - emms_c(); } *got_frame_ptr = 1; -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 11/13] tests/checkasm/hevc_*: Avoid using declare_func_emms where possible 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (8 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 10/13] avcodec/pcm: " Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 12/13] tests/checkasm/llvidencdsp: Don't use declare_func_emms Andreas Rheinhardt ` (3 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt Only the idct_dc and add_residual functions have MMX versions, so one can use the version with the stricter check (that checks that the MMX registers have not been clobbered) for all the other checks. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- tests/checkasm/hevc_deblock.c | 2 +- tests/checkasm/hevc_idct.c | 2 +- tests/checkasm/hevc_pel.c | 52 +++++++++++++++++------------------ tests/checkasm/hevc_sao.c | 8 +++--- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/tests/checkasm/hevc_deblock.c b/tests/checkasm/hevc_deblock.c index 5e4338af1c..66fc8d5646 100644 --- a/tests/checkasm/hevc_deblock.c +++ b/tests/checkasm/hevc_deblock.c @@ -55,7 +55,7 @@ static void check_deblock_chroma(HEVCDSPContext *h, int bit_depth) LOCAL_ALIGNED_32(uint8_t, buf0, [BUF_SIZE]); LOCAL_ALIGNED_32(uint8_t, buf1, [BUF_SIZE]); - declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *pix, ptrdiff_t stride, int32_t *tc, uint8_t *no_p, uint8_t *no_q); + declare_func(void, uint8_t *pix, ptrdiff_t stride, int32_t *tc, uint8_t *no_p, uint8_t *no_q); if (check_func(h->hevc_h_loop_filter_chroma, "hevc_h_loop_filter_chroma%d", bit_depth)) { for (int i = 0; i < 4; i++) { diff --git a/tests/checkasm/hevc_idct.c b/tests/checkasm/hevc_idct.c index 49cfc4801f..9da8b858a0 100644 --- a/tests/checkasm/hevc_idct.c +++ b/tests/checkasm/hevc_idct.c @@ -91,7 +91,7 @@ static void check_transform_luma(HEVCDSPContext *h, int bit_depth) int block_size = 4; int size = block_size * block_size; - declare_func_emms(AV_CPU_FLAG_MMXEXT, void, int16_t *coeffs); + declare_func(void, int16_t *coeffs); randomize_buffers(coeffs0, size); memcpy(coeffs1, coeffs0, sizeof(*coeffs0) * size); diff --git a/tests/checkasm/hevc_pel.c b/tests/checkasm/hevc_pel.c index 43aa5cd084..f9a7a7717c 100644 --- a/tests/checkasm/hevc_pel.c +++ b/tests/checkasm/hevc_pel.c @@ -79,8 +79,8 @@ static void checkasm_check_hevc_qpel(void) HEVCDSPContext h; int size, bit_depth, i, j, row; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, int16_t *dst, uint8_t *src, ptrdiff_t srcstride, - int height, intptr_t mx, intptr_t my, int width); + declare_func(void, int16_t *dst, uint8_t *src, ptrdiff_t srcstride, + int height, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -123,8 +123,8 @@ static void checkasm_check_hevc_qpel_uni(void) HEVCDSPContext h; int size, bit_depth, i, j; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int height, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int height, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -165,8 +165,8 @@ static void checkasm_check_hevc_qpel_uni_w(void) HEVCDSPContext h; int size, bit_depth, i, j; const int *denom, *wx, *ox; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -214,9 +214,9 @@ static void checkasm_check_hevc_qpel_bi(void) HEVCDSPContext h; int size, bit_depth, i, j; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int16_t *src2, - int height, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int16_t *src2, + int height, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -259,10 +259,10 @@ static void checkasm_check_hevc_qpel_bi_w(void) HEVCDSPContext h; int size, bit_depth, i, j; const int *denom, *wx, *ox; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int16_t *src2, - int height, int denom, int wx0, int wx1, - int ox0, int ox1, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int16_t *src2, + int height, int denom, int wx0, int wx1, + int ox0, int ox1, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -311,8 +311,8 @@ static void checkasm_check_hevc_epel(void) HEVCDSPContext h; int size, bit_depth, i, j, row; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, int16_t *dst, uint8_t *src, ptrdiff_t srcstride, - int height, intptr_t mx, intptr_t my, int width); + declare_func(void, int16_t *dst, uint8_t *src, ptrdiff_t srcstride, + int height, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -355,8 +355,8 @@ static void checkasm_check_hevc_epel_uni(void) HEVCDSPContext h; int size, bit_depth, i, j; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int height, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int height, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -397,8 +397,8 @@ static void checkasm_check_hevc_epel_uni_w(void) HEVCDSPContext h; int size, bit_depth, i, j; const int *denom, *wx, *ox; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -446,9 +446,9 @@ static void checkasm_check_hevc_epel_bi(void) HEVCDSPContext h; int size, bit_depth, i, j; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int16_t *src2, - int height, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int16_t *src2, + int height, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); @@ -491,10 +491,10 @@ static void checkasm_check_hevc_epel_bi_w(void) HEVCDSPContext h; int size, bit_depth, i, j; const int *denom, *wx, *ox; - declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, - int16_t *src2, - int height, int denom, int wx0, int wx1, - int ox0, int ox1, intptr_t mx, intptr_t my, int width); + declare_func(void, uint8_t *dst, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, + int16_t *src2, + int height, int denom, int wx0, int wx1, + int ox0, int ox1, intptr_t mx, intptr_t my, int width); for (bit_depth = 8; bit_depth <= 12; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); diff --git a/tests/checkasm/hevc_sao.c b/tests/checkasm/hevc_sao.c index 94aa1942e1..da3f710537 100644 --- a/tests/checkasm/hevc_sao.c +++ b/tests/checkasm/hevc_sao.c @@ -80,8 +80,8 @@ static void check_sao_band(HEVCDSPContext *h, int bit_depth) int block_size = sao_size[i]; int prev_size = i > 0 ? sao_size[i - 1] : 0; ptrdiff_t stride = PIXEL_STRIDE*SIZEOF_PIXEL; - declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, uint8_t *src, ptrdiff_t dst_stride, ptrdiff_t src_stride, - int16_t *sao_offset_val, int sao_left_class, int width, int height); + declare_func(void, uint8_t *dst, uint8_t *src, ptrdiff_t dst_stride, ptrdiff_t src_stride, + int16_t *sao_offset_val, int sao_left_class, int width, int height); if (check_func(h->sao_band_filter[i], "hevc_sao_band_%d_%d", block_size, bit_depth)) { @@ -118,8 +118,8 @@ static void check_sao_edge(HEVCDSPContext *h, int bit_depth) int prev_size = i > 0 ? sao_size[i - 1] : 0; ptrdiff_t stride = PIXEL_STRIDE*SIZEOF_PIXEL; int offset = (AV_INPUT_BUFFER_PADDING_SIZE + PIXEL_STRIDE)*SIZEOF_PIXEL; - declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, uint8_t *src, ptrdiff_t stride_dst, - int16_t *sao_offset_val, int eo, int width, int height); + declare_func(void, uint8_t *dst, uint8_t *src, ptrdiff_t stride_dst, + int16_t *sao_offset_val, int eo, int width, int height); for (int w = prev_size + 4; w <= block_size; w += 4) { randomize_buffers(src0, src1, BUF_SIZE); -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 12/13] tests/checkasm/llvidencdsp: Don't use declare_func_emms 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (9 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 11/13] tests/checkasm/hevc_*: Avoid using declare_func_emms where possible Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 13/13] tests/checkasm/sw_scale: Avoid declare_func_emms where possible Andreas Rheinhardt ` (2 subsequent siblings) 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt Only sub_media_pred has an MMXEXT version, so one can use the version with the stricter check (that checks that the MMX registers have not been clobbered) for sub_left_predict. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- tests/checkasm/llviddspenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/llviddspenc.c b/tests/checkasm/llviddspenc.c index e12003aeeb..c2eb63519f 100644 --- a/tests/checkasm/llviddspenc.c +++ b/tests/checkasm/llviddspenc.c @@ -81,8 +81,8 @@ static void check_sub_left_pred(LLVidEncDSPContext *c) LOCAL_ALIGNED_32(uint8_t, src0, [MAX_STRIDE * MAX_HEIGHT]); LOCAL_ALIGNED_32(uint8_t, src1, [MAX_STRIDE * MAX_HEIGHT]); - declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, const uint8_t *src, - ptrdiff_t stride, ptrdiff_t width, int height); + declare_func(void, uint8_t *dst, const uint8_t *src, + ptrdiff_t stride, ptrdiff_t width, int height); memset(dst0, 0, MAX_STRIDE * MAX_HEIGHT); memset(dst1, 0, MAX_STRIDE * MAX_HEIGHT); -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 13/13] tests/checkasm/sw_scale: Avoid declare_func_emms where possible 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (10 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 12/13] tests/checkasm/llvidencdsp: Don't use declare_func_emms Andreas Rheinhardt @ 2023-08-31 22:22 ` Andreas Rheinhardt 2023-08-31 22:26 ` [FFmpeg-devel] [PATCH 14/14] avutil/internal: Don't auto-include emms.h Andreas Rheinhardt 2023-09-03 11:42 ` [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:22 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt This makes the test stricter because it is checked that the MMX registers are not accidentally clobbered. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- tests/checkasm/sw_scale.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c index 3b8dd310ec..1305b38744 100644 --- a/tests/checkasm/sw_scale.c +++ b/tests/checkasm/sw_scale.c @@ -110,9 +110,9 @@ static void check_yuv2yuv1(int accurate) const int OFFSET_SIZES = sizeof(offsets)/sizeof(offsets[0]); const char *accurate_str = (accurate) ? "accurate" : "approximate"; - declare_func_emms(AV_CPU_FLAG_MMX, void, - const int16_t *src, uint8_t *dest, - int dstW, const uint8_t *dither, int offset); + declare_func(void, + const int16_t *src, uint8_t *dest, + int dstW, const uint8_t *dither, int offset); LOCAL_ALIGNED_16(int16_t, src_pixels, [LARGEST_INPUT_SIZE]); LOCAL_ALIGNED_16(uint8_t, dst0, [LARGEST_INPUT_SIZE]); @@ -288,9 +288,9 @@ static void check_hscale(void) // The dst parameter here is either int16_t or int32_t but we use void* to // just cover both cases. - declare_func_emms(AV_CPU_FLAG_MMX, void, void *c, void *dst, int dstW, - const uint8_t *src, const int16_t *filter, - const int32_t *filterPos, int filterSize); + declare_func(void, void *c, void *dst, int dstW, + const uint8_t *src, const int16_t *filter, + const int32_t *filterPos, int filterSize); ctx = sws_alloc_context(); if (sws_init_context(ctx, NULL, NULL) < 0) -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 14/14] avutil/internal: Don't auto-include emms.h 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (11 preceding siblings ...) 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 13/13] tests/checkasm/sw_scale: Avoid declare_func_emms where possible Andreas Rheinhardt @ 2023-08-31 22:26 ` Andreas Rheinhardt 2023-09-03 11:42 ` [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-08-31 22:26 UTC (permalink / raw) To: ffmpeg-devel; +Cc: Andreas Rheinhardt Instead include emms.h wherever it is needed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/ac3enc.c | 1 + libavcodec/avcodec.c | 1 + libavcodec/bink.c | 1 + libavcodec/cavsdec.c | 1 + libavcodec/dca_core.c | 1 + libavcodec/decode.c | 1 + libavcodec/dvdec.c | 1 + libavcodec/dvenc.c | 1 + libavcodec/encode.c | 1 + libavcodec/faandct.c | 1 + libavcodec/faanidct.c | 1 + libavcodec/h264_picture.c | 1 + libavcodec/h264dec.c | 1 + libavcodec/huffyuvdec.c | 1 + libavcodec/huffyuvenc.c | 1 + libavcodec/mjpegdec.c | 1 + libavcodec/mpeg12dec.c | 1 + libavcodec/mpegutils.c | 1 + libavcodec/mpegvideo_dec.c | 1 + libavcodec/mpegvideo_enc.c | 1 + libavcodec/ratecontrol.c | 1 + libavcodec/sbcenc.c | 1 + libavcodec/snowdec.c | 1 + libavcodec/snowenc.c | 1 + libavcodec/svq1enc.c | 1 + libavcodec/tests/dct.c | 1 + libavcodec/tests/motion.c | 1 + libavcodec/vp3.c | 1 + libavfilter/vf_deshake.c | 1 + libavfilter/vf_fspp.c | 1 + libavfilter/vf_gradfun.c | 1 + libavfilter/vf_hqdn3d.c | 1 + libavfilter/vf_mpdecimate.c | 1 + libavfilter/vf_noise.c | 1 + libavfilter/vf_pp7.c | 1 + libavfilter/vf_pullup.c | 1 + libavfilter/vf_spp.c | 1 + libavutil/{x86 => }/emms.h | 14 +++++++++++--- libavutil/internal.h | 8 -------- libswscale/swscale.c | 1 + libswscale/utils.c | 1 + tests/checkasm/checkasm.h | 1 + tests/checkasm/vp9dsp.c | 1 + 43 files changed, 52 insertions(+), 11 deletions(-) rename libavutil/{x86 => }/emms.h (91%) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 3cb4e5f029..56c8d239c5 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -33,6 +33,7 @@ #include "libavutil/avstring.h" #include "libavutil/channel_layout.h" #include "libavutil/crc.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/mem_internal.h" #include "libavutil/opt.h" diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index 0700a53b5c..131834b6de 100644 --- a/libavcodec/avcodec.c +++ b/libavcodec/avcodec.c @@ -28,6 +28,7 @@ #include "libavutil/avstring.h" #include "libavutil/bprint.h" #include "libavutil/channel_layout.h" +#include "libavutil/emms.h" #include "libavutil/fifo.h" #include "libavutil/imgutils.h" #include "libavutil/mem.h" diff --git a/libavcodec/bink.c b/libavcodec/bink.c index e3822d689c..8d96dee705 100644 --- a/libavcodec/bink.c +++ b/libavcodec/bink.c @@ -21,6 +21,7 @@ */ #include "libavutil/attributes.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/internal.h" #include "libavutil/mem_internal.h" diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 37071dfbc7..b356da0b04 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -26,6 +26,7 @@ */ #include "libavutil/avassert.h" +#include "libavutil/emms.h" #include "avcodec.h" #include "get_bits.h" #include "golomb.h" diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c index c50d005a56..ff3cc2fe45 100644 --- a/libavcodec/dca_core.c +++ b/libavcodec/dca_core.c @@ -19,6 +19,7 @@ */ #include "libavutil/channel_layout.h" +#include "libavutil/emms.h" #include "dcaadpcm.h" #include "dcadec.h" #include "dcadata.h" diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 7eada8e9ab..169ee79acd 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -32,6 +32,7 @@ #include "libavutil/bprint.h" #include "libavutil/channel_layout.h" #include "libavutil/common.h" +#include "libavutil/emms.h" #include "libavutil/fifo.h" #include "libavutil/frame.h" #include "libavutil/hwcontext.h" diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c index c57578a208..04282483f4 100644 --- a/libavcodec/dvdec.c +++ b/libavcodec/dvdec.c @@ -36,6 +36,7 @@ */ #include "libavutil/avassert.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/mem_internal.h" #include "libavutil/thread.h" diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c index 7bd50174b7..ce21247081 100644 --- a/libavcodec/dvenc.c +++ b/libavcodec/dvenc.c @@ -29,6 +29,7 @@ #include "config.h" #include "libavutil/attributes.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/mem_internal.h" #include "libavutil/opt.h" diff --git a/libavcodec/encode.c b/libavcodec/encode.c index 32cc903b1f..b92593770c 100644 --- a/libavcodec/encode.c +++ b/libavcodec/encode.c @@ -21,6 +21,7 @@ #include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/channel_layout.h" +#include "libavutil/emms.h" #include "libavutil/frame.h" #include "libavutil/imgutils.h" #include "libavutil/internal.h" diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c index 38c392bbae..b0b11859a7 100644 --- a/libavcodec/faandct.c +++ b/libavcodec/faandct.c @@ -26,6 +26,7 @@ */ #include "faandct.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/libm.h" diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c index 3921f82dae..f2667fb716 100644 --- a/libavcodec/faanidct.c +++ b/libavcodec/faanidct.c @@ -20,6 +20,7 @@ */ #include "faanidct.h" #include "libavutil/common.h" +#include "libavutil/emms.h" /* To allow switching to double. */ typedef float FLOAT; diff --git a/libavcodec/h264_picture.c b/libavcodec/h264_picture.c index 3192c70a91..bd31f700cb 100644 --- a/libavcodec/h264_picture.c +++ b/libavcodec/h264_picture.c @@ -26,6 +26,7 @@ */ #include "libavutil/avassert.h" +#include "libavutil/emms.h" #include "error_resilience.h" #include "avcodec.h" #include "h264dec.h" diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 1c79d9842f..f13b1081fc 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -30,6 +30,7 @@ #include "config_components.h" #include "libavutil/avassert.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/opt.h" #include "libavutil/thread.h" diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index f040a27095..fe17c1e82b 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -42,6 +42,7 @@ #include "huffyuvdsp.h" #include "lossless_videodsp.h" #include "thread.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/pixdesc.h" diff --git a/libavcodec/huffyuvenc.c b/libavcodec/huffyuvenc.c index 72d6246ebe..b02b3c7a9a 100644 --- a/libavcodec/huffyuvenc.c +++ b/libavcodec/huffyuvenc.c @@ -39,6 +39,7 @@ #include "huffyuvencdsp.h" #include "lossless_videoencdsp.h" #include "put_bits.h" +#include "libavutil/emms.h" #include "libavutil/opt.h" #include "libavutil/pixdesc.h" diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index cef8625791..0a8f3d68dd 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -33,6 +33,7 @@ #include "config_components.h" #include "libavutil/display.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/avassert.h" #include "libavutil/opt.h" diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index e645b8e24a..36461a9ae6 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -31,6 +31,7 @@ #include <inttypes.h> #include "libavutil/attributes.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/internal.h" #include "libavutil/mem_internal.h" diff --git a/libavcodec/mpegutils.c b/libavcodec/mpegutils.c index 2d812a25be..5e76d7ac66 100644 --- a/libavcodec/mpegutils.c +++ b/libavcodec/mpegutils.c @@ -21,6 +21,7 @@ #include <stdint.h> #include "libavutil/common.h" +#include "libavutil/emms.h" #include "libavutil/frame.h" #include "libavutil/pixdesc.h" #include "libavutil/motion_vector.h" diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c index 16e8b9193a..6aa979433c 100644 --- a/libavcodec/mpegvideo_dec.c +++ b/libavcodec/mpegvideo_dec.c @@ -25,6 +25,7 @@ #include "config_components.h" #include "libavutil/avassert.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/internal.h" #include "libavutil/video_enc_params.h" diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 64e66ae958..69e3152c82 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -35,6 +35,7 @@ #include <stdint.h> +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/intmath.h" #include "libavutil/mathematics.h" diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 649f570c9d..55ce054735 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -26,6 +26,7 @@ */ #include "libavutil/attributes.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "avcodec.h" diff --git a/libavcodec/sbcenc.c b/libavcodec/sbcenc.c index fccb0e3ea3..9d6e0b9f54 100644 --- a/libavcodec/sbcenc.c +++ b/libavcodec/sbcenc.c @@ -31,6 +31,7 @@ */ #include "libavutil/channel_layout.h" +#include "libavutil/emms.h" #include "libavutil/opt.h" #include "avcodec.h" #include "codec_internal.h" diff --git a/libavcodec/snowdec.c b/libavcodec/snowdec.c index bed29d3390..e014d5087f 100644 --- a/libavcodec/snowdec.c +++ b/libavcodec/snowdec.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/emms.h" #include "libavutil/intmath.h" #include "libavutil/log.h" #include "libavutil/opt.h" diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 1360343aec..c330303317 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/emms.h" #include "libavutil/intmath.h" #include "libavutil/libm.h" #include "libavutil/log.h" diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 5e7f410214..46a484e15f 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -26,6 +26,7 @@ * http://www.pcisys.net/~melanson/codecs/ */ +#include "libavutil/emms.h" #include "avcodec.h" #include "codec_internal.h" #include "encode.h" diff --git a/libavcodec/tests/dct.c b/libavcodec/tests/dct.c index e8d0b8dd1d..010d0c1ac3 100644 --- a/libavcodec/tests/dct.c +++ b/libavcodec/tests/dct.c @@ -37,6 +37,7 @@ #include "libavutil/cpu.h" #include "libavutil/common.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/lfg.h" #include "libavutil/mem_internal.h" diff --git a/libavcodec/tests/motion.c b/libavcodec/tests/motion.c index ef6e1ff309..caa8ecb8be 100644 --- a/libavcodec/tests/motion.c +++ b/libavcodec/tests/motion.c @@ -30,6 +30,7 @@ #include "config.h" #include "libavcodec/me_cmp.h" #include "libavutil/cpu.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/lfg.h" #include "libavutil/mem.h" diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 9e097c8905..acab098203 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -35,6 +35,7 @@ #include <stddef.h> #include <string.h> +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/mem_internal.h" diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index a10d59ad80..d44dd71eb0 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -53,6 +53,7 @@ #include "internal.h" #include "video.h" #include "libavutil/common.h" +#include "libavutil/emms.h" #include "libavutil/file_open.h" #include "libavutil/mem.h" #include "libavutil/opt.h" diff --git a/libavfilter/vf_fspp.c b/libavfilter/vf_fspp.c index 88e887897e..8f44390117 100644 --- a/libavfilter/vf_fspp.c +++ b/libavfilter/vf_fspp.c @@ -35,6 +35,7 @@ * project, and ported by Arwa Arif for FFmpeg. */ +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/mem_internal.h" #include "libavutil/opt.h" diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 39971b3120..a71a68ecc1 100644 --- a/libavfilter/vf_gradfun.c +++ b/libavfilter/vf_gradfun.c @@ -32,6 +32,7 @@ * Dither it back to 8bit. */ +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/common.h" #include "libavutil/mem_internal.h" diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index 2aef7751c4..d95ae8f898 100644 --- a/libavfilter/vf_hqdn3d.c +++ b/libavfilter/vf_hqdn3d.c @@ -31,6 +31,7 @@ #include "config.h" #include "libavutil/attributes.h" #include "libavutil/common.h" +#include "libavutil/emms.h" #include "libavutil/pixdesc.h" #include "libavutil/intreadwrite.h" #include "libavutil/opt.h" diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c index 8c7824ed22..baba1f183f 100644 --- a/libavfilter/vf_mpdecimate.c +++ b/libavfilter/vf_mpdecimate.c @@ -24,6 +24,7 @@ * Rich Felker. */ +#include "libavutil/emms.h" #include "libavutil/opt.h" #include "libavutil/pixdesc.h" #include "libavutil/pixelutils.h" diff --git a/libavfilter/vf_noise.c b/libavfilter/vf_noise.c index ba843eed4e..9f1e2c3691 100644 --- a/libavfilter/vf_noise.c +++ b/libavfilter/vf_noise.c @@ -24,6 +24,7 @@ * noise generator */ +#include "libavutil/emms.h" #include "libavutil/opt.h" #include "libavutil/imgutils.h" #include "libavutil/lfg.h" diff --git a/libavfilter/vf_pp7.c b/libavfilter/vf_pp7.c index f44a5396ea..24a094f00c 100644 --- a/libavfilter/vf_pp7.c +++ b/libavfilter/vf_pp7.c @@ -27,6 +27,7 @@ * project, and ported by Arwa Arif for FFmpeg. */ +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/mem_internal.h" #include "libavutil/opt.h" diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c index 5a00673c41..7245684085 100644 --- a/libavfilter/vf_pullup.c +++ b/libavfilter/vf_pullup.c @@ -19,6 +19,7 @@ */ #include "libavutil/avassert.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/opt.h" #include "libavutil/pixdesc.h" diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c index 83f062b3bf..bb74b20e0e 100644 --- a/libavfilter/vf_spp.c +++ b/libavfilter/vf_spp.c @@ -31,6 +31,7 @@ * ported by Clément Bœsch for FFmpeg. */ +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/mem_internal.h" #include "libavutil/opt.h" diff --git a/libavutil/x86/emms.h b/libavutil/emms.h similarity index 91% rename from libavutil/x86/emms.h rename to libavutil/emms.h index 8ceec110cf..4ec0127457 100644 --- a/libavutil/x86/emms.h +++ b/libavutil/emms.h @@ -16,12 +16,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef AVUTIL_X86_EMMS_H -#define AVUTIL_X86_EMMS_H +#ifndef AVUTIL_EMMS_H +#define AVUTIL_EMMS_H #include "config.h" #include "libavutil/attributes.h" +#if ARCH_X86 + void avpriv_emms_asm(void); #if HAVE_MMX_INLINE @@ -55,4 +57,10 @@ static av_always_inline void emms_c(void) # define emms_c avpriv_emms_asm #endif /* HAVE_MMX_INLINE */ -#endif /* AVUTIL_X86_EMMS_H */ +#endif /* ARCH_X86 */ + +#ifndef emms_c +# define emms_c() do {} while(0) +#endif + +#endif /* AVUTIL_EMMS_H */ diff --git a/libavutil/internal.h b/libavutil/internal.h index 001103142b..461c0df9ad 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -43,14 +43,6 @@ #include "macros.h" #include "pixfmt.h" -#if ARCH_X86 -# include "x86/emms.h" -#endif - -#ifndef emms_c -# define emms_c() do {} while(0) -#endif - #ifndef attribute_align_arg #if ARCH_X86_32 && AV_GCC_VERSION_AT_LEAST(4,2) # define attribute_align_arg __attribute__((force_align_arg_pointer)) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 367d045a02..90e5b299ab 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -26,6 +26,7 @@ #include "libavutil/bswap.h" #include "libavutil/common.h" #include "libavutil/cpu.h" +#include "libavutil/emms.h" #include "libavutil/intreadwrite.h" #include "libavutil/mem_internal.h" #include "libavutil/pixdesc.h" diff --git a/libswscale/utils.c b/libswscale/utils.c index 8e74c6603e..b3cc74331f 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -40,6 +40,7 @@ #include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/cpu.h" +#include "libavutil/emms.h" #include "libavutil/imgutils.h" #include "libavutil/intreadwrite.h" #include "libavutil/libm.h" diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h index 117d4dd35c..51523c258b 100644 --- a/tests/checkasm/checkasm.h +++ b/tests/checkasm/checkasm.h @@ -37,6 +37,7 @@ #include "libavutil/avstring.h" #include "libavutil/cpu.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/lfg.h" #include "libavutil/timer.h" diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 44b02d60a2..cecd0dee0f 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@ -24,6 +24,7 @@ #include "libavcodec/vp9data.h" #include "libavcodec/vp9.h" #include "libavutil/common.h" +#include "libavutil/emms.h" #include "libavutil/internal.h" #include "libavutil/intreadwrite.h" #include "libavutil/mathematics.h" -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt ` (12 preceding siblings ...) 2023-08-31 22:26 ` [FFmpeg-devel] [PATCH 14/14] avutil/internal: Don't auto-include emms.h Andreas Rheinhardt @ 2023-09-03 11:42 ` Andreas Rheinhardt 13 siblings, 0 replies; 15+ messages in thread From: Andreas Rheinhardt @ 2023-09-03 11:42 UTC (permalink / raw) To: ffmpeg-devel Andreas Rheinhardt: > ff_scene_sad_get_fn() does not return functions that use > MMX at all. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavfilter/f_select.c | 1 - > libavfilter/vf_framerate.c | 1 - > libavfilter/vf_freezedetect.c | 1 - > libavfilter/vf_minterpolate.c | 1 - > libavfilter/vf_scdet.c | 1 - > 5 files changed, 5 deletions(-) > > diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c > index 49fcdc31ff..c9e216f51c 100644 > --- a/libavfilter/f_select.c > +++ b/libavfilter/f_select.c > @@ -294,7 +294,6 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *frame) > count += select->width[plane] * select->height[plane]; > } > > - emms_c(); > mafd = (double)sad / count / (1ULL << (select->bitdepth - 8)); > diff = fabs(mafd - select->prev_mafd); > ret = av_clipf(FFMIN(mafd, diff) / 100., 0, 1); > diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c > index 6ef5dca27a..6d448be74c 100644 > --- a/libavfilter/vf_framerate.c > +++ b/libavfilter/vf_framerate.c > @@ -76,7 +76,6 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *crnt, AVFrame *next > > ff_dlog(ctx, "get_scene_score() process\n"); > s->sad(crnt->data[0], crnt->linesize[0], next->data[0], next->linesize[0], crnt->width, crnt->height, &sad); > - emms_c(); > mafd = (double)sad * 100.0 / (crnt->width * crnt->height) / (1 << s->bitdepth); > diff = fabs(mafd - s->prev_mafd); > ret = av_clipf(FFMIN(mafd, diff), 0, 100.0); > diff --git a/libavfilter/vf_freezedetect.c b/libavfilter/vf_freezedetect.c > index fb4e59b127..18d392d9ae 100644 > --- a/libavfilter/vf_freezedetect.c > +++ b/libavfilter/vf_freezedetect.c > @@ -131,7 +131,6 @@ static int is_frozen(FreezeDetectContext *s, AVFrame *reference, AVFrame *frame) > count += s->width[plane] * s->height[plane]; > } > } > - emms_c(); > mafd = (double)sad / count / (1ULL << s->bitdepth); > return (mafd <= s->noise); > } > diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c > index 610ac6b1bb..9920210ece 100644 > --- a/libavfilter/vf_minterpolate.c > +++ b/libavfilter/vf_minterpolate.c > @@ -825,7 +825,6 @@ static int detect_scene_change(AVFilterContext *ctx) > double ret = 0, mafd, diff; > uint64_t sad; > mi_ctx->sad(p1, linesize1, p2, linesize2, input->w, input->h, &sad); > - emms_c(); > mafd = (double) sad * 100.0 / (input->h * input->w) / (1 << mi_ctx->bitdepth); > diff = fabs(mafd - mi_ctx->prev_mafd); > ret = av_clipf(FFMIN(mafd, diff), 0, 100.0); > diff --git a/libavfilter/vf_scdet.c b/libavfilter/vf_scdet.c > index 6de84a43a0..15399cfebf 100644 > --- a/libavfilter/vf_scdet.c > +++ b/libavfilter/vf_scdet.c > @@ -126,7 +126,6 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *frame) > count += s->width[plane] * s->height[plane]; > } > > - emms_c(); > mafd = (double)sad * 100. / count / (1ULL << s->bitdepth); > diff = fabs(mafd - s->prev_mafd); > ret = av_clipf(FFMIN(mafd, diff), 0, 100.); Will apply this patchset tomorrow unless there are objections. - Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2023-09-03 11:41 UTC | newest] Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-08-31 22:20 [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 02/13] avfilter/vf_gblur: Remove unnecessary emms_c() Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 03/13] avfilter/vf_colorspace: Remove redundant emms_c() Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 04/13] avfilter/vf_bwdif: Remove obsolete emms_c() Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 05/13] avfilter/afir_template: Remove unnecessary emms_c() Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 06/13] avfilter/af_volume: " Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 07/13] avfilter/af_sofalizer: " Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 08/13] avfilter/af_headphone: " Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 09/13] avfilter/af_amultiply: " Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 10/13] avcodec/pcm: " Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 11/13] tests/checkasm/hevc_*: Avoid using declare_func_emms where possible Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 12/13] tests/checkasm/llvidencdsp: Don't use declare_func_emms Andreas Rheinhardt 2023-08-31 22:22 ` [FFmpeg-devel] [PATCH 13/13] tests/checkasm/sw_scale: Avoid declare_func_emms where possible Andreas Rheinhardt 2023-08-31 22:26 ` [FFmpeg-devel] [PATCH 14/14] avutil/internal: Don't auto-include emms.h Andreas Rheinhardt 2023-09-03 11:42 ` [FFmpeg-devel] [PATCH 01/13] avfilter: Remove unnecessary emms_c for ff_scene_sad_get_fn Andreas Rheinhardt
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git