mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 08:29:58 +00:00
LibVideo/VP9: Apply higher optimization levels to Decoder and Parser
With this change, decode times on GCC as measured by TestVP9Decode are reduced by about 15%. Not a bad improvement for a few added lines :^)
This commit is contained in:
parent
f351418a1e
commit
5f7099cff6
|
@ -12,6 +12,10 @@
|
|||
#include "Decoder.h"
|
||||
#include "Utilities.h"
|
||||
|
||||
#if defined(AK_COMPILER_GCC)
|
||||
# pragma GCC optimize("O3")
|
||||
#endif
|
||||
|
||||
namespace Video::VP9 {
|
||||
|
||||
Decoder::Decoder()
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
#include "Parser.h"
|
||||
#include "Utilities.h"
|
||||
|
||||
#if defined(AK_COMPILER_GCC)
|
||||
# pragma GCC optimize("O3")
|
||||
#endif
|
||||
|
||||
namespace Video::VP9 {
|
||||
|
||||
#define TRY_READ(expression) DECODER_TRY(DecoderErrorCategory::Corrupted, expression)
|
||||
|
|
Loading…
Reference in a new issue