how can merge the video data to a matrix? [closed]

asked 2015-12-10 07:27:15 -0600

muc gravatar image

Hi, I am working with a video sender. That can communicate with it by the SDK(Software Development Kit). Every time a frame is ready then run an internal event below (the name is video-available) ,that we can do our processing in this event.

EVENT IS :
             video-available:
                                    {
                                       ENCODE-VIDEO_EVENT*   videoEventa;
                                     videoEvent = (ENCODE-VIDEO_EVENT*)     pData;

                                    server->process_jpeg_image(videoEventa->buff, videoEventa->size);

                                     break;
                                      }

we know frame will be send with ENCODE-VIDEO_EVENT* pointer.and the data structure is:

typedef struct { char* buff; int size; }

how can merge the video data to matrix? Many Thanks.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by pklab
close date 2015-12-12 12:42:14.946508

Comments

it's funny but this question is same of this other... are you same user too ?

pklab gravatar imagepklab ( 2015-12-12 12:41:31 -0600 )edit