Clean ups and minor changes in high precision mv with 8-tap interpolation
* Removes EDGE_PIXEL_FILTER for external sanpshot * changes the default 8-tap filter based on high precision results in http://www.corp.google.com/~debargha/vp8_results/enhinterpn.html * changes the default prob tables for high-precision mv encoding to favor zeros in the last bit (i.e. quarter pel). This is only important for short clips. Change-Id: I02bb0de8679d9eec06cdbcc8160dbf073cd847a4
This commit is contained in:
parent
18e90d744e
commit
fb472c5b64
@ -33,14 +33,14 @@ const MV_CONTEXT vp8_default_mv_context[2] =
|
||||
/* row */
|
||||
162, /* is short */
|
||||
128, /* sign */
|
||||
230, 215, 175, 140, 160, 180, 160, 140, 180, 214, 150, 39, 120, 156, 160, /* short tree */
|
||||
220, 204, 180, 192, 192, 119, 192, 192, 180, 140, 192, 192, 224, 224, 224, /* short tree */
|
||||
128, 129, 132, 75, 145, 178, 206, 239, 254, 254, 254 /* long bits */
|
||||
}},
|
||||
{{
|
||||
/* same for column */
|
||||
164, /* is short */
|
||||
128,
|
||||
220, 204, 180, 170, 140, 119, 180, 235, 180, 140, 185, 230, 229, 228, 200,
|
||||
220, 204, 180, 192, 192, 119, 192, 192, 180, 140, 192, 192, 224, 224, 224, /* short tree */
|
||||
128, 130, 130, 74, 148, 180, 203, 236, 254, 254, 254 /* long bits */
|
||||
}}
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -27,12 +27,4 @@
|
||||
extern const short vp8_bilinear_filters[SUBPEL_SHIFTS][2];
|
||||
extern const short vp8_sub_pel_filters[SUBPEL_SHIFTS][INTERP_EXTEND*2];
|
||||
|
||||
/* whether to use a special filter for edge pixels */
|
||||
#define EDGE_PIXEL_FILTER 0
|
||||
|
||||
#if EDGE_PIXEL_FILTER > 0
|
||||
#define EDGE_PIXEL_FILTER_EXTEND 2
|
||||
extern const short vp8_sub_pel_filters_ns[SUBPEL_SHIFTS*SUBPEL_SHIFTS][4*EDGE_PIXEL_FILTER_EXTEND*EDGE_PIXEL_FILTER_EXTEND];
|
||||
#endif
|
||||
|
||||
#endif //FILTER_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user