Skip to content

Commit

Permalink
Print gop_index in ENCODE_FRAME_RESULT
Browse files Browse the repository at this point in the history
Change-Id: Icb522110dd2a7f87212ec0e7fc2638245008365f
  • Loading branch information
Angie Chiang committed May 1, 2024
1 parent b61b272 commit f93e6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vp9/encoder/vp9_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -5745,8 +5745,8 @@ static void encode_frame_to_data_rate(
compute_psnr_stats(cpi->Source, &coded_frame_buf->buf, cm->bit_depth,
cpi->oxcf.input_bit_depth);
fprintf(cpi->ext_ratectrl.log_file,
"ENCODE_FRAME_RESULT psnr %f bits %zu\n", psnr.psnr[0],
(*size) << 3);
"ENCODE_FRAME_RESULT gop_index %d psnr %f bits %zu\n",
cpi->twopass.gf_group.index, psnr.psnr[0], (*size) << 3);
}

#if CONFIG_RATE_CTRL
Expand Down

0 comments on commit f93e6aa

Please sign in to comment.