image.h 958 B

123456789101112131415161718192021222324252627282930313233
  1. /*!
  2. ************************************************************************
  3. * \file image.h
  4. *
  5. * \brief
  6. * prototypes for image.c
  7. *
  8. ************************************************************************
  9. */
  10. #ifndef _IMAGE_H_
  11. #define _IMAGE_H_
  12. #include "mbuffer.h"
  13. extern int picture_order(VideoParameters *p_Vid);
  14. extern void decode_one_slice (Slice *currSlice);
  15. extern void exit_picture(VideoParameters *p_Vid, StorablePicture **dec_picture);
  16. extern int decode_one_frame(VideoParameters *p_Vid, uint64_t time_code);
  17. extern int is_new_picture(StorablePicture *dec_picture, Slice *currSlice, OldSliceParams *p_old_slice);
  18. extern void init_old_slice(OldSliceParams *p_old_slice);
  19. // For 4:4:4 independent mode
  20. extern void copy_dec_picture_JV( VideoParameters *p_Vid, StorablePicture *dst, StorablePicture *src );
  21. extern void frame_postprocessing(VideoParameters *p_Vid);
  22. extern void field_postprocessing(VideoParameters *p_Vid);
  23. #endif