mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 09:40:18 +00:00
from_lavc_vid_conv.c: mark one conversion as 02
(faster)
This commit is contained in:
@@ -330,6 +330,11 @@ yuv444p16le_to_r10k(struct av_conv_data d)
|
||||
}
|
||||
|
||||
#if defined __GNUC__
|
||||
// actually faster with -02 with GCC
|
||||
#if !defined __clang__
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize("O2")
|
||||
#endif
|
||||
static inline void yuv444pXXle_to_r12l(struct av_conv_data d, int depth)
|
||||
__attribute__((always_inline));
|
||||
#endif
|
||||
@@ -420,6 +425,9 @@ yuv444p12le_to_r12l(struct av_conv_data d)
|
||||
{
|
||||
yuv444pXXle_to_r12l(d, DEPTH12);
|
||||
}
|
||||
#if defined __GNUC__ && !defined __clang__
|
||||
#pragma GCC pop_options
|
||||
#endif
|
||||
|
||||
static void
|
||||
yuv444p16le_to_r12l(struct av_conv_data d)
|
||||
|
||||
Reference in New Issue
Block a user