decode_video interface
- Definition:
int _stdcall decode_video(void * ctx, VIDEO_FRAME * vf, unsigned char ** rgb);
- Parameter:
ctx:[in],The point to the context for decoding video frame which get from init_video_decoder
vf:[in],The source data which is to decode
rgb:[in],The dest RGB data which is from decoding
- Return:
>0, success, is the RGB data's lenght, esle is failed
- Explain:
Decode the video frame