/hardware/intel/img/psb_video/src/ |
D | tng_hostdefs.h | 307 IMG_UINT32 ui32BytesWritten; //!< Bytes in this coded buffer excluding this header 308 IMG_UINT32 ui32Feedback; //!< Feedback word for this coded buffers 309 IMG_UINT32 ui32ExtraFeedback; //!< Extra feedback word for this coded buffers 310 IMG_UINT32 ui32HostCtx; //!< Host context value 322 IMG_UINT32 ui32_DC_Bits; //!< Number of bits use for coding DC coefficients in this slice 323 …IMG_UINT32 ui32_MV_Bits; //!< Number of bits used for coding all Motion vector data in this… 324 …IMG_UINT32 ui32_Symbols_Bits; //!< Number of bits used for coding all MB level symbols in this s… 325 …IMG_UINT32 ui32_Residual_Bits; //!< Number of bits used for coding residual data in all MBs in th… 327 IMG_UINT32 ui32_QpyInter; //!< Sum of QPy/Qscale for all Inter-MBs in the slice 328 IMG_UINT32 ui32_QpyIntra; //!< Sum of QPy/Qscale for all Intra-MBs in the slice [all …]
|
D | tng_jpegES.h | 58 IMG_UINT32 Offset; /*!< Offset in the bitstream buffer */ 59 IMG_UINT32 Limit; 70 IMG_UINT32 ui32MCUPositionOfScanAndPipeNo; //!< Scan start position in MCUs 71 …IMG_UINT32 ui32MCUCntAndResetFlag; //!< [32:2] Number of MCU's to encode or decode, [1] Reset… 77 IMG_UINT32 ui32PhysAddr; //!< Physical address Component plane in shared memory 78 IMG_UINT32 ui32Stride; //!< Stride of source plane */ 79 …IMG_UINT32 ui32Height; //!< Height of avaliable data in plane. shall be a minumum of one MCU… 84 IMG_UINT32 ui32WidthBlocks; //!< Width in pixels, shall be a multiple of 8 85 IMG_UINT32 ui32HeightBlocks; //!< Height in pixels, shall be a multiple of 8 86 IMG_UINT32 ui32XLimit; //!< Blocks will not be encoded beyond this [all …]
|
D | pnw_hostjpeg.h | 111 IMG_UINT32 ui32BytesUsed; //!< 112 IMG_UINT32 ui32BytesEncoded; //!< 113 IMG_UINT32 ui32BytesToEncode; //!< 114 IMG_UINT32 ui32Reserved3; //!< 143 IMG_UINT32 ui32CurrentMTXScanMCUPosition; //!< Scan start position in MCUs 144 …IMG_UINT32 ui32MCUCntAndResetFlag; //!< [32:2] Number of MCU's to encode or decode, [1] R… 156 IMG_UINT32 ui32Step; 157 IMG_UINT32 ui32Width; 158 IMG_UINT32 ui32Height; 159 IMG_UINT32 ui32PhysWidth; [all …]
|
D | tng_hostcode.h | 119 IMG_UINT32 mtx_context; 120 IMG_UINT32 seq_header; //pSeqHeaderMem //!< Partially coded Sequence header 122 …IMG_UINT32 sei_header; //pAUDHeaderMem + pSEIBufferingPeriodHeaderMem + pSEIPictureTimingHe… 123 IMG_UINT32 pic_template; //+ apPicHdrTemplateMem[4] 124 IMG_UINT32 slice_template; //apSliceParamsTemplateMem[NUM_SLICE_TYPES]; 125 IMG_UINT32 writeback; 127 …IMG_UINT32 above_params; //psAboveParams[TOPAZHP_NUM_PIPES] //!< Picture level parameters (suppli… 128 …IMG_UINT32 recon_pictures; //apsReconPictures[MAX_PIC_NODES_ARRAYSIZE];// three reference picture… 129 …IMG_UINT32 colocated; //apsColocated[MAX_PIC_NODES_ARRAYSIZE];// three colocated vector s… 130 …IMG_UINT32 mv; //apsMV[MAX_MV_ARRAYSIZE]; // two colocated vector stores [all …]
|
D | tng_picmgmt.h | 87 IMG_UINT32 ui32IFramePeriod; //!< I-period 107 IMG_UINT32 ui32FrameCount; //!< Number of frames in the stream (incl. skipped) 117 IMG_UINT32 ui32BitsPerFrame; //!< Number of bits in a frame 129 IMG_UINT32 ui32FlushAtFrame; //!< Frame Idx to flush the encoder 140 IMG_UINT32 ui32Values; //!< Address of custom quantization values 141 IMG_UINT32 ui32Regs4x4Sp; //!< Address of custom quantization register values for 4x4 Sp 142 IMG_UINT32 ui32Regs8x8Sp; //!< Address of custom quantization register values for 8x8 Sp 143 IMG_UINT32 ui32Regs4x4Q; //!< Address of custom quantization register values for 4x4 Q 144 IMG_UINT32 ui32Regs8x8Q; //!< Address of custom quantization register values for 8x8 Q 152 IMG_UINT32 ui32PhysAddrYPlane_Field0; //!< Source pic phys addr (Y plane, Field 0) [all …]
|
D | tng_hostheader.h | 51 IMG_UINT32 H264_QP; 52 IMG_UINT32 H263_MPG4_FrameQ_scale; 53 IMG_UINT32 H263_MPG4_SliceQ_scale; 60 IMG_UINT32 luma_log2_weight_denom; 61 IMG_UINT32 chroma_log2_weight_denom; 134 IMG_UINT32 ui32Elements; 195 IMG_UINT32 ui32Flags; //!< Flags for slice encode 199 IMG_UINT32 ui32SliceConfig; //!< Value to use for Slice Config register 200 IMG_UINT32 ui32IPEControl; //!< Value to use for IPEControl register 201 IMG_UINT32 ui32SeqConfig; //!< Value to use for Sequencer Config register [all …]
|
D | pnw_hostheader.h | 43 IMG_UINT32 H264_QP; 44 IMG_UINT32 H263_MPG4_FrameQ_scale; 45 IMG_UINT32 H263_MPG4_SliceQ_scale; 79 IMG_UINT32 Elements; 137 IMG_UINT32 Time_Scale; 138 IMG_UINT32 num_units_in_tick; 139 IMG_UINT32 bit_rate_value_minus1; /* bitrate/64)-1 */ 140 IMG_UINT32 cbp_size_value_minus1; /* (bitrate*1.5)/16 */ 171 IMG_UINT32 First_MB_Address; 197 IMG_UINT32 First_half_bit_rate; [all …]
|
D | tng_cmdbuf.h | 70 #define tng_align_KB(x) (((x) + (IMG_UINT32)(0xfff)) & (~(IMG_UINT32)(0xfff))) 84 IMG_UINT32 *cmd_idx; 85 IMG_UINT32 *cmd_idx_saved[3]; /* idx saved for dual-core adjustion */ 187 IMG_UINT32 *addr_in_dst_buffer,/*addr of dst_buffer for the DWORD*/ 189 IMG_UINT32 buf_offset, 190 IMG_UINT32 mask, 191 IMG_UINT32 background, 192 IMG_UINT32 align_shift, 193 … IMG_UINT32 dst_buffer, /*Index of the list refered by cmdbuf->buffer_refs */ 194 IMG_UINT32 *start_of_dst_buffer); [all …]
|
D | pnw_hostcode.h | 114 IMG_UINT32 BitsPerSecond; 115 IMG_UINT32 InitialQp; 116 IMG_UINT32 BUSize; 117 IMG_UINT32 FrameRate; 118 IMG_UINT32 BufferSize; 119 IMG_UINT32 IntraFreq; 126 IMG_UINT32 InitialLevel; 184 IMG_UINT32 RCScaleFactor; 200 IMG_UINT32 NumCores; /* Number of encode cores in Penwell */ 201 IMG_UINT32 ParallelCores; /* Number of cores to use */ [all …]
|
D | tng_hostair.c | 45 IMG_UINT32 ui32MbNum = (ctx->ui16PictureHeight * ctx->ui16Width) >> 8; in tng_air_buf_create() 60 IMG_UINT32 ui32MbNum = (ctx->ui16PictureHeight * ctx->ui16Width) >> 8; in tng_air_buf_clear() 83 …ctx->ui32pseudo_rand_seed = (IMG_UINT32) ((ctx->ui32pseudo_rand_seed * 1103515245 + 12345) & 0xff… in tng__rand() 89 IMG_UINT32 tng_fill_slice_map(context_ENC_p ctx, IMG_INT32 i32SlotNum, IMG_UINT32 ui32StreamIndex) in tng_fill_slice_map() 95 IMG_UINT32 ui32HalfwayBU; in tng_fill_slice_map() 152 IMG_UINT32 ui32BUsCalc; in tng_fill_slice_map() 169 ui32FirstBUInSlice += (IMG_UINT32) ui8SizeInKicks; in tng_fill_slice_map() 185 IMG_UINT32 ui32SliceHeight; in tng_fill_slice_map() 208 ui32FirstBUInSlice += (IMG_UINT32) ui8SizeInKicks; in tng_fill_slice_map() 282 IMG_UINT32 __maybe_unused ui32HalfWayBU) in tng__fill_inp_ctrl_buf() [all …]
|
D | pnw_hostheader.c | 55 IMG_UINT32 ByteStartBit, 56 IMG_UINT32 Bits) 59 IMG_UINT32 uiByteSize; 60 IMG_UINT32 uiLp, uiBt, Bcnt; 89 IMG_UINT32 TotalByteSize; 90 IMG_UINT32 RTotalByteSize; 106 RTotalByteSize += (((IMG_UINT32)((TotalByteSize + 7) / 8)) * 8); 179 IMG_UINT32 UI16Input; in pnw__write_upto8bits_elements() 250 IMG_UINT32 wrt_bits, in pnw__write_upto32bits_elements() 251 IMG_UINT32 bit_cnt) in pnw__write_upto32bits_elements() [all …]
|
D | tng_hostair.h | 37 IMG_UINT32 tng_fill_slice_map(context_ENC_p ctx, IMG_INT32 i32SlotNum, IMG_UINT32 ui32StreamIndex); 46 …IMG_UINT32 ui32SAD_Intra_MBInfo; //!< SATD/SAD for best Intra candidate (24-bit unsigned value) p… 47 …IMG_UINT32 ui32SAD_Inter_MBInfo; //!< SATD/SAD for best Inter candidate (24-bit unsigned value) p… 48 …IMG_UINT32 ui32SAD_Direct_MBInfo; //!< SATD/SAD for best Direct candidate (24-bit unsigned value) … 49 IMG_UINT32 ui32Reserved;
|
D | tng_hostcode.c | 79 IMG_UINT32 *ptmp = (IMG_UINT32 *)(cmdbuf->cmd_start); in tng__trace_cmdbuf_words() 80 IMG_UINT32 *pend = (IMG_UINT32 *)(cmdbuf->cmd_idx); in tng__trace_cmdbuf_words() 89 static IMG_UINT32 tng__get_codedbuffer_size( 98 return ((IMG_UINT32)ui16MBWidth * (IMG_UINT32)ui16MBHeight * 400); 102 return ((IMG_UINT32)ui16MBWidth * (IMG_UINT32)ui16MBHeight * 1600); 104 return ((IMG_UINT32)ui16MBWidth * (IMG_UINT32)ui16MBHeight * 900); 108 static IMG_UINT32 tng__get_codedbuf_size_according_bitrate( 115 static IMG_UINT32 tng__get_buffer_size(IMG_UINT32 src_size) 139 … drv_debug_msg(VIDEO_DEBUG_ERROR, "%s: map buf 0x%08x\n", __FUNCTION__, (IMG_UINT32)pch_virt_addr); in tng__alloc_init_buffer() 149 static VAStatus tng__alloc_context_buffer(context_ENC_p ctx, IMG_UINT8 ui8IsJpeg, IMG_UINT32 ui32St… in tng__alloc_context_buffer() [all …]
|
D | tng_picmgmt.c | 55 IMG_UINT32 ui32CmdData = 0; in tng_picmgmt_update() 78 void tng__picmgmt_long_term_refs(context_ENC_p __maybe_unused ctx, IMG_UINT32 __maybe_unused ui32Fr… in tng__picmgmt_long_term_refs() 84 IMG_UINT32 ui32FrameCnt; in tng__picmgmt_long_term_refs() 124 IMG_UINT32 mfflat[2][16] = { in tng__H264ES_CalcCustomQuantSp() 179 IMG_UINT32 *pui32QuantReg; in tng__set_custom_scaling_values() 181 IMG_UINT32 ui32Table, ui32Val; in tng__set_custom_scaling_values() 183 IMG_UINT32 custom_quant_size = 0; in tng__set_custom_scaling_values() 242 pui32QuantReg = (IMG_UINT32 *)pui8QuantMem; in tng__set_custom_scaling_values() 256 pui32QuantReg = (IMG_UINT32 *)pui8QuantMem; in tng__set_custom_scaling_values() 276 pui32QuantReg = (IMG_UINT32 *)pui8QuantMem; in tng__set_custom_scaling_values() [all …]
|
D | pnw_hostjpeg.c | 493 void fPutBitsToBuffer(STREAMTYPEW *BitStream, IMG_UINT8 NoOfBytes, IMG_UINT32 ActualBits) in fPutBitsToBuffer() 545 IMG_UINT32 FreeCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext) 563 const IMG_UINT32 uiComponentNumber , in SetupMCUDetails() 564 const IMG_UINT32 uiWidthBlocks , in SetupMCUDetails() 565 const IMG_UINT32 uiHeightBlocks, in SetupMCUDetails() 566 const IMG_UINT32 uiLastRow, in SetupMCUDetails() 567 const IMG_UINT32 uiLastCol) in SetupMCUDetails() 607 IMG_UINT32 uiBlockCount = 0; in InitializeJpegEncode() 769 IMG_UINT32 Legacy_EncodeMarkerSegment(LEGACY_JPEG_ENCODER_CONTEXT *pContext, 852 IMG_UINT32 EncodeMarkerSegment(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, in EncodeMarkerSegment() [all …]
|
D | vc1_header.h | 262 IMG_UINT32 ui32ScaleFactor; /* Used */ 274 IMG_UINT32 ui32NumTables; /* VLC table accumulator */ 376 IMG_UINT32 *pui32CmdBuffer; 377 IMG_UINT32 *pui32CmdBufferBase; 378 IMG_UINT32 ui32CoLocatedSlot; 383 IMG_UINT32 ui32StatusWof; 384 IMG_UINT32 ui32StatusRof; 385 IMG_UINT32 ui32DevPhysStatusAddr;
|
/hardware/intel/img/psb_video/src/hwdefs/ |
D | dxva_fw_ctrl.h | 100 IMG_UINT32 ui32Cmd; 101 IMG_UINT32 ui32RangeMappingBase[2]; /* Store flags in bottom bits of [0] */ 102 IMG_UINT32 ui32SliceParams; 105 IMG_UINT32 ui32PreloadSave; 106 IMG_UINT32 ui32PreloadRestore; 113 IMG_UINT32 ui32Cmd; 114 IMG_UINT32 ui32Reserved; /* used as ui32SliceParams in MPEG4 */ 117 IMG_UINT32 ui32FEStatesSave; 118 IMG_UINT32 ui32FEStatesRestore; 122 IMG_UINT32 ui32PreloadSave; [all …]
|
D | mem_io.h | 102 IMG_UINT32 MEMIO_READ_FIELD(IMG_VOID * vpMem, field); 123 IMG_UINT32 MEMIO_READ_TABLE_FIELD(IMG_VOID * vpMem, field, IMG_UINT32 ui32TabIndex); 144 IMG_UINT32 MEMIO_READ_REPEATED_FIELD(IMG_VOID * vpMem, field, IMG_UINT32 ui32RepIndex); 167 …IMG_UINT32 MEMIO_READ_TABLE_REPEATED_FIELD(IMG_VOID * vpMem, field, IMG_UINT32 ui32TabIndex,… 188 IMG_VOID MEMIO_WRITE_FIELD(IMG_VOID * vpMem, field, IMG_UINT32 ui32Value); 211 …IMG_VOID MEMIO_WRITE_TABLE_FIELD(IMG_VOID * vpMem, field, IMG_UINT32 ui32TabIndex, IMG_UINT32 … 234 …D MEMIO_WRITE_REPEATED_FIELD(IMG_VOID * vpMem, field, IMG_UINT32 ui32RepIndex, IMG_UINT32 … 260 …EPEATED_FIELD(IMG_VOID * vpMem, field, IMG_UINT32 ui32TabIndex, IMG_UINT32 ui32RepIndex, IM… 284 …((IMG_UINT32)(((*((field##_TYPE *)(((IMG_UINTPTR_T)vpMem) + field##_OFFSET))) & field##_MASK) >> f… 290 …((IMG_UINT32)(((*((field##_TYPE *)(((IMG_UINTPTR_T)vpMem) + field##_OFFSET))) & field##_MASK) >> f… [all …]
|
D | reg_io2.h | 70 IMG_UINT32 REGIO_READ_FIELD(IMG_UINT32 ui32RegValue, group, reg, field); 96 …IMG_UINT32 REGIO_READ_REPEATED_FIELD(IMG_UINT32 ui32RegValue, group, reg, field, IMG_UINT32 ui… 117 IMG_UINT32 REGIO_READ_REGISTER(IMG_UINT32 ui32DevId, group, reg); 140 …IMG_UINT32 REGIO_READ_TABLE_REGISTER(IMG_UINT32 ui32DevId, group, reg, IMG_UINT32 ui32TabIndex… 166 …IMG_VOID REGIO_WRITE_FIELD(IMG_UINT32 ui32RegValue, group, reg, field, IMG_UINT32 ui32Va… 193 …G_VOID REGIO_WRITE_REPEATED_FIELD(IMG_UINT32 ui32RegValue, group, reg, field, IMG_UINT32 ui32… 217 IMG_VOID REGIO_WRITE_REGISTER(IMG_UINT32 ui32DevId, group, reg, IMG_UINT32 ui32RegValue); 242 …IMG_VOID REGIO_WRITE_TABLE_REGISTER(IMG_UINT32 ui32DevId, group, reg, IMG_UINT32 ui32TabIndex… 267 …IMG_VOID REGIO_WRITE_TABLE_REGISTER(IMG_UINT32 ui32DevId, group, reg, IMG_UINT32 ui32Offset, …
|
D | dxva_cmdseq_msg.h | 227 #define FW_VA_RENDER_MMUPTD_TYPE IMG_UINT32 235 #define FW_VA_RENDER_LLDMA_ADDRESS_TYPE IMG_UINT32 243 #define FW_VA_RENDER_CONTEXT_TYPE IMG_UINT32 251 #define FW_VA_RENDER_FENCE_VALUE_TYPE IMG_UINT32 259 #define FW_VA_RENDER_OPERATING_MODE_TYPE IMG_UINT32 283 #define FW_VA_RENDER_FLAGS_TYPE IMG_UINT32 333 #define FW_DEVA_DECODE_LLDMA_ADDRESS_TYPE IMG_UINT32 341 #define FW_DEVA_DECODE_MMUPTD_TYPE IMG_UINT32 361 #define FW_DEVA_DECODE_OPERATING_MODE_TYPE IMG_UINT32 393 #define FW_VA_DEBLOCK_CONTEXT_TYPE IMG_UINT32 [all …]
|
D | img_types.h | 56 typedef unsigned int IMG_UINT32, *IMG_PUINT32; typedef 102 typedef IMG_UINT32 IMG_SIZE_T; 153 IMG_UINT32 uiAddr; 158 IMG_UINT32 uiAddr; 163 IMG_UINT32 uiAddr; 168 IMG_UINT32 uiAddr; 177 IMG_UINT32 ui32PageCount;
|
D | dma_api.h | 542 …IMG_UINT32 ui32Word_0; //!< Word 0 of the linked list (see DMA_LL… 543 …IMG_UINT32 ui32Word_1; //!< Word 1 of the linked list (see DMA_LL… 544 …IMG_UINT32 ui32Word_2; //!< Word 2 of the linked list (see DMA_LL… 545 …IMG_UINT32 ui32Word_3; //!< Word 3 of the linked list (see DMA_LL… 546 …IMG_UINT32 ui32Word_4; //!< Word 4 of the linked list (see DMA_LL… 547 …IMG_UINT32 ui32Word_5; //!< Word 5 of the linked list (see DMA_LL… 548 …IMG_UINT32 ui32Word_6; //!< Word 6 of the linked list (see DMA_LL… 549 …IMG_UINT32 ui32Word_7; //!< Word 7 of the linked list (see DMA_LL… 558 …IMG_UINT32 ui32PerHold; //!< peripheral hold register (see… 561 IMG_UINT32 ui32Ext_sa;
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_hostcode.h | 85 IMG_UINT32 BitsPerSecond; 86 IMG_UINT32 InitialQp; 87 IMG_UINT32 BUSize; 88 IMG_UINT32 FrameRate; 89 IMG_UINT32 BufferSize; 90 IMG_UINT32 BitsConsumed; 91 IMG_UINT32 IntraFreq; 100 IMG_UINT32 InitialLevel; 101 IMG_UINT32 InitialDelay; 130 IMG_UINT32 InitialLevel; /* Initial Level of Buffer */ [all …]
|
D | lnc_hostheader.h | 45 IMG_UINT32 H264_QP; 46 IMG_UINT32 H263_MPG4_FrameQ_scale; 47 IMG_UINT32 H263_MPG4_SliceQ_scale; 75 IMG_UINT32 Elements; 122 IMG_UINT32 Time_Scale; 123 IMG_UINT32 bit_rate_value_minus1; /* bitrate/64)-1 */ 124 IMG_UINT32 cbp_size_value_minus1; /* (bitrate*1.5)/16 */ 154 IMG_UINT32 First_MB_Address; 178 IMG_UINT32 First_half_bit_rate; 179 IMG_UINT32 Latter_half_bit_rate; [all …]
|
D | lnc_hostheader.c | 55 IMG_UINT32 ByteStartBit, in Show_Bits() 56 IMG_UINT32 Bits) in Show_Bits() 59 IMG_UINT32 uiByteSize; in Show_Bits() 60 IMG_UINT32 uiLp, uiBt, Bcnt; in Show_Bits() 89 IMG_UINT32 TotalByteSize; in Show_Elements() 90 IMG_UINT32 RTotalByteSize; in Show_Elements() 106 RTotalByteSize += (((IMG_UINT32)((TotalByteSize + 7) / 8)) * 8); in Show_Elements() 179 IMG_UINT32 UI16Input; in lnc__write_upto8bits_elements() 250 IMG_UINT32 wrt_bits, in lnc__write_upto32bits_elements() 251 IMG_UINT32 bit_cnt) in lnc__write_upto32bits_elements() [all …]
|