Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 23 of 23) sorted by relevance

/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe_ex/cModel/
H A DIntraUpdate.c86 void IntraUpdate_Init(IntraUpdateContext* ctx) in IntraUpdate_Init() argument
90 ctx->nIndexCIR = 0; in IntraUpdate_Init()
91 ctx->nIndexAIR = 0; in IntraUpdate_Init()
92 for (i=0; i<ctx->nTotalMb; i++) { in IntraUpdate_Init()
93 ctx->pHwMbMap[i].intra = 0; in IntraUpdate_Init()
94 ctx->pSwMbMap[i].inter_count = 0; in IntraUpdate_Init()
95 ctx->pSwMbMap[i].intra_count = 0; in IntraUpdate_Init()
99 void IntraUpdate_Frame(IntraUpdateContext* ctx) in IntraUpdate_Frame() argument
103 if (!(ctx->bFIR || ctx->bCIR || ctx->bAIR)) in IntraUpdate_Frame()
106 for (i=0; i<ctx->nTotalMb; i++) in IntraUpdate_Frame()
[all …]
H A Dmfe_common.c625 IntraUpdateContext *ctx = &pConfig->m_IUContext; in IntraUpdateInit() local
627 ctx->nWidth = pConfig->nBufWidth; in IntraUpdateInit()
628 MS_ASSERT(ctx->nWidth%16==0); in IntraUpdateInit()
629 ctx->nHeight = pConfig->nBufHeight; in IntraUpdateInit()
630 MS_ASSERT(ctx->nHeight%16==0); in IntraUpdateInit()
631 ctx->nTotalMb = (ctx->nWidth*ctx->nHeight)>>8; in IntraUpdateInit()
632ctx->pHwMbMap = MfeDrvMemMalloc(sizeof(HW_MB_MAP)*ctx->nTotalMb, (const MS_S8*)("pHwMbMap"));//pCo… in IntraUpdateInit()
633ctx->pSwMbMap = MfeDrvMemMalloc(sizeof(SW_MB_MAP)*ctx->nTotalMb, (const MS_S8*)("pSwMbMap"));//pCo… in IntraUpdateInit()
636 ctx->bCIR = 1; in IntraUpdateInit()
637 ctx->CIR_COUNT = (ctx->nTotalMb/pConfig->g_intraupdate_period)+1; in IntraUpdateInit()
[all …]
H A DIntraUpdate.h118 void IntraUpdate_Init(IntraUpdateContext* ctx);
119 void IntraUpdate_Frame(IntraUpdateContext* ctx);
H A Dmfe_reg_m4ve.c774 IntraUpdateContext* ctx = &pConfig->m_IUContext; in OutputSwCfg1_Mp4() local
778 for (i=0; i<ctx->nTotalMb; i++) { in OutputSwCfg1_Mp4()
779 if (ctx->pHwMbMap[i].intra) { in OutputSwCfg1_Mp4()
790 prv_intra = ctx->pHwMbMap[i].intra; in OutputSwCfg1_Mp4()
H A Dmfe_reg_264e.c832 IntraUpdateContext* ctx = &pConfig->m_IUContext; in OutputSwCfg1_H264() local
836 for (i=0; i<ctx->nTotalMb; i++) { in OutputSwCfg1_H264()
837 if (ctx->pHwMbMap[i].intra) { in OutputSwCfg1_H264()
848 prv_intra = ctx->pHwMbMap[i].intra; in OutputSwCfg1_H264()
/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe/cModel/
H A DIntraUpdate.c135 void IntraUpdate_Init(IntraUpdateContext* ctx) in IntraUpdate_Init() argument
139 ctx->nIndexCIR = 0; in IntraUpdate_Init()
140 ctx->nIndexAIR = 0; in IntraUpdate_Init()
141 for (i=0; i<ctx->nTotalMb; i++) { in IntraUpdate_Init()
142 ctx->pHwMbMap[i].intra = 0; in IntraUpdate_Init()
143 ctx->pSwMbMap[i].inter_count = 0; in IntraUpdate_Init()
144 ctx->pSwMbMap[i].intra_count = 0; in IntraUpdate_Init()
148 void IntraUpdate_Frame(IntraUpdateContext* ctx) in IntraUpdate_Frame() argument
152 if (!(ctx->bFIR || ctx->bCIR || ctx->bAIR)) in IntraUpdate_Frame()
155 for (i=0; i<ctx->nTotalMb; i++) in IntraUpdate_Frame()
[all …]
H A Dmfe_common.c673 IntraUpdateContext *ctx = &pConfig->m_IUContext; in IntraUpdateInit() local
675 ctx->nWidth = pConfig->nBufWidth; in IntraUpdateInit()
676 MFE_ASSERT(ctx->nWidth%16==0); in IntraUpdateInit()
677 ctx->nHeight = pConfig->nBufHeight; in IntraUpdateInit()
678 MFE_ASSERT(ctx->nHeight%16==0); in IntraUpdateInit()
679 ctx->nTotalMb = (ctx->nWidth*ctx->nHeight)>>8; in IntraUpdateInit()
680 if (!ctx->pHwMbMap) in IntraUpdateInit()
681 ctx->pHwMbMap = pConfig->m_UIHwMap;//new HW_MB_MAP[ctx->nTotalMb]; in IntraUpdateInit()
682 if (!ctx->pSwMbMap) in IntraUpdateInit()
683 ctx->pSwMbMap = pConfig->m_UISwMap;//new SW_MB_MAP[ctx->nTotalMb]; in IntraUpdateInit()
[all …]
H A Dmfe_reg_264e.c450 IntraUpdateContext* ctx = &pConfig->m_IUContext; in OutputSwCfg1_H264() local
454 for (i=0; i<ctx->nTotalMb; i++) { in OutputSwCfg1_H264()
455 if (ctx->pHwMbMap[i].intra) { in OutputSwCfg1_H264()
465 prv_intra = ctx->pHwMbMap[i].intra; in OutputSwCfg1_H264()
H A Dmfe_reg_m4ve.c622 IntraUpdateContext* ctx = &pConfig->m_IUContext; in OutputSwCfg1_Mp4() local
626 for (i=0; i<ctx->nTotalMb; i++) { in OutputSwCfg1_Mp4()
627 if (ctx->pHwMbMap[i].intra) { in OutputSwCfg1_Mp4()
637 prv_intra = ctx->pHwMbMap[i].intra; in OutputSwCfg1_Mp4()
H A DIntraUpdate.h116 void IntraUpdate_Init(IntraUpdateContext* ctx);
117 void IntraUpdate_Frame(IntraUpdateContext* ctx);
/utopia/UTPA2-700.0.x/modules/mfe/api/mfe/
H A DTsMuxer.c198 MFE_U32 GetTimecode(MediaContext* ctx, int data_len) in GetTimecode() argument
201 MpegTSWrite *ts = (MpegTSWrite*)ctx->muxinfo; in GetTimecode()
203 if (ts->waited_datasize<=0 || ts->min_time<=ctx->timestamp+TIMECODE_AHEAD) in GetTimecode()
206 …mux_rate = ts->waited_datasize * TIMECODE_CLOCK / (int)(ts->min_time - (ctx->timestamp+TIMECODE_AH… in GetTimecode()
211 ctx->timestamp += increment; in GetTimecode()
213 assert(ctx->streams[0]->payload_pts==INVALID_PTS || ctx->timestamp<ctx->streams[0]->payload_pts); in GetTimecode()
214 assert(ctx->streams[1]->payload_pts==INVALID_PTS || ctx->timestamp<ctx->streams[1]->payload_pts); in GetTimecode()
216 return (MFE_U32)(ctx->timestamp & 0x3FFFFFFF); // % 2^30 in GetTimecode()
220 static void mpegts_write_section(MediaContext* ctx, MpegTSSection *s, int table_id, int id, MFE_U8 … in mpegts_write_section() argument
224 MpegTSWrite *ts = (MpegTSWrite*)ctx->muxinfo; in mpegts_write_section()
[all …]
H A Dmadp_mfe.c1895 StreamCallback out_cb,CleanCallback mfe_CleanBufStatus, void *ctx) in MApi_MFE_Initialize() argument
1996 g_pCustomCtx = ctx; in MApi_MFE_Initialize()
/utopia/UTPA2-700.0.x/projects/build/scripts/
H A Dcheckpatch.pl1590 my $ctx = $s;
1591 substr($ctx, 0, $name_len + 1, '');
1592 $ctx =~ s/\)[^\)]*$//;
1594 for my $arg (split(/\s*,\s*/, $ctx)) {
1613 my @ctx = ctx_block_outer($linenr, $realcnt);
1614 shift(@ctx);
1615 for my $ctx (@ctx) {
1616 my ($clen, $cindent) = line_stats($ctx);
1617 if ($ctx =~ /^\+\s*(case\s+|default:)/ &&
1619 $err .= "$sep$ctx\n";
[all …]
/utopia/UTPA2-700.0.x/modules/ipauth/drv/ipauth/
H A DdrvIPAUTH.c535 ST_AES_CONTEXT ctx; in MApi_AUTH_Process() local
581 MDrv_AUTH_AES_Set_Key( &ctx, enkey, 128 + n * 64 ); in MApi_AUTH_Process()
582 MDrv_AUTH_AES_Decrypt( &ctx, buf, buf ); in MApi_AUTH_Process()
1088 MS_S32 MDrv_AUTH_AES_Set_Key( ST_AES_CONTEXT *ctx, MS_U8 *key, MS_S32 nbits ) in MDrv_AUTH_AES_Set_Key() argument
1102 case 128: ctx->nr = 10; break; in MDrv_AUTH_AES_Set_Key()
1103 case 192: ctx->nr = 12; break; in MDrv_AUTH_AES_Set_Key()
1104 case 256: ctx->nr = 14; break; in MDrv_AUTH_AES_Set_Key()
1108 RK = ctx->erk; in MDrv_AUTH_AES_Set_Key()
1195 SK = ctx->drk; in MDrv_AUTH_AES_Set_Key()
1202 for( i = 1; i < ctx->nr; i++ ) in MDrv_AUTH_AES_Set_Key()
[all …]
/utopia/UTPA2-700.0.x/projects/build/scripts/mod/
H A Dsumversion.c154 static inline void md4_transform_helper(struct md4_ctx *ctx) in md4_transform_helper() argument
156 le32_to_cpu_array(ctx->block, sizeof(ctx->block) / sizeof(uint32_t)); in md4_transform_helper()
157 md4_transform(ctx->hash, ctx->block); in md4_transform_helper()
/utopia/UTPA2-700.0.x/mxlib/include/
H A DdrvIPAUTH.h160 DLL_LOCAL MS_S32 MDrv_AUTH_AES_Set_Key( ST_AES_CONTEXT *ctx, MS_U8 *key, MS_S32 nbits );
161 DLL_LOCAL void MDrv_AUTH_AES_Encrypt( ST_AES_CONTEXT *ctx, MS_U8 input[16], MS_U8 output[16] );
162 DLL_LOCAL void MDrv_AUTH_AES_Decrypt( ST_AES_CONTEXT *ctx, MS_U8 input[16], MS_U8 output[16] );
H A DapiVOIPMFE.h321 StreamCallback out_cb,CleanCallback mfe_CleanBufStatus, void *ctx);
H A DMsCommon.h390 VOID *ctx;
/utopia/UTPA2-700.0.x/projects/tmplib/include/
H A DapiVOIPMFE.h260 StreamCallback out_cb,CleanCallback mfe_CleanBufStatus, void *ctx);
/utopia/UTPA2-700.0.x/modules/mfe/api/mfe_ex/
H A Dmadp_mfe.c388 mfe_CleanBufStatus, void *ctx) in MApi_MFE_Initialize_ex() argument
395 appPVR_Info->g_pCustomCtx = ctx; in MApi_MFE_Initialize_ex()
/utopia/UTPA2-700.0.x/modules/sys/drv/sys/
H A Dtee_client_api.h256 struct tee_context *ctx; member
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/arpa/
H A Dnameser.h234 void *ctx; member
/utopia/UTPA2-700.0.x/projects/build/
H A Dpreprocess.txt17719 VOID *ctx;
30674 VOID *ctx;
34369 StreamCallback out_cb,CleanCallback mfe_CleanBufStatus, void *ctx);
55331 DLL_LOCAL MS_S32 MDrv_AUTH_AES_Set_Key( ST_AES_CONTEXT *ctx, MS_U8 *key, MS_S32 nbits );
55332 DLL_LOCAL void MDrv_AUTH_AES_Encrypt( ST_AES_CONTEXT *ctx, MS_U8 input[16], MS_U8 output[16] );
55333 DLL_LOCAL void MDrv_AUTH_AES_Decrypt( ST_AES_CONTEXT *ctx, MS_U8 input[16], MS_U8 output[16] );