Dear Experts
I am using Codec engine for my project, H.264/avc decoder, which is now running on GPP side without any problem. I now want to speed up it with DSP side. So I am planning to port part of GPP work into DSP side.
However, I is meeting a problem, how can I pass a data structure from GPP side into DSP side?
in app.c file, there is "VIDDEC_process(dec, &inBufDesc, &outBufDesc, &decInArgs, &decOutArgs);", Can we use "&decInArgs" to pass a data structure from GPP into DSP side? How? or any other method will be appreciated. thank you!
Here is a data structure involved in porting:
===========================================
typedef struct slice
{
struct video_par *p_Vid;
struct inp_par *p_Inp;
struct decoded_picture_buffer *p_Dpb;
int idr_flag;
int idr_pic_id;
short current_slice_nr;
int mb_aff_frame_flag;
int qp;
Boolean is_reset_coeff;
imgpel ***mb_pred;
imgpel ***mb_rec;
int ***mb_rres;
int ***cof;
int ***fcf;
Many thanks,
David