Lines Matching refs:decoder
62 splash_find_data(splash_decoder_t *decoder) in splash_find_data() argument
68 if (decoder->data_type == NULL) in splash_find_data()
71 image_module = preload_search_by_type(decoder->data_type); in splash_find_data()
83 decoder->data = ptr; in splash_find_data()
84 decoder->data_size = sz; in splash_find_data()
89 splash_test(splash_decoder_t *decoder) in splash_test() argument
91 if (splash_find_data(decoder)) in splash_test()
93 if (*decoder->init && (*decoder->init)(splash_adp)) { in splash_test()
94 decoder->data = NULL; in splash_test()
95 decoder->data_size = 0; in splash_test()
99 printf("splash: image decoder found: %s\n", decoder->name); in splash_test()
104 splash_new(splash_decoder_t *decoder) in splash_new() argument
106 splash_decoder = decoder; in splash_new()
112 splash_register(splash_decoder_t *decoder) in splash_register() argument
123 error = splash_test(decoder); in splash_register()
129 splash_new(decoder); in splash_register()
150 decoder_set[i] = decoder; in splash_register()
157 splash_unregister(splash_decoder_t *decoder) in splash_unregister() argument
161 if (splash_decoder == decoder) { in splash_unregister()