Strip trailing whitespace, reference decoder source (Atch 1)
Change-Id: I7a7970ebd0253a2c8d62fe6e988c4a8d3f7a2227
modified: text_src/atch1/dixie_loopfilter.c
modified: text_src/atch1/vp8_prob_data.h
modified: text_src/atch1/vpx_decoder.h
modified: text_src/atch1/vpx_decoder_compat.h
modified: text_src/atch1/vpx_image.h
diff --git a/text_src/atch1/dixie_loopfilter.c b/text_src/atch1/dixie_loopfilter.c
index 8ba30f5..eea6cad 100644
--- a/text_src/atch1/dixie_loopfilter.c
+++ b/text_src/atch1/dixie_loopfilter.c
@@ -53,7 +53,7 @@
int stride,
int hev_threshold)
{
- return ABS(p1 - p0) > hev_threshold ||
+ return ABS(p1 - p0) > hev_threshold ||
ABS(q1 - q0) > hev_threshold;
}
diff --git a/text_src/atch1/vp8_prob_data.h b/text_src/atch1/vp8_prob_data.h
index bc6b555..1e4cccb 100644
--- a/text_src/atch1/vp8_prob_data.h
+++ b/text_src/atch1/vp8_prob_data.h
@@ -380,7 +380,7 @@
static const
unsigned char k_default_mv_probs[2][MV_PROB_CNT] =
{
- { // row
+ { // row
162, // is short
128, // sign
225, 146, 172, 147, 214, 39, 156, // short tree
diff --git a/text_src/atch1/vpx_decoder.h b/text_src/atch1/vpx_decoder.h
index 0a5308e..8f4229b 100644
--- a/text_src/atch1/vpx_decoder.h
+++ b/text_src/atch1/vpx_decoder.h
@@ -151,7 +151,7 @@
* Performs high level parsing of the bitstream. Construction of
* a decoder context is not necessary. Can be used to determine
* if the bitstream is of the proper format, and to extract
- * information from the stream.
+ * information from the stream.
*
* \param[in] iface Pointer to the alogrithm interface
* \param[in] data Pointer to a block of data to parse
diff --git a/text_src/atch1/vpx_decoder_compat.h b/text_src/atch1/vpx_decoder_compat.h
index 920b2e8..3563697 100644
--- a/text_src/atch1/vpx_decoder_compat.h
+++ b/text_src/atch1/vpx_decoder_compat.h
@@ -47,7 +47,7 @@
/*!\brief The given bitstream is not supported.
*
- * The bitstream was unable to be parsed at the highest
+ * The bitstream was unable to be parsed at the highest
* level. The decoder is unable to proceed. This error \ref
* SHOULD be treated as fatal to the stream.
*/
@@ -458,7 +458,7 @@
* The following functions are required to be implemented for all
* decoders that advertise the VPX_DEC_CAP_PUT_SLICE capability.
* Calling these functions for codecs that don't advertise this
- * capability will result in an error code being returned,
+ * capability will result in an error code being returned,
* usually VPX_DEC_ERROR
* @{
*/
diff --git a/text_src/atch1/vpx_image.h b/text_src/atch1/vpx_image.h
index 6b6c432..80e0499 100644
--- a/text_src/atch1/vpx_image.h
+++ b/text_src/atch1/vpx_image.h
@@ -58,10 +58,10 @@
gggbbbbb rrrrrggg */
VPX_IMG_FMT_RGB555_LE, /**< 16 bit per pixel,
gggbbbbb 0rrrrrgg */
- VPX_IMG_FMT_YV12 = VPX_IMG_FMT_PLANAR |
+ VPX_IMG_FMT_YV12 = VPX_IMG_FMT_PLANAR |
VPX_IMG_FMT_UV_FLIP | 1, /**< planar YVU */
VPX_IMG_FMT_I420 = VPX_IMG_FMT_PLANAR | 2,
- VPX_IMG_FMT_VPXYV12 = VPX_IMG_FMT_PLANAR |
+ VPX_IMG_FMT_VPXYV12 = VPX_IMG_FMT_PLANAR |
VPX_IMG_FMT_UV_FLIP | 3, /** < planar 4:2:0 format with
vpx color space */
VPX_IMG_FMT_VPXI420 = VPX_IMG_FMT_PLANAR | 4 /** < planar
@@ -71,7 +71,7 @@
#if !defined(VPX_CODEC_DISABLE_COMPAT) || !VPX_CODEC_DISABLE_COMPAT
/** \deprecated Use #VPX_IMG_FMT_PLANAR */
-#define IMG_FMT_PLANAR VPX_IMG_FMT_PLANAR
+#define IMG_FMT_PLANAR VPX_IMG_FMT_PLANAR
/** \deprecated Use #VPX_IMG_FMT_UV_FLIP */
#define IMG_FMT_UV_FLIP VPX_IMG_FMT_UV_FLIP
/** \deprecated Use #VPX_IMG_FMT_HAS_ALPHA */