Commit 94f2496e authored by Dafna Hirschfeld's avatar Dafna Hirschfeld
Browse files

replace EncReportInfo with struct EncReportInfo


Signed-off-by: Dafna Hirschfeld's avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
parent 7e30f0e2
......@@ -3629,7 +3629,7 @@ This is only for CODA9.
/**
* @brief This structure is used for reporting encoder information. (CODA9 only)
*/
typedef struct {
struct EncReportInfo {
/**
@verbatim
@* 0 : reporting disable
......@@ -3640,7 +3640,7 @@ typedef struct {
int type; /**< This value is used for picture type reporting in MVInfo and Sliceinfo. */
int sz; /**< This value means the size for each reporting data (MBinfo, MVinfo, Sliceinfo). */
PhysicalAddress addr; /**< The start address of each reporting buffer into which encoder puts data. */
} EncReportInfo;
};
/**
* @brief This is a data structure for reporting the results of picture encoding operations.
......@@ -3678,9 +3678,9 @@ identical with the specified picture stream buffer address by HOST.
int errorReason; /**< The error reason of the currently encoded picture (WAVE5 only) */
int warnInfo; /**< The warning information of the currently encoded picture (WAVE5 only) */
// Report Information
EncReportInfo mbInfo; /**< The parameter for reporting MB data(CODA9 only) . Please refer to <<vpuapi_h_EncReportInfo>> structure. */
EncReportInfo mvInfo; /**< The parameter for reporting motion vector(CODA9 only). Please refer to <<vpuapi_h_EncReportInfo>> structure. */
EncReportInfo sliceInfo;/**< The parameter for reporting slice information(CODA9 only). Please refer to <<vpuapi_h_EncReportInfo>> structure. */
struct EncReportInfo mbInfo; /**< The parameter for reporting MB data(CODA9 only) . Please refer to <<vpuapi_h_EncReportInfo>> structure. */
struct EncReportInfo mvInfo; /**< The parameter for reporting motion vector(CODA9 only). Please refer to <<vpuapi_h_EncReportInfo>> structure. */
struct EncReportInfo sliceInfo;/**< The parameter for reporting slice information(CODA9 only). Please refer to <<vpuapi_h_EncReportInfo>> structure. */
int frameCycle; /**< The parameter for reporting the cycle number of encoding one frame.*/
uint64_t pts; /**< The PTS(Presentation Timestamp) of the encoded picture which is retrieved and managed from VPU API */
uint32_t cyclePerTick; /**< The number of cycles per tick */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment