]> granicus.if.org Git - libvpx/commitdiff
VP9_FRAME_MARKER -> VPX_FRAME_MARKER
authorYaowu Xu <yaowu@google.com>
Wed, 20 Jan 2016 23:44:37 +0000 (15:44 -0800)
committerYaowu Xu <yaowu@google.com>
Wed, 20 Jan 2016 23:44:37 +0000 (15:44 -0800)
Change-Id: I402faf4e8df60f02d82ad79dc725722b4e1f8f9c

vp10/common/common.h
vp10/decoder/decodeframe.c
vp10/encoder/bitstream.c
vp10/vp10_dx_iface.c

index 4abcbf633256e42366ad765f11da957a7c5a19aa..a984113c21971b7e59202c0c067bb6dbac3578f8 100644 (file)
@@ -65,7 +65,7 @@ static INLINE int get_unsigned_bits(unsigned int num_values) {
 #define VP10_SYNC_CODE_1 0x83
 #define VP10_SYNC_CODE_2 0x43
 
-#define VP9_FRAME_MARKER 0x2
+#define VPX_FRAME_MARKER 0x2
 
 
 #ifdef __cplusplus
index 06af4314db8396cf9413d5f8bf9a716d8bb79650..e8c3bf2a03e1db1442d2ae89a803abf0205010c5 100644 (file)
@@ -1868,7 +1868,7 @@ static size_t read_uncompressed_header(VP10Decoder *pbi,
   cm->last_frame_type = cm->frame_type;
   cm->last_intra_only = cm->intra_only;
 
-  if (vpx_rb_read_literal(rb, 2) != VP9_FRAME_MARKER)
+  if (vpx_rb_read_literal(rb, 2) != VPX_FRAME_MARKER)
       vpx_internal_error(&cm->error, VPX_CODEC_UNSUP_BITSTREAM,
                          "Invalid frame marker");
 
index ede8bb3702e5b89fc6228ed33cd2b1289aef78af..16b0e0b912ce4305d6211a315d7dd4a423e4692f 100644 (file)
@@ -1271,7 +1271,7 @@ static void write_uncompressed_header(VP10_COMP *cpi,
   VP10_COMMON *const cm = &cpi->common;
   MACROBLOCKD *const xd = &cpi->td.mb.e_mbd;
 
-  vpx_wb_write_literal(wb, VP9_FRAME_MARKER, 2);
+  vpx_wb_write_literal(wb, VPX_FRAME_MARKER, 2);
 
   write_profile(cm->profile, wb);
 
index 33337a4bd2a92c19cf7ae8cd01ea083480d1d4d6..07d21896527d068cedfb296e386fea240298b520 100644 (file)
@@ -197,7 +197,7 @@ static vpx_codec_err_t decoder_peek_si_internal(const uint8_t *data,
     const int frame_marker = vpx_rb_read_literal(&rb, 2);
     const BITSTREAM_PROFILE profile = vp10_read_profile(&rb);
 
-    if (frame_marker != VP9_FRAME_MARKER)
+    if (frame_marker != VPX_FRAME_MARKER)
       return VPX_CODEC_UNSUP_BITSTREAM;
 
     if (profile >= MAX_PROFILES)