lv_image_decoder_get_area() function
Decode `full_area` pixels incrementally by calling in a loop. Set `decoded_area` to `LV_COORD_MIN` on first call.
Arguments
dsc
image decoder descriptor
full_area
input parameter. the full area to decode after enough subsequent calls
decoded_area
input+output parameter. set the values to `LV_COORD_MIN` for the first call and to reset decoding. the decoded area is stored here after each call.
Return value
LV_RESULT_OK: success; LV_RESULT_INVALID: an error occurred or there is nothing left to decode
lv_image_decoder_get_area() is called by 1 function and calls 1 function:
![]()
lv_image_decoder_get_area()
lv_image_decoder_get_area() reads 3 variables:
![]()
lv_image_decoder_get_area()