]> granicus.if.org Git - libvpx/commitdiff
cosmetics: Change few types to their posix version
authorYury Gitman <yuryg@google.com>
Wed, 22 Jun 2016 19:15:23 +0000 (12:15 -0700)
committerYury Gitman <yuryg@google.com>
Fri, 24 Jun 2016 17:18:06 +0000 (10:18 -0700)
Change-Id: I6d7bc9ed7396e7b0d63ee97bfa473fdea002f9ee

vp9/common/vp9_seg_common.h
vp9/encoder/vp9_encoder.h

index 7ea7c3dd73c116adaa288d1c292f4a039a6bdbc3..99a9440c17eee92cf3ed702eddecfe2d73f1da5d 100644 (file)
@@ -46,7 +46,7 @@ struct segmentation {
   vpx_prob pred_probs[PREDICTION_PROBS];
 
   int16_t feature_data[MAX_SEGMENTS][SEG_LVL_MAX];
-  unsigned int feature_mask[MAX_SEGMENTS];
+  uint32_t feature_mask[MAX_SEGMENTS];
   int aq_av_offset;
 };
 
index 6be61acb31b725368830e8ecd8d8ff6255c70095..07d57fe32e3201ca3cacc4d82f5b7269224cded1 100644 (file)
@@ -341,7 +341,7 @@ typedef struct VP9_COMP {
   YV12_BUFFER_CONFIG last_frame_uf;
 
   TOKENEXTRA *tile_tok[4][1 << 6];
-  unsigned int tok_count[4][1 << 6];
+  uint32_t tok_count[4][1 << 6];
 
   // Ambient reconstruction err target for force key frames
   int64_t ambient_err;
@@ -373,7 +373,7 @@ typedef struct VP9_COMP {
 
   SPEED_FEATURES sf;
 
-  unsigned int max_mv_magnitude;
+  uint32_t max_mv_magnitude;
   int mv_step_param;
 
   int allow_comp_inter_inter;
@@ -385,7 +385,7 @@ typedef struct VP9_COMP {
   // clips, and 300 for < HD clips.
   int encode_breakout;
 
-  unsigned char *segmentation_map;
+  uint8_t *segmentation_map;
 
   // segment threashold for encode breakout
   int  segment_encode_breakout[MAX_SEGMENTS];