Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ on:
permissions: read-all

jobs:
ubuntu-20-04:
runs-on: ubuntu-20.04
ubuntu-24-04:
runs-on: ubuntu-24.04
steps:
- name: checkout libva
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: intel/libva
path: libva
- name: checkout libva-utils
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: libva-utils
- name: install prerequisites
Expand Down
2 changes: 1 addition & 1 deletion encode/hevcencode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,7 @@ static int render_packedpicture(void)
}
if (packedpic_data_bufid != VA_INVALID_ID) {
vaDestroyBuffer(va_dpy, packedpic_data_bufid);
packedpic_para_bufid = VA_INVALID_ID;
packedpic_data_bufid = VA_INVALID_ID;
}

return 0;
Expand Down
7 changes: 1 addition & 6 deletions encode/svctenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1719,12 +1719,7 @@ svcenc_update_picture_parameter_buffer(struct svcenc_context *ctx,
pic_param->pic_fields.bits.reference_pic_flag = !!current_surface->is_ref;
pic_param->pic_fields.bits.deblocking_filter_control_present_flag = 1;

if (ctx->profile_idc == PROFILE_IDC_BASELINE ||
ctx->profile_idc == PROFILE_IDC_MAIN ||
ctx->profile_idc == PROFILE_IDC_SCALABLE_BASELINE)
pic_param->pic_fields.bits.transform_8x8_mode_flag = 0;
else
pic_param->pic_fields.bits.transform_8x8_mode_flag = 0;
pic_param->pic_fields.bits.transform_8x8_mode_flag = 0;

/* Allocate the new picture parameter buffer */
va_status = vaCreateBuffer(ctx->va_dpy,
Expand Down