Home
last modified time | relevance | path

Searched refs:F_ENCODE (Results 1 – 10 of 10) sorted by relevance

/hardware/intel/img/psb_video/src/
Dtng_hostcode.c344 RegVal = F_ENCODE(2, MVEA_CR_IPE_GRID_FINE_SEARCH) | in tng__get_ipe_control()
345 F_ENCODE(0, MVEA_CR_IPE_GRID_SEARCH_SIZE) | in tng__get_ipe_control()
346 F_ENCODE(1, MVEA_CR_IPE_Y_FINE_SEARCH); in tng__get_ipe_control()
352 RegVal |= F_ENCODE(0, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(0, MVEA_CR_IPE_ENCODING_FORMAT); in tng__get_ipe_control()
357 RegVal |= F_ENCODE(1, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(1, MVEA_CR_IPE_ENCODING_FORMAT); in tng__get_ipe_control()
364 RegVal |= F_ENCODE(2, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(2, MVEA_CR_IPE_ENCODING_FORMAT); in tng__get_ipe_control()
367 RegVal |= F_ENCODE(6, MVEA_CR_IPE_Y_CANDIDATE_NUM); in tng__get_ipe_control()
434 ui32PredCombControl |= F_ENCODE(1, TOPAZHP_CR_INTRA4X4_DISABLE); in tng__patch_hw_profile()
438 ui32PredCombControl |= F_ENCODE(1, TOPAZHP_CR_INTRA8X8_DISABLE); in tng__patch_hw_profile()
443 ui32PredCombControl |= F_ENCODE(1, TOPAZHP_CR_INTRA16X16_DISABLE); in tng__patch_hw_profile()
[all …]
Dtng_picmgmt.c61 ui32CmdData = F_ENCODE(eType, MTX_MSG_PICMGMT_SUBTYPE) | in tng_picmgmt_update()
62 F_ENCODE(ref, MTX_MSG_PICMGMT_DATA); in tng_picmgmt_update()
245 …*pui32QuantReg = F_ENCODE(tng__H264ES_CalcCustomQuantSp(0, ui32Val, apui8QuantTables[ui32Table][au… in tng__set_custom_scaling_values()
246 …| F_ENCODE(tng__H264ES_CalcCustomQuantSp(0, ui32Val + 1, apui8QuantTables[ui32Table][aui8ZigZagSca… in tng__set_custom_scaling_values()
248 …*pui32QuantReg = F_ENCODE(tng__H264ES_CalcCustomQuantSp(0, ui32Val + 2, apui8QuantTables[ui32Table… in tng__set_custom_scaling_values()
249 …| F_ENCODE(tng__H264ES_CalcCustomQuantSp(0, ui32Val + 3, apui8QuantTables[ui32Table][aui8ZigZagSca… in tng__set_custom_scaling_values()
259 …*pui32QuantReg = F_ENCODE(tng__H264ES_CalcCustomQuantSp(1, ((ui32Val & 24) >> 1), apui8QuantTables… in tng__set_custom_scaling_values()
260 …| F_ENCODE(tng__H264ES_CalcCustomQuantSp(1, ((ui32Val & 24) >> 1) + 1, apui8QuantTables[ui32Table]… in tng__set_custom_scaling_values()
262 …*pui32QuantReg = F_ENCODE(tng__H264ES_CalcCustomQuantSp(1, ((ui32Val & 24) >> 1) + 2, apui8QuantTa… in tng__set_custom_scaling_values()
263 …| F_ENCODE(tng__H264ES_CalcCustomQuantSp(1, ((ui32Val & 24) >> 1) + 3, apui8QuantTables[ui32Table]… in tng__set_custom_scaling_values()
[all …]
Dtng_hostbias.c217 ctx->sBiasTables.ui32LritcCacheChunkConfig = F_ENCODE(ctx->uChunksPerMb, INTEL_CH_PM) | in tng__MPEG4ES_generate_bias_tables()
218 F_ENCODE(ctx->uMaxChunks, INTEL_CH_MX) | in tng__MPEG4ES_generate_bias_tables()
219 F_ENCODE(ctx->uMaxChunks - ctx->uPriorityChunks, INTEL_CH_PY); in tng__MPEG4ES_generate_bias_tables()
284 ctx->sBiasTables.ui32LritcCacheChunkConfig = F_ENCODE(ctx->uChunksPerMb, INTEL_CH_PM) | in tng__H263ES_generate_bias_tables()
285 F_ENCODE(ctx->uMaxChunks, INTEL_CH_MX) | in tng__H263ES_generate_bias_tables()
286 F_ENCODE(ctx->uMaxChunks - ctx->uPriorityChunks, INTEL_CH_PY); in tng__H263ES_generate_bias_tables()
355 F_ENCODE(ctx->uChunksPerMb, INTEL_CH_PM) | in tng__H264ES_generate_bias_tables()
356 F_ENCODE(ctx->uMaxChunks, INTEL_CH_MX) | in tng__H264ES_generate_bias_tables()
357 F_ENCODE(ctx->uMaxChunks - ctx->uPriorityChunks, INTEL_CH_PY); in tng__H264ES_generate_bias_tables()
428 if (ctx->ui32PredCombControl & F_ENCODE(1, TOPAZHP_CR_INTRA8X8_DISABLE)) { in tng__H264ES_generate_bias_tables()
[all …]
Dpnw_hostcode.c337 …Core], MVEA_CR_IPE_LAMBDA_TABLE, (2 << 16) | F_ENCODE(3, MVEA_CR_IPE_ALPHA_OR_DC_SCALE_CHR_TABLE) … in LoadH264Bias()
447 RegVal = F_ENCODE(2, MVEA_CR_IPE_GRID_FINE_SEARCH) | in pnw__get_ipe_control()
448 F_ENCODE(0, MVEA_CR_IPE_GRID_SEARCH_SIZE) | in pnw__get_ipe_control()
449 F_ENCODE(1, MVEA_CR_IPE_Y_FINE_SEARCH); in pnw__get_ipe_control()
455 RegVal |= F_ENCODE(0, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(0, MVEA_CR_IPE_ENCODING_FORMAT); in pnw__get_ipe_control()
460 RegVal |= F_ENCODE(1, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(1, MVEA_CR_IPE_ENCODING_FORMAT); in pnw__get_ipe_control()
467 RegVal |= F_ENCODE(2, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(2, MVEA_CR_IPE_ENCODING_FORMAT); in pnw__get_ipe_control()
470 RegVal |= F_ENCODE(6, MVEA_CR_IPE_Y_CANDIDATE_NUM); in pnw__get_ipe_control()
1782 psCurrent->JMCompControl = F_ENCODE(2, MVEA_CR_JMCOMP_MODE); in pnw__setup_slice_row_params()
1783 …psCurrent->VLCControl = F_ENCODE(3, TOPAZ_VLC_CR_CODEC) | F_ENCODE(IsIntra ? 0 : 1, TOPAZ_VLC_CR_S… in pnw__setup_slice_row_params()
[all …]
Dtng_trace.c1293 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(0, TOPAZHP_… in tng__trace_seqconfig()
1294 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(0, TOPAZHP_… in tng__trace_seqconfig()
1295 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(0, TOPAZHP_… in tng__trace_seqconfig()
1296 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(1, TOPAZHP_… in tng__trace_seqconfig()
1297 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(0, TOPAZHP_… in tng__trace_seqconfig()
1298 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(0, TOPAZHP_… in tng__trace_seqconfig()
1299 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(!bIsBPictur… in tng__trace_seqconfig()
1300 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(bFieldMode … in tng__trace_seqconfig()
1301 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(ui8SwapChro… in tng__trace_seqconfig()
1302 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s ui32SeqConfig 0x%08x\n", __FUNCTION__, F_ENCODE(ui32FrameSt… in tng__trace_seqconfig()
[all …]
Dtng_cmdbuf.c392 cmd_word = F_ENCODE(stream_id, MTX_MSG_CORE) | in tng_cmdbuf_insert_command()
393 F_ENCODE(cmd_id, MTX_MSG_CMD_ID); in tng_cmdbuf_insert_command()
400 cmd_word |= F_ENCODE(1, MTX_MSG_PRIORITY) | in tng_cmdbuf_insert_command()
401F_ENCODE(((ps_cmd->ui32LowCmdCount - 1) & 0xff) |(ps_cmd->ui32HighCmdCount << 8), MTX_MSG_COUNT); in tng_cmdbuf_insert_command()
405 F_ENCODE(ps_cmd->ui32LowCmdCount & 0xff, MTX_MSG_COUNT); in tng_cmdbuf_insert_command()
Dtng_hostcode.h49 #define F_ENCODE(val,basename) (((val)<<(F_SHIFT(basename)))&(F_MASK(basename))) macro
51 #define F_INSERT(word,val,basename) (((word)&~(F_MASK(basename))) | (F_ENCODE((val),basename)))
/hardware/intel/img/psb_video/src/mrst/
Dlnc_hostcode.c98 RegVal = F_ENCODE(2, MVEA_CR_IPE_GRID_FINE_SEARCH) | in lnc__get_ipe_control()
99 F_ENCODE(0, MVEA_CR_IPE_GRID_SEARCH_SIZE) | in lnc__get_ipe_control()
100 F_ENCODE(1, MVEA_CR_IPE_Y_FINE_SEARCH); in lnc__get_ipe_control()
106 RegVal |= F_ENCODE(0, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(0, MVEA_CR_IPE_ENCODING_FORMAT); in lnc__get_ipe_control()
111 RegVal |= F_ENCODE(1, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(1, MVEA_CR_IPE_ENCODING_FORMAT); in lnc__get_ipe_control()
118 RegVal |= F_ENCODE(2, MVEA_CR_IPE_BLOCKSIZE) | F_ENCODE(2, MVEA_CR_IPE_ENCODING_FORMAT); in lnc__get_ipe_control()
121 RegVal |= F_ENCODE(6, MVEA_CR_IPE_Y_CANDIDATE_NUM); in lnc__get_ipe_control()
1286 psCurrent->JMCompControl = F_ENCODE(2, MVEA_CR_JMCOMP_MODE); in lnc__setup_slice_row_params()
1287 psCurrent->VLCControl = F_ENCODE(3, TOPAZ_VLC_CR_CODEC) | in lnc__setup_slice_row_params()
1288 F_ENCODE(IsIntra ? 0 : 1, TOPAZ_VLC_CR_SLICE_CODING_TYPE); in lnc__setup_slice_row_params()
[all …]
/hardware/intel/img/psb_video/src/hwdefs/
Dtopaz_defs.h30 #define F_ENCODE(val,basename) (((val)<<(F_SHIFT(basename)))&(F_MASK(basename))) macro
DtopazSC_defs.h30 #define F_ENCODE(val,basename) (((val)<<(F_SHIFT(basename)))&(F_MASK(basename))) macro