[x265] [PATCH 2 of 3] api: white-space cleanups in x265.h
Steve Borho
steve at borho.org
Thu Oct 24 00:05:12 CEST 2013
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1382562737 18000
# Wed Oct 23 16:12:17 2013 -0500
# Node ID 6687f9654743a596fb810231e236ff954245a186
# Parent 6fefac92031188ddc2c620956576b31981ecf515
api: white-space cleanups in x265.h
diff -r 6fefac920311 -r 6687f9654743 source/x265.h
--- a/source/x265.h Wed Oct 23 16:11:59 2013 -0500
+++ b/source/x265.h Wed Oct 23 16:12:17 2013 -0500
@@ -113,8 +113,7 @@
NAL_UNIT_UNSPECIFIED_62,
NAL_UNIT_UNSPECIFIED_63,
NAL_UNIT_INVALID,
-}
-NalUnitType;
+} NalUnitType;
/* The data within the payload is already NAL-encapsulated; the type
* is merely in the struct for easy access by the calling application.
@@ -126,8 +125,7 @@
int i_type; /* NalUnitType */
int i_payload; /* size in bytes */
uint8_t *p_payload;
-}
-x265_nal_t;
+} x265_nal_t;
typedef struct x265_picture_t
{
@@ -138,8 +136,7 @@
int poc;
int64_t pts;
void* userData;
-}
-x265_picture_t;
+} x265_picture_t;
typedef enum
{
@@ -148,8 +145,7 @@
X265_UMH_SEARCH,
X265_STAR_SEARCH,
X265_FULL_SEARCH
-}
-X265_ME_METHODS;
+} X265_ME_METHODS;
/* CPU flags */
@@ -219,8 +215,7 @@
X265_RC_ABR,
X265_RC_CQP,
X265_RC_CRF
-}
-X265_RC_METHODS;
+} X265_RC_METHODS;
/*Level of Rate Distortion Optimization Allowed */
typedef enum RDOLevel
@@ -228,8 +223,7 @@
X265_NO_RDO_NO_RDOQ, /* Partial RDO during mode decision (only at each depth/mode), no RDO in quantization*/
X265_NO_RDO, /* Partial RDO during mode decision (only at each depth/mode), quantization RDO enabled */
X265_FULL_RDO /* Full RD-based mode decision */
-}
-X265_RDO_LEVEL;
+} X265_RDO_LEVEL;
/* Output statistics from encoder */
typedef struct x265_stats_t
@@ -338,9 +332,7 @@
int aqMode; ///< Adaptive QP (AQ)
double aqStrength;
} rc;
-}
-
-x265_param_t;
+} x265_param_t;
/***
* If not called, first encoder allocated will auto-detect the CPU and
More information about the x265-devel
mailing list