Lines Matching refs:decoder
54 splash_find_data(splash_decoder_t *decoder) in splash_find_data() argument
59 if (decoder->data_type == NULL) in splash_find_data()
61 image_module = preload_search_by_type(decoder->data_type); in splash_find_data()
67 decoder->data = *(void **)p; in splash_find_data()
71 decoder->data_size = *(size_t *)p; in splash_find_data()
74 (void *)decoder->data, (long)decoder->data_size); in splash_find_data()
79 splash_test(splash_decoder_t *decoder) in splash_test() argument
81 if (splash_find_data(decoder)) in splash_test()
83 if (*decoder->init && (*decoder->init)(splash_adp)) { in splash_test()
84 decoder->data = NULL; in splash_test()
85 decoder->data_size = 0; in splash_test()
89 kprintf("splash: image decoder found: %s\n", decoder->name); in splash_test()
94 splash_new(splash_decoder_t *decoder) in splash_new() argument
96 splash_decoder = decoder; in splash_new()
102 splash_register(splash_decoder_t *decoder) in splash_register() argument
113 error = splash_test(decoder); in splash_register()
119 splash_new(decoder); in splash_register()
140 decoder_set[i] = decoder; in splash_register()
147 splash_unregister(splash_decoder_t *decoder) in splash_unregister() argument
151 if (splash_decoder == decoder) { in splash_unregister()