Skip to content

Add HEVC RefPicSetLtCurr and NumPocLtCurr picture parameters #853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion va/va_dec_hevc.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,15 @@ typedef struct _VAPictureParameterBufferHEVC {
*/
uint32_t st_rps_bits;

/* Corresponds to the variables of same name as defined in section 8.3.2
* of the HEVC spec. Index into ReferenceFrames[]. */
uint8_t RefPicSetLtCurr[8];
uint8_t NumPocLtCurr;

uint8_t reserved[3];

/** \brief Reserved bytes for future use, must be zero */
uint32_t va_reserved[VA_PADDING_MEDIUM];
uint32_t va_reserved[VA_PADDING_MEDIUM - 3];
} VAPictureParameterBufferHEVC;

/**
Expand Down
6 changes: 6 additions & 0 deletions va/va_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -3317,6 +3317,12 @@ static void va_TraceVAPictureParameterBufferHEVC(
va_TraceMsg(trace_ctx, "\tpps_tc_offset_div2 = %d\n", p->pps_tc_offset_div2);
va_TraceMsg(trace_ctx, "\tnum_extra_slice_header_bits = %d\n", p->num_extra_slice_header_bits);
va_TraceMsg(trace_ctx, "\tst_rps_bits = %d\n", p->st_rps_bits);
va_TraceMsg(trace_ctx, "\tRefPicSetLtCurr[8] = \n");
va_TraceMsg(trace_ctx, "");
for (i = 0; i < 8; i++)
va_TracePrint(trace_ctx, "\t%d", p->RefPicSetLtCurr[i]);
va_TracePrint(trace_ctx, "\n");
va_TraceMsg(trace_ctx, "\tNumPocLtCurr = %d\n", p->NumPocLtCurr);

if (isRext && pRext) {
va_TraceMsg(trace_ctx, "\trange_extension_pic_fields = %d\n", pRext->range_extension_pic_fields.value);
Expand Down
Loading