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

Function hb_audio_decoder

libhb/work.c:203–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203hb_work_object_t* hb_audio_decoder(hb_handle_t *h, int codec)
204{
205 hb_work_object_t * w = NULL;
206 if (codec & HB_ACODEC_FF_MASK)
207 {
208 w = hb_get_work(h, WORK_DECAVCODEC);
209 }
210 switch (codec)
211 {
212 case HB_ACODEC_LPCM:
213 w = hb_get_work(h, WORK_DECLPCM);
214 break;
215 default:
216 break;
217 }
218 return w;
219}
220
221hb_work_object_t* hb_video_decoder(hb_handle_t *h, int vcodec, int param,
222 void *hw_device_ctx, hb_hwaccel_t *hw_accel)

Callers 3

do_jobFunction · 0.85
probe_dts_profileFunction · 0.85
LookForAudioFunction · 0.85

Calls 1

hb_get_workFunction · 0.85

Tested by

no test coverage detected