Lines Matching refs:decoded

193            - store a decoded image
195 … if *open* didn't fully open an image this function should give back part of image as decoded data.
273 * Open a PNG image and decode it into dsc.decoded
285 …/* Decode and store the image. If `dsc->decoded` is `NULL`, the `decoder_get_area` function will b…
286 dsc->decoded = my_png_decoder(dsc->src);
288 …/* Change the color format if decoded image format is different than original format. For PNG it's…
289 dsc->decoded.header.cf = LV_COLOR_FORMAT_...
303 * the decoded area is stored here after each call.
310 …* If `dsc->decoded` is always set in `decoder_open` then `decoder_get_area` does not need to be im…
311 …* If `dsc->decoded` is only sometimes set or never set in `decoder_open` then `decoder_get_area` i…
313 …* In the example below the image is decoded line-by-line but the decoded area can have any shape a…
328 dsc->decoded.header.cf,
336 dsc->decoded.header.cf,
344 … /* all lines have already been decoded. indicate completion by returning `LV_RESULT_INVALID` */
380 However, if you can open the image, a pointer to the decoded image should be
381 set in ``dsc->decoded``. If the format is known, but you don't want to
382 decode the entire image (e.g. no memory for it), set ``dsc->decoded = NULL`` and
386 ``decoder_open`` function and store image data in ``dsc->decoded``.
410 …/* Do something with `dsc->decoded`. You can copy out the decoded image by `lv_draw_buf_dup(dsc.de…
449 lv_draw_buf_premultiply(dsc->decoded);
456 … uint32_t stride_expect = lv_draw_buf_width_to_stride(decoded->header.w, decoded->header.cf);
457 if(decoded->header.stride != stride_expect) {
459 lv_draw_buf_t * aligned = lv_draw_buf_adjust_stride(decoded, stride_expect);
465 decoded = aligned;
511 ``dsc->decoded`` instead of needing to decode them again.
514 store the decoded image. LVGL tries to optimize the process as much as