Everybody is good:
Just play haisi platform soon, have a question want to consult everybody, I am at sea, 3519 v101, platforms, using two VO channel (VO0 and VO1) were about to show two parts of the picture, and one on the left for VO0, output window for (x=0, y=0, width=960, height=1080), binding the VPSS works, VPSS works binding the VI, shown as a real-time video; VO1 output window for (x=960, y=0, width=960, height=1080), by HI_MPI_VO_SendFrame show a static image of fixed, now I need to do a screenshot function, can cut down the entire screen content, but haisi provide SDK seems only to a single output channel for screenshots, if there is a feasible way?
And if stacked layers of graphics layer (framebuffer), want to cut the whole screen contents and how to operate?
CodePudding user response:
Hello you and I have the same requirements, but now I'm stuck in static images, need HI_MPI_VO_SendFrame VIDEO_FRAME_INFO_S structureExcuse me, how did you manage to read for frame_info BMP or JPG?
CodePudding user response:
Because I have no decoding hardware platform, so I use libjpeg library - turbo soft decoding JPG file for yuv420sp or 422 sp data, the YUV data corresponding to the name of the virtual address of VIDEO_FRAME_INFO_S, send is ok