Lines Matching full:cd
188 codec_t* cd; in TIFFFindCODEC() local
190 for (cd = registeredCODECS; cd; cd = cd->next) in TIFFFindCODEC()
191 if (cd->info->scheme == scheme) in TIFFFindCODEC()
192 return ((const TIFFCodec*) cd->info); in TIFFFindCODEC()
202 codec_t* cd = (codec_t*) in TIFFRegisterCODEC() local
205 if (cd != NULL) { in TIFFRegisterCODEC()
206 cd->info = (TIFFCodec*) ((uint8*) cd + sizeof (codec_t)); in TIFFRegisterCODEC()
207 cd->info->name = (char*) in TIFFRegisterCODEC()
208 ((uint8*) cd->info + sizeof (TIFFCodec)); in TIFFRegisterCODEC()
209 strcpy(cd->info->name, name); in TIFFRegisterCODEC()
210 cd->info->scheme = scheme; in TIFFRegisterCODEC()
211 cd->info->init = init; in TIFFRegisterCODEC()
212 cd->next = registeredCODECS; in TIFFRegisterCODEC()
213 registeredCODECS = cd; in TIFFRegisterCODEC()
219 return (cd->info); in TIFFRegisterCODEC()
225 codec_t* cd; in TIFFUnRegisterCODEC() local
228 for (pcd = ®isteredCODECS; (cd = *pcd) != NULL; pcd = &cd->next) in TIFFUnRegisterCODEC()
229 if (cd->info == c) { in TIFFUnRegisterCODEC()
230 *pcd = cd->next; in TIFFUnRegisterCODEC()
231 _TIFFfree(cd); in TIFFUnRegisterCODEC()
254 codec_t *cd; in TIFFGetConfiguredCODECs() local
259 for (cd = registeredCODECS; cd; cd = cd->next) { in TIFFGetConfiguredCODECs()
267 _TIFFmemcpy(codecs + i - 1, cd, sizeof(TIFFCodec)); in TIFFGetConfiguredCODECs()