Lines Matching full:decoder
46 /* video adapter and image decoder */
50 /* decoder candidates */
60 splash_find_data(splash_decoder_t *decoder) in splash_find_data() argument
66 if (decoder->data_type == NULL) in splash_find_data()
69 image_module = preload_search_by_type(decoder->data_type); in splash_find_data()
81 decoder->data = ptr; in splash_find_data()
82 decoder->data_size = sz; in splash_find_data()
87 splash_test(splash_decoder_t *decoder) in splash_test() argument
89 if (splash_find_data(decoder)) in splash_test()
91 if (*decoder->init && (*decoder->init)(splash_adp)) { in splash_test()
92 decoder->data = NULL; in splash_test()
93 decoder->data_size = 0; in splash_test()
97 printf("splash: image decoder found: %s\n", decoder->name); in splash_test()
102 splash_new(splash_decoder_t *decoder) in splash_new() argument
104 splash_decoder = decoder; in splash_new()
110 splash_register(splash_decoder_t *decoder) in splash_register() argument
119 * this decoder immediately. in splash_register()
121 error = splash_test(decoder); in splash_register()
123 /* replace the current decoder with new one */ in splash_register()
127 splash_new(decoder); in splash_register()
131 /* register the decoder for later use */ in splash_register()
148 decoder_set[i] = decoder; in splash_register()
155 splash_unregister(splash_decoder_t *decoder) in splash_unregister() argument
159 if (splash_decoder == decoder) { in splash_unregister()