diff --git a/src/video_compress/cuda_dxt.cpp b/src/video_compress/cuda_dxt.cpp index cd59e0efb..b7384e20e 100644 --- a/src/video_compress/cuda_dxt.cpp +++ b/src/video_compress/cuda_dxt.cpp @@ -139,6 +139,11 @@ static bool configure_with(struct state_video_compress_cuda_dxt *s, struct video { cleanup(s); + if (get_bits_per_component(desc.color_spec) > 8) { + LOG(LOG_LEVEL_NOTICE) << "[CUDA DXT] Converting from " << get_bits_per_component(desc.color_spec) << + " to 8 bits. You may directly capture 8-bit signal to improve performance.\n"; + } + if (desc.color_spec == RGB || desc.color_spec == UYVY) { s->in_codec = desc.color_spec; } else if ((s->decoder = get_decoder_from_to(desc.color_spec, RGB, false))) { diff --git a/src/video_compress/dxt_glsl.cpp b/src/video_compress/dxt_glsl.cpp index cfe246e19..8cf192ddc 100644 --- a/src/video_compress/dxt_glsl.cpp +++ b/src/video_compress/dxt_glsl.cpp @@ -100,6 +100,11 @@ static int configure_with(struct state_video_compress_rtdxt *s, struct video_fra } } + if (get_bits_per_component(frame->color_spec) > 8) { + LOG(LOG_LEVEL_NOTICE) << "[RTDXT] Converting from " << get_bits_per_component(frame->color_spec) << + " to 8 bits. You may directly capture 8-bit signal to improve performance.\n"; + } + switch (frame->color_spec) { case RGB: s->decoder = vc_memcpy; diff --git a/src/video_compress/gpujpeg.cpp b/src/video_compress/gpujpeg.cpp index cac99cd22..f99531f42 100644 --- a/src/video_compress/gpujpeg.cpp +++ b/src/video_compress/gpujpeg.cpp @@ -276,6 +276,11 @@ bool encoder_state::configure_with(struct video_desc desc) } } + if (get_bits_per_component(desc.color_spec) > 8) { + LOG(LOG_LEVEL_NOTICE) << MOD_NAME << "Converting from " << get_bits_per_component(desc.color_spec) << + " to 8 bits. You may directly capture 8-bit signal to improve performance.\n"; + } + gpujpeg_set_default_parameters(&m_encoder_param); if (m_parent_state->m_quality != -1) { m_encoder_param.quality = m_parent_state->m_quality;