Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit e125bb3

Browse files
committed
Merge remote-tracking branch 'github/master' into v2.4-branch
2 parents d595d01 + 6b01d08 commit e125bb3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/gen9_hevc_enc_kernels_binary.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131

3232
#define GEN9_HEVC_ENC_KERNEL_SIZE 149296
3333

34-
const unsigned int gen9_hevc_encoder_kernels[GEN9_HEVC_ENC_KERNEL_SIZE];
34+
extern const unsigned int gen9_hevc_encoder_kernels[GEN9_HEVC_ENC_KERNEL_SIZE];
3535

3636
#endif

src/gen9_vp9_encoder.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,10 @@ intel_vp9enc_construct_picstate_batchbuf(VADriverContextP ctx,
15931593
*cmd_ptr++ = 0;
15941594

15951595
/* dw31 */
1596-
*cmd_ptr++ = (0 << 30) | 1;
1596+
/* dw31 is for restricting the compressed frames minimum size
1597+
* and we don't impose any. */
1598+
*cmd_ptr++ = 0;
1599+
15971600
/* dw32 */
15981601
*cmd_ptr++ = vp9_state->frame_header.bit_offset_first_partition_size;
15991602

test/test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class VaapiStatus
147147
status = "VA_STATUS_ERROR_HW_BUSY"; break;
148148
case VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE:
149149
status = "VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE"; break;
150-
case VA_STATUS_ERROR_UNKNOWN:
150+
case VAStatus(VA_STATUS_ERROR_UNKNOWN):
151151
status = "VA_STATUS_ERROR_UNKNOWN"; break;
152152
default:
153153
status = "Unknown VAStatus";

0 commit comments

Comments
 (0)