Added support for Main Profile toolsets in encoder.

Added support for CABAC entropy coding.
Added support for B slices.
Fixed an issue in rate control constant QP mode.

Change-Id: Ib759d35e8e943f941aa9b8bbff0362d92c619994
diff --git a/encoder/irc_common.h b/encoder/irc_common.h
index c341de4..448fad3 100644
--- a/encoder/irc_common.h
+++ b/encoder/irc_common.h
@@ -97,7 +97,7 @@
 /* The ratios between I to P and P to B Qp is specified here */
 #define K_Q 4
 #define I_TO_P_RATIO (19) /* In K_Q Q factor */
-#define P_TO_B_RATIO (21) /* In K_Q Q factor */
+#define P_TO_B_RATIO (32) /* In K_Q Q factor */
 #define P_TO_I_RATIO (13) /* In K_Q Q factor */
 
 #endif /* _RC_COMMON_H_ */