vp9: Fix some TODOs in svc code.
Change-Id: Ie9f441245987ade9dab38af69adf4dd1fb38ca3f
This commit is contained in:
@@ -679,7 +679,7 @@ int main(int argc, const char **argv) {
|
|||||||
}
|
}
|
||||||
#if OUTPUT_RC_STATS
|
#if OUTPUT_RC_STATS
|
||||||
// For now, just write temporal layer streams.
|
// For now, just write temporal layer streams.
|
||||||
// TODO(wonkap): do spatial by re-writing superframe.
|
// TODO(marpan): do spatial by re-writing superframe.
|
||||||
if (svc_ctx.output_rc_stat) {
|
if (svc_ctx.output_rc_stat) {
|
||||||
for (tl = 0; tl < enc_cfg.ts_number_layers; ++tl) {
|
for (tl = 0; tl < enc_cfg.ts_number_layers; ++tl) {
|
||||||
char file_name[PATH_MAX];
|
char file_name[PATH_MAX];
|
||||||
@@ -770,7 +770,7 @@ int main(int argc, const char **argv) {
|
|||||||
cx_pkt->data.frame.sz,
|
cx_pkt->data.frame.sz,
|
||||||
cx_pkt->data.frame.pts);
|
cx_pkt->data.frame.pts);
|
||||||
#if OUTPUT_RC_STATS
|
#if OUTPUT_RC_STATS
|
||||||
// TODO(marpan/wonkap): Put this (to line728) in separate function.
|
// TODO(marpan): Put this (to line728) in separate function.
|
||||||
if (svc_ctx.output_rc_stat) {
|
if (svc_ctx.output_rc_stat) {
|
||||||
vpx_codec_control(&codec, VP9E_GET_SVC_LAYER_ID, &layer_id);
|
vpx_codec_control(&codec, VP9E_GET_SVC_LAYER_ID, &layer_id);
|
||||||
parse_superframe_index(cx_pkt->data.frame.buf,
|
parse_superframe_index(cx_pkt->data.frame.buf,
|
||||||
|
|||||||
@@ -1170,7 +1170,7 @@ TEST_P(DatarateOnePassCbrSvc, OnePassCbrSvc2SpatialLayers) {
|
|||||||
cfg_.kf_max_dist = 9999;
|
cfg_.kf_max_dist = 9999;
|
||||||
::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
|
::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
|
||||||
30, 1, 0, 200);
|
30, 1, 0, 200);
|
||||||
// TODO(wonkap/marpan): Check that effective_datarate for each layer hits the
|
// TODO(marpan): Check that effective_datarate for each layer hits the
|
||||||
// layer target_bitrate.
|
// layer target_bitrate.
|
||||||
for (int i = 200; i <= 800; i += 200) {
|
for (int i = 200; i <= 800; i += 200) {
|
||||||
cfg_.rc_target_bitrate = i;
|
cfg_.rc_target_bitrate = i;
|
||||||
|
|||||||
Reference in New Issue
Block a user