Parcourir la source

video: driver: Update non_comv_h265e buffer size

HFI_BUFFER_NON_COMV_H265E updated to incorporate
multi-tile single slice change.

Change-Id: Ia1f48cc1680a411b107c1ee95377d493cb682739
Signed-off-by: Chinmay Sawarkar <[email protected]>
Chinmay Sawarkar il y a 2 ans
Parent
commit
7ea481092e
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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) \