Lines Matching refs:decoder
355 avifDecoder *decoder; in gdImageCreateFromAvifCtx() local
361 decoder = avifDecoderCreate(); in gdImageCreateFromAvifCtx()
369 decoder->strictFlags &= ~AVIF_STRICT_PIXI_REQUIRED; in gdImageCreateFromAvifCtx()
378 avifDecoderSetIO(decoder, io); in gdImageCreateFromAvifCtx()
380 result = avifDecoderParse(decoder); in gdImageCreateFromAvifCtx()
385 result = avifDecoderNextImage(decoder); in gdImageCreateFromAvifCtx()
389 if (!isAvifSrgbImage(decoder->image)) in gdImageCreateFromAvifCtx()
394 avifRGBImageSetDefaults(&rgb, decoder->image); in gdImageCreateFromAvifCtx()
404 result = avifImageYUVToRGB(decoder->image, &rgb); in gdImageCreateFromAvifCtx()
408 im = gdImageCreateTrueColor(decoder->image->width, decoder->image->height); in gdImageCreateFromAvifCtx()
420 for (y = 0; y < decoder->image->height; y++) { in gdImageCreateFromAvifCtx()
421 for (x = 0; x < decoder->image->width; x++) { in gdImageCreateFromAvifCtx()
432 avifDecoderDestroy(decoder); in gdImageCreateFromAvifCtx()