comparison mpegvideo.h @ 608:98e39397636b libavcodec

better scene change detection
author michaelni
date Thu, 22 Aug 2002 19:41:06 +0000
parents b1a191202f96
children c0005de2be59
comparison
equal deleted inserted replaced
607:5762b2d659d2 608:98e39397636b
193 uint8_t *me_scratchpad; /* data area for the me algo, so that the ME doesnt need to malloc/free */ 193 uint8_t *me_scratchpad; /* data area for the me algo, so that the ME doesnt need to malloc/free */
194 uint32_t *me_map; /* map to avoid duplicate evaluations */ 194 uint32_t *me_map; /* map to avoid duplicate evaluations */
195 uint16_t *me_score_map; /* map to store the SADs */ 195 uint16_t *me_score_map; /* map to store the SADs */
196 int me_map_generation; 196 int me_map_generation;
197 int skip_me; /* set if ME is skiped for the current MB */ 197 int skip_me; /* set if ME is skiped for the current MB */
198 int scene_change_score;
198 int mv_dir; 199 int mv_dir;
199 #define MV_DIR_BACKWARD 1 200 #define MV_DIR_BACKWARD 1
200 #define MV_DIR_FORWARD 2 201 #define MV_DIR_FORWARD 2
201 #define MV_DIRECT 4 // bidirectional mode where the difference equals the MV of the last P/S/I-Frame (mpeg4) 202 #define MV_DIRECT 4 // bidirectional mode where the difference equals the MV of the last P/S/I-Frame (mpeg4)
202 int mv_type; 203 int mv_type;