00001 00012 #ifndef _IMAGE_H_ 00013 #define _IMAGE_H_ 00014 00015 #include "mbuffer.h" 00016 00017 extern void calculate_frame_no(ImageParameters *p_Img, StorablePicture *p); 00018 extern void find_snr (ImageParameters *p_Img, StorablePicture *p, int *p_ref); 00019 extern int picture_order(ImageParameters *p_Img); 00020 00021 extern void decode_one_slice (Slice *currSlice); 00022 extern int read_new_slice(Slice *currSlice); 00023 extern void exit_picture(ImageParameters *p_Img, StorablePicture **dec_picture); 00024 extern int decode_one_frame(ImageParameters *p_Img); 00025 00026 extern int is_new_picture(StorablePicture *dec_picture, Slice *currSlice, OldSliceParams *p_old_slice); 00027 extern void init_old_slice(OldSliceParams *p_old_slice); 00028 // For 4:4:4 independent mode 00029 extern void copy_dec_picture_JV( ImageParameters *p_Img, StorablePicture *dst, StorablePicture *src ); 00030 00031 extern void frame_postprocessing(ImageParameters *p_Img); 00032 extern void field_postprocessing(ImageParameters *p_Img); 00033 00034 #endif 00035