Lines Matching refs:gm
545 static void debug_green_metadata(const H264SEIGreenMetaData *gm, void *logctx)
548 av_log(logctx, AV_LOG_DEBUG, " green_metadata_type: %d\n", gm->green_metadata_type);
550 if (gm->green_metadata_type == 0) {
551 av_log(logctx, AV_LOG_DEBUG, " green_metadata_period_type: %d\n", gm->period_type);
553 if (gm->period_type == 2)
554 av_log(logctx, AV_LOG_DEBUG, " green_metadata_num_seconds: %d\n", gm->num_seconds);
555 else if (gm->period_type == 3)
556 av_log(logctx, AV_LOG_DEBUG, " green_metadata_num_pictures: %d\n", gm->num_pictures);
559 (float)gm->percent_non_zero_macroblocks/255,
560 (float)gm->percent_intra_coded_macroblocks/255,
561 (float)gm->percent_six_tap_filtering/255,
562 (float)gm->percent_alpha_point_deblocking_instance/255);
564 } else if (gm->green_metadata_type == 1) {
565 av_log(logctx, AV_LOG_DEBUG, " xsd_metric_type: %d\n", gm->xsd_metric_type);
567 if (gm->xsd_metric_type == 0)
569 (float)gm->xsd_metric_value/100);