summaryrefslogtreecommitdiffstats
path: root/encoder/ive2.h
diff options
context:
space:
mode:
authorHarinarayanan K K <harinarayanan.kk@ittiam.com>2015-06-18 16:03:38 +0530
committerMarco Nelissen <marcone@google.com>2015-06-25 08:25:43 -0700
commit3749f6f435e79624f72841e866245d84195551cd (patch)
tree02569a7442cbbdf650fdde01f3e72741b4b094bb /encoder/ive2.h
parentc080d5799655658eb847b0583f58e5aff3a5cbaa (diff)
downloadandroid_external_libavc-3749f6f435e79624f72841e866245d84195551cd.tar.gz
android_external_libavc-3749f6f435e79624f72841e866245d84195551cd.tar.bz2
android_external_libavc-3749f6f435e79624f72841e866245d84195551cd.zip
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
Diffstat (limited to 'encoder/ive2.h')
-rw-r--r--encoder/ive2.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/encoder/ive2.h b/encoder/ive2.h
index 8cb0fd1..7a543bb 100644
--- a/encoder/ive2.h
+++ b/encoder/ive2.h
@@ -293,7 +293,7 @@ typedef struct
UWORD32 u4_max_bitrate;
/** Maximum number of consecutive B frames */
- UWORD32 u4_max_num_bframes;
+ UWORD32 u4_num_bframes;
/** Content type Interlaced/Progressive */
IV_CONTENT_TYPE_T e_content_type;
@@ -394,6 +394,15 @@ typedef struct
/* encoded frame type */
UWORD32 u4_encoded_frame_type;
+ /** Flag to indicate if this is the last output from the encoder */
+ UWORD32 u4_is_last;
+
+ /** Lower 32bits of input time stamp */
+ UWORD32 u4_timestamp_low;
+
+ /** Upper 32bits of input time stamp */
+ UWORD32 u4_timestamp_high;
+
/** Descriptor for input raw buffer freed from codec */
iv_raw_buf_t s_inp_buf;
@@ -1339,9 +1348,6 @@ typedef struct
/** IDR frame interval */
UWORD32 u4_idr_frm_interval;
- /** consecutive B frames */
- UWORD32 u4_num_b_frames;
-
/** Lower 32bits of time stamp corresponding to input buffer,
* from which this command takes effect */
UWORD32 u4_timestamp_low;
@@ -1428,6 +1434,9 @@ typedef struct
* from which this command takes effect */
UWORD32 u4_timestamp_high;
+ /** Entropy coding mode flag: 0-CAVLC, 1-CABAC */
+ UWORD32 u4_entropy_coding_mode;
+
}ive_ctl_set_profile_params_ip_t;
/** Output structure : Set Profile Params */