init_video_decoder interface
- Definition:
void * _stdcall init_video_decoder(int width, int height, VIDEO_CODEC codec);
- Parameter:
width:[in],Video' width
height:[in],Video' height
codec:[in],Video's codec
- Return:
if Success, return a point to a context, else return NULL.
- Explain:
It is called to generate a context for a camera video before decoding a video frame, If the video frame's format is not the same as before, this function must be called again.