Home
last modified time | relevance | path

Searched refs:hw_devices (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/fftools/
Dffmpeg_hw.c28 static HWDevice **hw_devices; variable
35 if (hw_devices[i]->type == type) { in hw_device_get_by_type()
38 found = hw_devices[i]; in hw_device_get_by_type()
48 if (!strcmp(hw_devices[i]->name, name)) in hw_device_get_by_name()
49 return hw_devices[i]; in hw_device_get_by_name()
57 err = av_reallocp_array(&hw_devices, nb_hw_devices + 1, in hw_device_add()
58 sizeof(*hw_devices)); in hw_device_add()
63 hw_devices[nb_hw_devices] = av_mallocz(sizeof(HWDevice)); in hw_device_add()
64 if (!hw_devices[nb_hw_devices]) in hw_device_add()
66 return hw_devices[nb_hw_devices++]; in hw_device_add()
[all …]