What is the proper way to insert a comment marker?
I get errors
CMEMK Error: get_phys: Unable to find phys addr for 0x00000018
CMEMK Error: get_phys: get_user_pages() failed: -14
CMEMK Error: GETPHYS: Failed to convert virtual 0x18 to physical.
when calling IMGENC1_process:
|
memset(&jpegInargs, 0, sizeof(jpegInargs)); |
Update:
When insertCommentMarker = 1and commentSegLen = strlen() lines in the code above are removed, the encoder runs without any errors and the picture is encoded properly.