Commit a93e65e5 authored by Yaowu Xu's avatar Yaowu Xu

Fix a couple of typos

Change-Id: Ibec40c3cd8e14343b096e406ba233cf4f131e7b9
parent c71d6130
......@@ -62,8 +62,8 @@ typedef enum {
#define MAX_SEG_MASK_BITS 1
// SEG_MASK_TYPES should not surpass 1 << MAX_SEG_MASK_BITS
typedef enum {
DIFFWTD_45 = 0,
DIFFWTD_45_INV,
DIFFWTD_42 = 0,
DIFFWTD_42_INV,
SEG_MASK_TYPES,
} SEG_MASK_TYPE;
......
......@@ -378,12 +378,12 @@ void build_compound_seg_mask(uint8_t *mask, SEG_MASK_TYPE mask_type,
const uint8_t *src1, int src1_stride,
BLOCK_SIZE sb_type, int h, int w) {
switch (mask_type) {
case DIFFWTD_45:
diffwtd_mask(mask, 0, 47, src0, src0_stride, src1, src1_stride, sb_type,
case DIFFWTD_42:
diffwtd_mask(mask, 0, 42, src0, src0_stride, src1, src1_stride, sb_type,
h, w);
break;
case DIFFWTD_45_INV:
diffwtd_mask(mask, 1, 47, src0, src0_stride, src1, src1_stride, sb_type,
case DIFFWTD_42_INV:
diffwtd_mask(mask, 1, 42, src0, src0_stride, src1, src1_stride, sb_type,
h, w);
break;
default: assert(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment