mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 08:17:31 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
7
third_party/aom/examples/simple_encoder.c
vendored
7
third_party/aom/examples/simple_encoder.c
vendored
|
|
@ -100,9 +100,8 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "aom/aom_encoder.h"
|
||||
|
||||
#include "../tools_common.h"
|
||||
#include "../video_writer.h"
|
||||
#include "common/tools_common.h"
|
||||
#include "common/video_writer.h"
|
||||
|
||||
static const char *exec_name;
|
||||
|
||||
|
|
@ -121,7 +120,7 @@ static int encode_frame(aom_codec_ctx_t *codec, aom_image_t *img,
|
|||
aom_codec_iter_t iter = NULL;
|
||||
const aom_codec_cx_pkt_t *pkt = NULL;
|
||||
const aom_codec_err_t res =
|
||||
aom_codec_encode(codec, img, frame_index, 1, flags, AOM_DL_GOOD_QUALITY);
|
||||
aom_codec_encode(codec, img, frame_index, 1, flags);
|
||||
if (res != AOM_CODEC_OK) die_codec(codec, "Failed to encode frame");
|
||||
|
||||
while ((pkt = aom_codec_get_cx_data(codec, &iter)) != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue