Lines Matching refs:basic_info
303 basic_info; in ReadJXLImage() local
305 decoder_status=JxlDecoderGetBasicInfo(decoder,&basic_info); in ReadJXLImage()
309 if (basic_info.have_animation == 1) in ReadJXLImage()
316 image->columns=basic_info.xsize; in ReadJXLImage()
317 image->rows=basic_info.ysize; in ReadJXLImage()
318 image->depth=basic_info.bits_per_sample; in ReadJXLImage()
319 if (basic_info.alpha_bits != 0) in ReadJXLImage()
321 image->orientation=JXLOrientationToOrientation(basic_info.orientation); in ReadJXLImage()
498 basic_info; in WriteJXLImage() local
565 memset(&basic_info,0,sizeof(basic_info)); in WriteJXLImage()
566 basic_info.xsize=(uint32_t) image->columns; in WriteJXLImage()
567 basic_info.ysize=(uint32_t) image->rows; in WriteJXLImage()
568 basic_info.bits_per_sample=8; in WriteJXLImage()
571 basic_info.bits_per_sample=32; in WriteJXLImage()
572 basic_info.exponent_bits_per_sample=8; in WriteJXLImage()
575 basic_info.alpha_bits=basic_info.bits_per_sample; in WriteJXLImage()
576 encoder_status=JxlEncoderSetBasicInfo(encoder,&basic_info); in WriteJXLImage()