JD2022-TU1/main/extern/Camcam/LIBS/H264 - lib/CMP_Decoder.cpp

36 lines
No EOL
512 B
C++

#include "CODEC.h"
#ifdef CODEC_CMP
//#include "ltmm.h"
void *CMP_Decode_INIT(MAP *PPicture)
{
return NULL;
}
u32 CMP_Decode_FRAME(void *H,MAP *PPicture,char *Buffer,u32 FROMSCRATCH)
{
return 1;
}
void CMP_Decode_CLOSE(void *H)
{
}
void *Decode_INIT(MAP *PPicture)
{
return CMP_Decode_INIT(PPicture);
}
u32 Decode_FRAME(void *H, MAP *PPicture, char *Buffer, u32 FROMSCRATCH)
{
return CMP_Decode_FRAME(H, PPicture, Buffer, FROMSCRATCH);
}
void Decode_CLOSE(void *H)
{
CMP_Decode_CLOSE(H);
}
#endif