Loading drivers/media/platform/msm/vidc_3x/hfi_response_handler.c +11 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -608,6 +608,11 @@ static int hfi_fill_codec_info(u8 *data_ptr, vidc_get_hal_codec((1 << i) & codecs); capability->domain = vidc_get_hal_domain(HFI_VIDEO_DOMAIN_DECODER); if (codec_count == VIDC_MAX_DECODE_SESSIONS) { dprintk(VIDC_ERR, "Max supported decoder sessions reached\n"); break; } } } codecs = sys_init_done->enc_codec_supported; Loading @@ -619,6 +624,11 @@ static int hfi_fill_codec_info(u8 *data_ptr, vidc_get_hal_codec((1 << i) & codecs); capability->domain = vidc_get_hal_domain(HFI_VIDEO_DOMAIN_ENCODER); if (codec_count == VIDC_MAX_SESSIONS) { dprintk(VIDC_ERR, "Max supported sessions reached\n"); break; } } } sys_init_done->codec_count = codec_count; Loading drivers/media/platform/msm/vidc_3x/vidc_hfi_api.h +4 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -66,6 +66,9 @@ /* 16 encoder and 16 decoder sessions */ #define VIDC_MAX_SESSIONS 32 #define VIDC_MAX_DECODE_SESSIONS 16 #define VIDC_MAX_ENCODE_SESSIONS 16 enum vidc_status { VIDC_ERR_NONE = 0x0, Loading Loading
drivers/media/platform/msm/vidc_3x/hfi_response_handler.c +11 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -608,6 +608,11 @@ static int hfi_fill_codec_info(u8 *data_ptr, vidc_get_hal_codec((1 << i) & codecs); capability->domain = vidc_get_hal_domain(HFI_VIDEO_DOMAIN_DECODER); if (codec_count == VIDC_MAX_DECODE_SESSIONS) { dprintk(VIDC_ERR, "Max supported decoder sessions reached\n"); break; } } } codecs = sys_init_done->enc_codec_supported; Loading @@ -619,6 +624,11 @@ static int hfi_fill_codec_info(u8 *data_ptr, vidc_get_hal_codec((1 << i) & codecs); capability->domain = vidc_get_hal_domain(HFI_VIDEO_DOMAIN_ENCODER); if (codec_count == VIDC_MAX_SESSIONS) { dprintk(VIDC_ERR, "Max supported sessions reached\n"); break; } } } sys_init_done->codec_count = codec_count; Loading
drivers/media/platform/msm/vidc_3x/vidc_hfi_api.h +4 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -66,6 +66,9 @@ /* 16 encoder and 16 decoder sessions */ #define VIDC_MAX_SESSIONS 32 #define VIDC_MAX_DECODE_SESSIONS 16 #define VIDC_MAX_ENCODE_SESSIONS 16 enum vidc_status { VIDC_ERR_NONE = 0x0, Loading