HomeSort by relevance Sort by last modified time
    Searched refs:jdec (Results 1 - 2 of 2) sorted by null

  /hardware/intel/common/libva/test/decode/
loadjpeg.c 67 struct jdec_private *jdec; local
81 jdec = tinyjpeg_init();
82 if (jdec == NULL)
85 if (tinyjpeg_parse_header(jdec, buf, length_of_file)<0)
86 exitmessage(tinyjpeg_get_errorstring(jdec));
89 tinyjpeg_get_size(jdec, &width, &height);
92 if (tinyjpeg_decode(jdec) < 0)
93 exitmessage(tinyjpeg_get_errorstring(jdec));
95 tinyjpeg_free(jdec);
  /external/syslinux/com32/lib/sys/vesa/
background.c 199 struct jdec_private *jdec = NULL; local
211 jdec = tinyjpeg_init();
212 if (!jdec)
215 if (tinyjpeg_parse_header(jdec, jpeg_file, length_of_file) < 0)
218 tinyjpeg_get_size(jdec, &width, &height);
223 tinyjpeg_set_components(jdec, components, 1);
225 tinyjpeg_set_bytes_per_row(jdec, bytes_per_row, 1);
227 tinyjpeg_decode(jdec, TINYJPEG_FMT_BGRA32);
235 if (jdec)
236 free(jdec);
    [all...]

Completed in 87 milliseconds