We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a0fc0 commit bd35329Copy full SHA for bd35329
1 file changed
src/libavcodec/from_lavc_vid_conv.c
@@ -330,6 +330,11 @@ yuv444p16le_to_r10k(struct av_conv_data d)
330
}
331
332
#if defined __GNUC__
333
+// actually faster with -02 with GCC
334
+#if !defined __clang__
335
+#pragma GCC push_options
336
+#pragma GCC optimize("O2")
337
+#endif
338
static inline void yuv444pXXle_to_r12l(struct av_conv_data d, int depth)
339
__attribute__((always_inline));
340
#endif
@@ -420,6 +425,9 @@ yuv444p12le_to_r12l(struct av_conv_data d)
420
425
{
421
426
yuv444pXXle_to_r12l(d, DEPTH12);
422
427
428
+#if defined __GNUC__ && !defined __clang__
429
+#pragma GCC pop_options
430
423
431
424
432
static void
433
yuv444p16le_to_r12l(struct av_conv_data d)
0 commit comments