/**
 * @file hv_res_OsdBankBlock.c
 * @brief Auto Generate by HiView OSD Designer, Do Not Edit Manually !
 * @author HiView SoC Software Team
 * @version 1.0.0
 * @date 2023-11-09
 * @copyright Copyright(c),2023-11, HiView Software. All rights reserved.
 * @par History:
 * <table>
 * <tr><th>Author         <th>Date        <th>Change Description
 * <tr><td>OSD Group      <td>2023-11-09<td>create
 * </table>
*/

#include "hv_res_OsdMoeRes.h"
#include "hv_res_OsdBankBlock.h"
#include "hv_comm_Define.h"


const UCHAR8* const g_apLanguageBlockLangAddr[OSD_LANGUAGE_COUNT] = 
{
    g_aucOsdFontMatrixCNLang,
    g_aucOsdFontMatrixENLang,

};


const UCHAR8* const g_apLanguageBlockBigAddr[OSD_LANGUAGE_COUNT] = 
{
    g_aucOsdFontMatrixCNBig,
    g_aucOsdFontMatrixENBig,

};


const USHORT16* const g_apLanguageBlockLangLength[OSD_LANGUAGE_COUNT] = 
{
    &g_usOsdFontMatrixCNLangLength,
    &g_usOsdFontMatrixENLangLength,

};


const USHORT16* const g_apLanguageBlockBigLength[OSD_LANGUAGE_COUNT] = 
{
    &g_usOsdFontMatrixCNBigLength,
    &g_usOsdFontMatrixENBigLength,

};


const UCHAR8* const g_apLanguageBlockLangRealWidth[OSD_LANGUAGE_COUNT] = 
{
    g_aucOsdFontMatrixRealWidthCNLang,
    g_aucOsdFontMatrixRealWidthENLang,

};


const UCHAR8* const g_apLanguageBlockBigRealWidth[OSD_LANGUAGE_COUNT] = 
{
    g_aucOsdFontMatrixRealWidthCNBig,
    g_aucOsdFontMatrixRealWidthENBig,

};

const OsdBlock g_astAllBlocks[OSD_BLOCK_COUNT] = {
    {
        .usResourceSize = OSD_RESOURCE_SIZE_16X18,
        .ucResourceType = OSD_RESOURCE_TYPE_1BIT,
        .bSwitchLanguage = 0,
        .ucBankID = 0,
        .ppBlockAddr = (const UCHAR8* const * const)g_aucOsdFontMatrixGlobalLang,
        .ppBlockLength = (const USHORT16* const * const)0xca8,
        .ppBlockRealWidth = (const UCHAR8* const * const)g_aucOsdFontMatrixRealWidthGlobalLang,
        .ppBlockCode = (const USHORT16* const * const )g_ausOsdFontMatrixMapGlobalLang,
    }, /*Block0:16X18 1bit font*/ 
    {
        .usResourceSize = OSD_RESOURCE_SIZE_16X18,
        .ucResourceType = OSD_RESOURCE_TYPE_1BIT,
        .bSwitchLanguage = 1,
        .ucBankID = 0,
        .ucGlobalBlockID = 0,
        .usGlobalFontCount = 90,
        .ppBlockAddr = g_apLanguageBlockLangAddr,
        .ppBlockLength = g_apLanguageBlockLangLength,
        .ppBlockRealWidth = g_apLanguageBlockLangRealWidth,
        .ppBlockCode = NULL,
    }, /*Block1:16X18 1bit font */
    {
        .usResourceSize = OSD_RESOURCE_SIZE_32X36,
        .ucResourceType = OSD_RESOURCE_TYPE_1BIT,
        .bSwitchLanguage = 0,
        .ucBankID = 1,
        .ppBlockAddr = (const UCHAR8* const * const)g_aucOsdFontMatrixGlobalBig,
        .ppBlockLength = (const USHORT16* const * const)0x990,
        .ppBlockRealWidth = (const UCHAR8* const * const)g_aucOsdFontMatrixRealWidthGlobalBig,
        .ppBlockCode = (const USHORT16* const * const )g_ausOsdFontMatrixMapGlobalBig,
    }, /*Block2:32X36 1bit font*/ 
    {
        .usResourceSize = OSD_RESOURCE_SIZE_32X36,
        .ucResourceType = OSD_RESOURCE_TYPE_1BIT,
        .bSwitchLanguage = 1,
        .ucBankID = 1,
        .ucGlobalBlockID = 2,
        .usGlobalFontCount = 17,
        .ppBlockAddr = g_apLanguageBlockBigAddr,
        .ppBlockLength = g_apLanguageBlockBigLength,
        .ppBlockRealWidth = g_apLanguageBlockBigRealWidth,
        .ppBlockCode = NULL,
    }, /*Block3:32X36 1bit font */
    {
        .usResourceSize = OSD_RESOURCE_SIZE_16X18,
        .ucResourceType = OSD_RESOURCE_TYPE_1BIT,
        .bSwitchLanguage = 0,
        .ucBankID = 0,
        .ppBlockAddr = (const UCHAR8* const * const)(g_aucOsdIcon2Matrix + 0x0),
        .ppBlockLength = (const USHORT16* const * const)0x5e8,
        .ppBlockRealWidth = NULL,
        .ppBlockCode = (const USHORT16* const * const)(g_ausOsdIcon2OffsetList+0),
    }, /*Block4:16X18 1bit icon */
    {
        .usResourceSize = OSD_RESOURCE_SIZE_16X18,
        .ucResourceType = OSD_RESOURCE_TYPE_2BIT,
        .bSwitchLanguage = 0,
        .ucBankID = 0,
        .ppBlockAddr = (const UCHAR8* const * const)(g_aucOsdBmpMatrix + 0x0),
        .ppBlockLength = (const USHORT16* const * const)0xa20,
        .ppBlockRealWidth = NULL,
        .ppBlockCode = (const USHORT16* const * const)(g_ausOsdBmpOffsetList+0),
    }, /*Block5:16X18 2bit bmp */
};

