Explorar o código

Merge "video: driver: Update non_comv_h265e buffer size"

qctecmdr %!s(int64=2) %!d(string=hai) anos
pai
achega
576e231f23
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      driver/variant/iris33/inc/hfi_buffer_iris33.h

+ 2 - 0
driver/variant/iris33/inc/hfi_buffer_iris33.h

@@ -1772,12 +1772,14 @@ _yuv_bufcount_min, is_opb, num_vpp_pipes)           \
 				num_vpp_pipes_enc, 16, HFI_CODEC_ENCODE_AVC); \
 	} while (0)
 
+#define SIZE_ONE_SLICE_BUF 256
 #define HFI_BUFFER_NON_COMV_H265E(_size, frame_width, frame_height, \
 				num_vpp_pipes_enc) \
 	do \
 	{ \
 		HFI_BUFFER_NON_COMV_ENC(_size, frame_width, frame_height, \
 			num_vpp_pipes_enc, 32, HFI_CODEC_ENCODE_HEVC); \
+		_size += SIZE_ONE_SLICE_BUF; \
 	} while (0)
 
 #define SIZE_ENC_REF_BUFFER(size, frame_width, frame_height) \