X-Git-Url: http://git.maemo.org/git/?p=mardrone;a=blobdiff_plain;f=mardrone%2FARDrone_SDK_Version_1_8_20110726%2FARDroneLib%2FVLIB%2FP264%2Fp264.h;fp=mardrone%2FARDrone_SDK_Version_1_8_20110726%2FARDroneLib%2FVLIB%2FP264%2Fp264.h;h=da683de1a5b7a457711c1e3ceea9450b3779e3d6;hp=0000000000000000000000000000000000000000;hb=9ec9bc13b75d30bc45535c54a652934debfcea92;hpb=ae0a3c2dc0898400aca0dd6b439c5db8044db7b2 diff --git a/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VLIB/P264/p264.h b/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VLIB/P264/p264.h new file mode 100644 index 0000000..da683de --- /dev/null +++ b/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VLIB/P264/p264.h @@ -0,0 +1,13 @@ +#ifndef _P264_H_ +#define _P264_H_ + +#include +#include + +// not_last > 0 if this is not the last coefficient +// If last == 0, a special sequence is emitted +void p264_encode( video_stream_t* const stream, int32_t level, int32_t run, int32_t not_last ); +C_RESULT p264_decode( video_stream_t* const stream, int32_t* run, uint32_t* level, int32_t* last); +void p264_encode_int(video_stream_t* const stream, int32_t code); +void p264_decode_int(video_stream_t* const stream, int32_t *code); +#endif // _P264_H_