Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95c55336 authored by Dikshita Agarwal's avatar Dikshita Agarwal
Browse files

msm-vidc: add cap for all intra frame encode for lito

Add max fps cap for which all intra frame encode is
supported.

Change-Id: Ia5914c50e507ba11985d08022ed22eb7126ba027
parent cb10315c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -221,6 +221,9 @@ static struct msm_vidc_codec_capability lito_capabilities_v0[] = {
	/* (1920 * 1080) / 256 */
	{CAP_BATCH_MAX_FPS, DEC, CODECS_ALL, 1, 30, 1, 30},

	/* All intra encoding usecase specific */
	{CAP_ALLINTRA_MAX_FPS, ENC, H264|HEVC, 1, 240, 1, 30},

	/* Image specific */
	{CAP_HEVC_IMAGE_FRAME_WIDTH, ENC, HEVC, 128, 512, 1, 512},
	{CAP_HEVC_IMAGE_FRAME_HEIGHT, ENC, HEVC, 128, 512, 1, 512},
@@ -292,6 +295,9 @@ static struct msm_vidc_codec_capability lito_capabilities_v1[] = {
	/* (1920 * 1080) / 256 */
	{CAP_BATCH_MAX_FPS, DEC, CODECS_ALL, 1, 30, 1, 30},

	/* All intra encoding usecase specific */
	{CAP_ALLINTRA_MAX_FPS, ENC, H264|HEVC, 1, 240, 1, 30},

	/* Image specific */
	{CAP_HEVC_IMAGE_FRAME_WIDTH, ENC, HEVC, 128, 512, 1, 512},
	{CAP_HEVC_IMAGE_FRAME_HEIGHT, ENC, HEVC, 128, 512, 1, 512},