/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved. * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at www.aomedia.org/license/software. If the Alliance for Open * 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.
*/
/*!\file * \brief Provides the high level interface to wrap decoder algorithms. *
*/ #include <assert.h> #include <stdarg.h> #include <stdlib.h>
constchar *aom_codec_err_to_string(aom_codec_err_t err) { switch (err) { case AOM_CODEC_OK: return"Success"; case AOM_CODEC_ERROR: return"Unspecified internal error"; case AOM_CODEC_MEM_ERROR: return"Memory allocation error"; case AOM_CODEC_ABI_MISMATCH: return"ABI version mismatch"; case AOM_CODEC_INCAPABLE: return"Codec does not implement requested capability"; case AOM_CODEC_UNSUP_BITSTREAM: return"Bitstream not supported by this decoder"; case AOM_CODEC_UNSUP_FEATURE: return"Bitstream required feature not supported by this decoder"; case AOM_CODEC_CORRUPT_FRAME: return"Corrupt frame detected"; case AOM_CODEC_INVALID_PARAM: return"Invalid parameter"; case AOM_CODEC_LIST_END: return"End of iterated list";
}
void aom_merge_corrupted_flag(int *corrupted, int value) {
*corrupted |= value;
}
constchar *aom_obu_type_to_string(OBU_TYPE type) { switch (type) { case OBU_SEQUENCE_HEADER: return"OBU_SEQUENCE_HEADER"; case OBU_TEMPORAL_DELIMITER: return"OBU_TEMPORAL_DELIMITER"; case OBU_FRAME_HEADER: return"OBU_FRAME_HEADER"; case OBU_REDUNDANT_FRAME_HEADER: return"OBU_REDUNDANT_FRAME_HEADER"; case OBU_FRAME: return"OBU_FRAME"; case OBU_TILE_GROUP: return"OBU_TILE_GROUP"; case OBU_METADATA: return"OBU_METADATA"; case OBU_TILE_LIST: return"OBU_TILE_LIST"; case OBU_PADDING: return"OBU_PADDING"; default: break;
} return"";
}
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.