dear all
I am using 6437,I have a puzzle about h264 decode,now i can encode my video and send it to computer by JTAG, and
I can play this encoded video by TCPMP,but now ,I want to transfer my encoded video to another equipment through
mcbsp,as jtag is too slow. so I need to decode the video by dsp,but from the examples of C:\dvsdk_1_01_00_15
\examples\video_encdec ,decode needs parameters of encode,as
status = VIDENC_process(enc, &inBufDesc, &encodedBufDesc, &encInArgs, &encOutArgs);
Memory_cacheWbInv(encoded, encOutArgs.bytesGenerated);
if (status != VIDENC_EOK) {
printf("Encoder frame %d processing FAILED, status = 0x%x, "
"extendedError = 0x%x\n", n, status, encOutArgs.extendedError);
break;
}
fwrite(encoded,encOutArgs.bytesGenerated,1,fh_enc);
/* Reuse the video input frame for display exchange: */
dst = frameBuffPtr->frame.frameBufferPtr;
if (encOutArgs.bytesGenerated == 0)
{
printf("Frame %d dropped\n", n);
}
/* decode the frame */
decInArgs.numBytes = encOutArgs.bytesGenerated;
status = VIDDEC_process(dec, &encodedBufDesc, &outBufDesc, &decInArgs,
&decOutArgs);
now if I depart this project into two,ons is encode,the other is decode,how can I get the parameters generated by
encode? thanks.