mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591
This commit is contained in:
parent
77c9089b7d
commit
368651059a
526 changed files with 34535 additions and 15900 deletions
12
third_party/aom/test/codec_factory.h
vendored
12
third_party/aom/test/codec_factory.h
vendored
|
|
@ -8,8 +8,8 @@
|
|||
* Media Patent License 1.0 was not distributed with this source code in the
|
||||
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||
*/
|
||||
#ifndef TEST_CODEC_FACTORY_H_
|
||||
#define TEST_CODEC_FACTORY_H_
|
||||
#ifndef AOM_TEST_CODEC_FACTORY_H_
|
||||
#define AOM_TEST_CODEC_FACTORY_H_
|
||||
|
||||
#include "config/aom_config.h"
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ class AV1Decoder : public Decoder {
|
|||
protected:
|
||||
virtual aom_codec_iface_t *CodecInterface() const {
|
||||
#if CONFIG_AV1_DECODER
|
||||
return &aom_codec_av1_dx_algo;
|
||||
return aom_codec_av1_dx();
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
|
|
@ -105,7 +105,7 @@ class AV1Encoder : public Encoder {
|
|||
protected:
|
||||
virtual aom_codec_iface_t *CodecInterface() const {
|
||||
#if CONFIG_AV1_ENCODER
|
||||
return &aom_codec_av1_cx_algo;
|
||||
return aom_codec_av1_cx();
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
|
|
@ -147,7 +147,7 @@ class AV1CodecFactory : public CodecFactory {
|
|||
virtual aom_codec_err_t DefaultEncoderConfig(aom_codec_enc_cfg_t *cfg,
|
||||
int usage) const {
|
||||
#if CONFIG_AV1_ENCODER
|
||||
return aom_codec_enc_config_default(&aom_codec_av1_cx_algo, cfg, usage);
|
||||
return aom_codec_enc_config_default(aom_codec_av1_cx(), cfg, usage);
|
||||
#else
|
||||
(void)cfg;
|
||||
(void)usage;
|
||||
|
|
@ -167,4 +167,4 @@ const libaom_test::AV1CodecFactory kAV1;
|
|||
__VA_ARGS__))
|
||||
|
||||
} // namespace libaom_test
|
||||
#endif // TEST_CODEC_FACTORY_H_
|
||||
#endif // AOM_TEST_CODEC_FACTORY_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue