MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_video_encoder_get_depth

Function hb_video_encoder_get_depth

libhb/common.c:1959–1986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1957}
1958
1959int hb_video_encoder_get_depth(int encoder)
1960{
1961 switch (encoder)
1962 {
1963#if HB_PROJECT_FEATURE_QSV
1964 case HB_VCODEC_FFMPEG_QSV_H265_10BIT:
1965 case HB_VCODEC_FFMPEG_QSV_AV1_10BIT:
1966#endif
1967#ifdef __APPLE__
1968 case HB_VCODEC_VT_H265_10BIT:
1969#endif
1970 case HB_VCODEC_X264_10BIT:
1971 case HB_VCODEC_X265_10BIT:
1972 case HB_VCODEC_SVT_AV1_10BIT:
1973 case HB_VCODEC_FFMPEG_VP9_10BIT:
1974 case HB_VCODEC_FFMPEG_DNXHR_10BIT:
1975 case HB_VCODEC_FFMPEG_NVENC_H265_10BIT:
1976 case HB_VCODEC_FFMPEG_NVENC_AV1_10BIT:
1977 case HB_VCODEC_FFMPEG_VCE_H265_10BIT:
1978 return 10;
1979 case HB_VCODEC_X265_12BIT:
1980 return 12;
1981 case HB_VCODEC_X265_16BIT:
1982 return 16;
1983 default:
1984 return 8;
1985 }
1986}
1987
1988static const char * const hb_empty_list_names[] =
1989{

Callers 5

encx265InitFunction · 0.85
encx264InitFunction · 0.85
set_destination_settingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected