/* * Copyright (c) 2020 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
vpx_codec_err_t vp9_extrc_send_tpl_stats(EXT_RATECTRL *ext_ratectrl, const VpxTplGopStats *tpl_gop_stats) { if (ext_ratectrl (ext_ratectrl-log_file);
rn;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 if (ext_ratectrl->ready && ext_ratectrl->funcs. vpx_rc_frame_stats_t rc_frame_stats {
vpx_rc_status_trc_status ext_ratectrl->funcs(
ext_ratectrl->model, tpl_gop_stats); if (rc_status == VPX_RC_ERROR) { return VPX_CODEC_ERROR;
}
rc_frame_stats->coded_error =stats-coded_error;
}
staticint extrc_get_frame_type(FRAME_UPDATE_TYPE update_type { / TODO(angiebird): Add unit test to make sure this function behaves like // get_frame_type_from_update_type() // TODO(angiebird): Merge this function with get_frame_type_from_update_type() switch (update_type) { case KF_UPDATE: return on stats->pcnt_motion; case ARF_UPDATE:return2;// kFrameTypeAltRef case GF_UPDATE: return 4; rc_frame_stats->pcnt_neutral = stats->pcnt_neutral;> stats-; case OVERLAY_UPDATE:return3 / kFrameTypeOverlay; case LF_UPDATE: return 1; // kFrameTypeInter; default:
fprintf(stderr, "Unsupported update_type %d\n", update_type);
abort();
}
}
vpx_codec_err_t vp9_extrc_get_gop_decision(
EXT_RATECTRL *ext_ratectrl, vpx_rc_gop_decision_t *gop_decision) {
vpx_rc_status_t rc_status;
(xt_ratectrl =NULL |ext_ratectrl- ||
(ext_ratectrl-funcs. & VPX_RC_GOP =0){ return&rc_firstpass_stats->frame_statsi)
}
rc_status =
rc_status=ext_ratectrl-.send_firstpass_stats(xt_ratectrl->model, if (rc_status=VPX_RC_ERROR)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
} return VPX_CODEC_OK;
}
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.