ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/CV.xs
(Generate patch)

Comparing CV/CV.xs (file contents):
Revision 1.58 by root, Mon Jan 4 04:49:04 2021 UTC vs.
Revision 1.59 by root, Sat Apr 10 03:32:09 2021 UTC

574 error = "JxlDecoderSetParallelRunner failed"; 574 error = "JxlDecoderSetParallelRunner failed";
575 if (JxlDecoderSetParallelRunner (dec, JxlThreadParallelRunner, runner) != JXL_DEC_SUCCESS) 575 if (JxlDecoderSetParallelRunner (dec, JxlThreadParallelRunner, runner) != JXL_DEC_SUCCESS)
576 goto done; 576 goto done;
577 577
578 error = "JxlDecoderSubscribeEvents failed"; 578 error = "JxlDecoderSubscribeEvents failed";
579 if (JxlDecoderSubscribeEvents (dec, JXL_DEC_FULL_IMAGE | 0xffc0) != JXL_DEC_SUCCESS) 579 if (JxlDecoderSubscribeEvents (dec, JXL_DEC_FULL_IMAGE | JXL_DEC_BASIC_INFO) != JXL_DEC_SUCCESS)
580 goto done; 580 goto done;
581 581
582 error = "JxlDecoderSetInput failed";
583 if (JxlDecoderSetInput (dec, next_in, avail_in) != JXL_DEC_SUCCESS)
584 goto done;
585
582 for (;;) 586 for (;;)
583 { 587 {
584 JxlDecoderStatus status = JxlDecoderProcessInput (dec, &next_in, &avail_in); 588 JxlDecoderStatus status = JxlDecoderProcessInput (dec);
585 589
586 printf ("status %d\n",status); 590 printf ("status %d\n",status);
587 591
588 switch (status) 592 switch (status)
589 { 593 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines