Lines Matching full:cd
190 codec_t* cd; in TIFFFindCODEC() local
192 for (cd = registeredCODECS; cd; cd = cd->next) in TIFFFindCODEC()
193 if (cd->info->scheme == scheme) in TIFFFindCODEC()
194 return ((const TIFFCodec*) cd->info); in TIFFFindCODEC()
204 codec_t* cd = (codec_t*) in TIFFRegisterCODEC() local
207 if (cd != NULL) { in TIFFRegisterCODEC()
208 cd->info = (TIFFCodec*) ((uint8*) cd + sizeof (codec_t)); in TIFFRegisterCODEC()
209 cd->info->name = (char*) in TIFFRegisterCODEC()
210 ((uint8*) cd->info + sizeof (TIFFCodec)); in TIFFRegisterCODEC()
211 strcpy(cd->info->name, name); in TIFFRegisterCODEC()
212 cd->info->scheme = scheme; in TIFFRegisterCODEC()
213 cd->info->init = init; in TIFFRegisterCODEC()
214 cd->next = registeredCODECS; in TIFFRegisterCODEC()
215 registeredCODECS = cd; in TIFFRegisterCODEC()
221 return (cd->info); in TIFFRegisterCODEC()
227 codec_t* cd; in TIFFUnRegisterCODEC() local
230 for (pcd = ®isteredCODECS; (cd = *pcd) != NULL; pcd = &cd->next) in TIFFUnRegisterCODEC()
231 if (cd->info == c) { in TIFFUnRegisterCODEC()
232 *pcd = cd->next; in TIFFUnRegisterCODEC()
233 _TIFFfree(cd); in TIFFUnRegisterCODEC()
256 codec_t *cd; in TIFFGetConfiguredCODECs() local
261 for (cd = registeredCODECS; cd; cd = cd->next) { in TIFFGetConfiguredCODECs()
269 _TIFFmemcpy(codecs + i - 1, cd, sizeof(TIFFCodec)); in TIFFGetConfiguredCODECs()