Hi,all
I want to make a codec by modifying the video_copy example(TI example,lab14)
How to pass two block memory of different types to DSP,Thanks
Here is my method(but got a compile error segment fault):
(in the encode_video.c)
char aa[100];
point bb[100]; //point is a type I defined,simply {int x,int y}
....
XDAS_Int8 * buffers[2];
buffers[0] = (XDAS_Int8 *)aa;
buffers[1] = (XDAS_Int8 *)bb;
inBufDesc.bufs = (XDAS_Int8 **) buffers;
....
status = VIDENC_process(encoderHandle, &inBufDesc,&outBufDesc,&inArgs,&outArgs);
....