Lines Matching defs:name
97 static int test_device(enum AVHWDeviceType type, const char *name,
106 fprintf(stderr, "Failed to create %s device: %d.\n", name, err);
118 fprintf(stderr, "Device type %s successfully created.\n", name);
120 err = test_derivation(ref, name);
149 const char *name;
152 name = av_hwdevice_get_type_name(type);
153 if (!name) {
154 fprintf(stderr, "No name available for device type %d.\n", type);
158 check = av_hwdevice_find_type_by_name(name);
160 fprintf(stderr, "Type %d maps to name %s maps to type %d.\n",
161 type, name, check);
167 err = test_device(type, name, NULL, NULL, 0);
169 fprintf(stderr, "Test failed for %s with default options.\n", name);
173 fprintf(stderr, "Test passed for %s with default options.\n", name);
182 err = test_device(type, name,
187 name, test_devices[i].possible_devices[j]);
192 name, test_devices[i].possible_devices[j]);