* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTJPEG_H
-#define RTJPEG_H
+#ifndef FFMPEG_RTJPEG_H
+#define FFMPEG_RTJPEG_H
+
+#include <stdint.h>
+#include "dsputil.h"
typedef struct {
int w, h;
void rtjpeg_decode_init(RTJpegContext *c, DSPContext *dsp,
int width, int height,
- uint32_t *lquant, uint32_t *cquant);
+ const uint32_t *lquant, const uint32_t *cquant);
int rtjpeg_decode_frame_yuv420(RTJpegContext *c, AVFrame *f,
- uint8_t *buf, int buf_size);
-#endif
+ const uint8_t *buf, int buf_size);
+#endif /* FFMPEG_RTJPEG_H */