Commit 7e30f0e2 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld
Browse files

replace EncCodeOpt with struct EncCodeOpt


Signed-off-by: Dafna Hirschfeld's avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
parent cd06685a
......@@ -3514,7 +3514,7 @@ struct EncInitialInfo {
/**
* @brief This is a data structure for setting NAL unit coding options.
*/
typedef struct {
struct EncCodeOpt {
int implicitHeaderEncode; /**< Whether HOST application encodes a header implicitly or not. If this value is 1, three encode options encodeVPS, encodeSPS, and encodePPS are ignored. */
int encodeVCL; /**< A flag to encode VCL nal unit explicitly */
int encodeVPS; /**< A flag to encode VPS nal unit explicitly */
......@@ -3524,7 +3524,7 @@ typedef struct {
int encodeEOS; /**< A flag to encode EOS nal unit explicitly. This should be set when to encode the last source picture of sequence. */
int encodeEOB; /**< A flag to encode EOB nal unit explicitly. This should be set when to encode the last source picture of sequence. */
int encodeVUI; /**< A flag to encode VUI nal unit explicitly */
} EncCodeOpt;
};
/**
......@@ -3604,7 +3604,7 @@ This is only for CODA9.
int srcIdx; /**< A source frame buffer index (WAVE only) */
int srcEndFlag; /**< A flag indicating that there is no more source frame buffer to encode (WAVE only) */
EncCodeOpt codeOption; /**< <<vpuapi_h_EncCodeOpt>> (WAVE only) */
struct EncCodeOpt codeOption; /**< <<vpuapi_h_EncCodeOpt>> (WAVE only) */
uint32_t useCurSrcAsLongtermPic; /**< A flag for the current picture to be used as a longterm reference picture later when other picture's encoding (WAVE only) */
uint32_t useLongtermRef; /**< A flag to use a longterm reference picture in DPB when encoding the current picture (WAVE only) */
......
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