Home
last modified time | relevance | path

Searched refs:UChar (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4enc_lib.h35 PV_STATUS EncodeVopNotCoded(VideoEncData *video, UChar *bstream, Int *size, ULong modTime);
55 Int Sad8x8(UChar *rec, UChar *prev, Int lx);
56 Int getBlockSum(UChar *rec, Int lx);
66 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz,
67 Int dctMode, Int comp, Int dummy, UChar shortHeader);
70 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz,
71 Int dctMode, Int comp, Int dc_scaler, UChar shortHeader);
74UChar *bitmaprow, UInt *bitmapzz, Int dummy, UChar shortHeader);
77UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler, UChar shortHeader);
81 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz,
[all …]
Ddct.h60 void idct_rowInter(Short *srce, UChar *rec, Int lx);
61 void idct_row0Inter(Short *blk, UChar *rec, Int lx);
62 void idct_row1Inter(Short *blk, UChar *rec, Int lx);
63 void idct_row2Inter(Short *blk, UChar *rec, Int lx);
64 void idct_row3Inter(Short *blk, UChar *rec, Int lx);
65 void idct_row4Inter(Short *blk, UChar *rec, Int lx);
66 void idct_row0x40Inter(Short *blk, UChar *rec, Int lx);
67 void idct_row0x20Inter(Short *blk, UChar *rec, Int lx);
68 void idct_row0x10Inter(Short *blk, UChar *rec, Int lx);
69 void idct_row0xCCInter(Short *blk, UChar *rec, Int lx);
[all …]
Dmp4lib_int.h29 Int(*writeVideoPacket)(UChar *buf, Int nbytes_required); /*write video packet out */
30 UChar *bitstreamBuffer; /*buffer to hold one video packet*/
35 UChar* overrunBuffer; /* pointer to overrun buffer */
146 UChar *Mode; /* Modes INTRA/INTER/etc. */
147 UChar *CBP; /* MCBPC/CBPY stuff */
162 UChar MTB;
163 UChar LayerID;
164 UChar CodeType;
165 UChar RefSelCode;
237 Int(*SAD_MB_HalfPel[4])(UChar*, UChar*, Int, void *);
[all …]
Dfastcodemb.h56 Int Sad8x8(UChar *rec, UChar *prev, Int lx);
57 Int getBlockSum(UChar *rec, Int lx);
69 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz,
73 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz,
77 UChar *bitmaprow, UInt *bitmapzz, Int dummy);
80 UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler);
83 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz,
87 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz,
91 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dummy);
94UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler);
[all …]
Dfastcodemb.cpp54 UChar Mode = video->headerInfo.Mode[mbnum]; in CodeMB_H263()
55 UChar *bitmapcol, *bitmaprow = video->bitmaprow; in CodeMB_H263()
57 UChar shortHeader = video->vol[video->currLayer]->shortVideoHeader; in CodeMB_H263()
64 UChar[], UChar *, UInt *, Int, Int, Int, UChar); in CodeMB_H263()
66 UChar *, UInt *, Int, UChar); in CodeMB_H263()
67 void (*BlockDCT1x1)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
68 void (*BlockDCT2x2)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
69 void (*BlockDCT4x4)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
70 void (*BlockDCT8x8)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
79 UChar *rec, *input, *pred; in CodeMB_H263()
[all …]
Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
37 void InterpDiag(UChar *prev, Int lx, UChar *pred_block);
38 void InterpHorz(UChar *prev, Int lx, UChar *pred_block);
39 void InterpVert(UChar *prev, Int lx, UChar *pred_block);
65 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, in FindHalfPelMB()
82 Int(**SAD_MB_HalfPel)(UChar*, UChar*, Int, void*) = in FindHalfPelMB()
184 Int FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], in FindHalfPelBlk()
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) in FindHalfPelBlk()
191 UChar *cand, *cur8; in FindHalfPelBlk()
192 UChar *hmem;//[17*17]; /* half-pel memory */ in FindHalfPelBlk()
[all …]
Dsad_halfpel.cpp64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_MB()
68 UChar *kk, *p1, *p2; in HalfPel1_SAD_MB()
96 Int HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_MB()
100 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_MB()
138 Int HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_Blk()
142 UChar *kk, *p1, *p2; in HalfPel1_SAD_Blk()
170 Int HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_Blk()
174 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_Blk()
221 Int SAD_MB_HalfPel_Cxhyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) in SAD_MB_HalfPel_Cxhyh()
225 UChar *kk, *p1, *p2, *p3, *p4; in SAD_MB_HalfPel_Cxhyh()
[all …]
Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3()
132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3()
134 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3()
223 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
225 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
227 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
Dme_utils.cpp35 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD) in ChooseMode_C()
40 UChar *p = cur; in ChooseMode_C()
110 void GetHalfPelMBRegion_C(UChar *cand, UChar *hmem, Int lx) in GetHalfPelMBRegion_C()
113 UChar *p1, *p2, *p3, *p4; in GetHalfPelMBRegion_C()
114 UChar *hmem1 = hmem; in GetHalfPelMBRegion_C()
115 UChar *hmem2 = hmem1 + 33; in GetHalfPelMBRegion_C()
166 void GetHalfPelBlkRegion(UChar *cand, UChar *hmem, Int lx) in GetHalfPelBlkRegion()
169 UChar *p1, *p2, *p3, *p4; in GetHalfPelBlkRegion()
170 UChar *hmem1 = hmem; in GetHalfPelBlkRegion()
171 UChar *hmem2 = hmem1 + 17; in GetHalfPelBlkRegion()
[all …]
Dbitstream_io.cpp29 static const UChar Mask[ ] =
61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar)); in BitStreamCreateEnc()
68 M4VENC_MEMSET(stream->bitstreamBuffer, 0, stream->bufferSize*sizeof(UChar)); in BitStreamCreateEnc()
209 UChar *ptr; in BitstreamSaveWord()
259 UChar *ptr; in BitstreamSavePartial()
296 *ptr++ = (UChar)((word >> shift) & 0xFF); in BitstreamSavePartial()
419 UChar *ptrBS2, *ptrBS1; in BitstreamAppendEnc()
420 UChar byteBS2, byteBS1; in BitstreamAppendEnc()
464 byteBS1 = ((UChar) bitstream1->word) << bitleft; /* fraction byte from bs1 */ in BitstreamAppendEnc()
495 UChar *ptrBS2, *ptrBS1; in BitstreamAppendPacket()
[all …]
Dfastquant.cpp25 const static UChar imask[8] = {128, 64, 32, 16, 8, 4, 2, 1};
150 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, in BlockQuantDequantH263Inter()
151 Int dctMode, Int comp, Int dummy, UChar shortHeader) in BlockQuantDequantH263Inter()
163 UChar *bcolptr = bitmapcol; in BlockQuantDequantH263Inter()
270 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, in BlockQuantDequantH263Intra()
271 Int dctMode, Int comp, Int dc_scaler, UChar shortHeader) in BlockQuantDequantH263Intra()
281 UChar *bmcolptr = bitmapcol; in BlockQuantDequantH263Intra()
442 UChar *bitmaprow, UInt *bitmapzz, Int dummy, UChar shortHeader) in BlockQuantDequantH263DCInter()
496 UChar *bitmaprow, UInt *bitmapzz, Int dc_scaler, UChar shortHeader) in BlockQuantDequantH263DCIntra()
545 UChar bitmapcol[ ], UChar *bitmaprow, UInt *bitmapzz, in BlockQuantDequantMPEGInter()
[all …]
Dmotion_est.cpp75 void MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[],
78 Int fullsearch(VideoEncData *video, Vol *currVol, UChar *ref, UChar *cur,
80 Int fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur,
84 void RasterIntraUpdate(UChar *intraArray, UChar *Mode, Int totalMB, Int numRefresh);
85 void ResetIntraUpdate(UChar *intraArray, Int totalMB);
86 void ResetIntraUpdateRegion(UChar *intraArray, Int start_i, Int rwidth,
91 void PrepareCurMB(VideoEncData *video, UChar *cur);
105 void HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur);
138 UChar use_4mv = video->encParams->MV8x8_Enabled; in MotionEstimation()
147 UChar *mode_mb, *Mode = video->headerInfo.Mode; in MotionEstimation()
[all …]
Dsad.cpp64 Int SAD_MB_PAD1(UChar *ref, UChar *cur, Int dmin, Int lx, Int *rep);
78 Int SAD_Macroblock_C(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) in SAD_Macroblock_C()
106 Int SAD_MB_HTFM_Collect(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) in SAD_MB_HTFM_Collect()
110 UChar *p1; in SAD_MB_HTFM_Collect()
208 Int SAD_MB_HTFM(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) in SAD_MB_HTFM()
211 UChar *p1; in SAD_MB_HTFM()
314 Int SAD_Block_C(UChar *ref, UChar *blk, Int dmin, Int lx, void *) in SAD_Block_C()
319 UChar *ii; in SAD_Block_C()
Dmotion_comp.cpp37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec,
40 void Copy_MB_from_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int width);
41 void Copy_B_from_Vop(UChar *comp, Int cChan[], Int width);
42 void Copy_MB_into_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int width);
43 void Copy_B_into_Vop(UChar *comp, Int cChan[], Int width);
44 void get_MB(UChar *c_prev, UChar *c_prev_u , UChar *c_prev_v,
48 UChar *c_prev, /* i */
49 UChar *pred_block, /* i */
55 UChar *c_prev, /* i */
56 UChar *pred_block, /* i */
[all …]
Dfastidct.cpp313 void idct_row0Inter(Short *srce, UChar *rec, Int lx) in idct_row0Inter()
324 void idct_row1Inter(Short *blk, UChar *rec, Int lx) in idct_row1Inter()
371 void idct_row2Inter(Short *blk, UChar *rec, Int lx) in idct_row2Inter()
430 void idct_row3Inter(Short *blk, UChar *rec, Int lx) in idct_row3Inter()
500 void idct_row4Inter(Short *blk, UChar *rec, Int lx) in idct_row4Inter()
576 void idct_row0x40Inter(Short *blk, UChar *rec, Int lx) in idct_row0x40Inter()
633 void idct_row0x20Inter(Short *blk, UChar *rec, Int lx) in idct_row0x20Inter()
689 void idct_row0x10Inter(Short *blk, UChar *rec, Int lx) in idct_row0x10Inter()
744 void idct_rowInter(Short *blk, UChar *rec, Int lx) in idct_rowInter()
835 void idct_row0Intra(Short *srce, UChar *rec, Int lx) in idct_row0Intra()
[all …]
Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in BlockDCT_AANwSub()
267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block4x4DCT_AANwSub()
473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block2x2DCT_AANwSub()
652 Void BlockDCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in BlockDCT_AANIntra()
863 Void Block4x4DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in Block4x4DCT_AANIntra()
1050 Void Block2x2DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in Block2x2DCT_AANIntra()
1210 void Block1x1DCTwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block1x1DCTwSub()
1212 UChar *end; in Block1x1DCTwSub()
1247 void Block1x1DCTIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in Block1x1DCTIntra()
1249 UChar *end; in Block1x1DCTIntra()
Ddatapart_encode.cpp47 UChar *QPMB = video->QPMB; in EncodeFrameDataPartMode()
59 void (*BlockCodeCoeff)(RunLevelBlock*, BitstreamEncVideo*, Int, Int, UChar); in EncodeFrameDataPartMode()
216 UChar mode, *Mode = video->headerInfo.Mode; in EncodeSliceDataPartMode()
221 UChar *QPMB = video->QPMB; in EncodeSliceDataPartMode()
237 UChar CBP; in EncodeSliceDataPartMode()
241 void (*BlockCodeCoeff)(RunLevelBlock*, BitstreamEncVideo*, Int, Int, UChar); in EncodeSliceDataPartMode()
Dsad_inline.h82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) in simd_sad_mb()
257 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx)
446 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx)
Dcombined_encode.cpp48 UChar *QPMB = video->QPMB; in EncodeFrameCombinedMode()
59 void (*BlockCodeCoeff)(RunLevelBlock*, BitstreamEncVideo*, Int, Int, UChar); in EncodeFrameCombinedMode()
267 UChar mode = MODE_INTRA; in EncodeSliceCombinedMode()
268 UChar *Mode = video->headerInfo.Mode; in EncodeSliceCombinedMode()
274 UChar *QPMB = video->QPMB; in EncodeSliceCombinedMode()
289 UChar CBP = 0; in EncodeSliceCombinedMode()
294 void (*BlockCodeCoeff)(RunLevelBlock*, BitstreamEncVideo*, Int, Int, UChar); in EncodeSliceCombinedMode()
Dvop.cpp47 UChar *Mode = video->headerInfo.Mode; in EncodeVop()
58 M4VENC_MEMSET(Mode, MODE_INTRA, sizeof(UChar)*currVol->nTotalMB); in EncodeVop()
61 M4VENC_MEMSET(Mode, MODE_INTER, sizeof(UChar)*currVol->nTotalMB); in EncodeVop()
309 PV_STATUS EncodeVopNotCoded(VideoEncData *video, UChar *bstream, Int *size, ULong modTime) in EncodeVopNotCoded()
512 UChar buffer[30]; in EncodeVideoPacketHeader()
Dmp4def.h55 typedef unsigned char UChar; typedef
83 typedef UChar PIXEL;
Dvlc_encode.cpp88 typedef void (*BlockCodeCoeffPtr)(RunLevelBlock*, BitstreamEncVideo*, Int, Int, UChar) ;
170 Void DCACPred(VideoEncData *video, UChar Mode, Int *intraDC_decision, Int intraDCVlcQP);
891 UChar Mode = video->headerInfo.Mode[video->mbnum]; in MBVlcEncodeDataPar_I_VOP()
892 UChar CBP; in MBVlcEncodeDataPar_I_VOP()
980 UChar Mode = video->headerInfo.Mode[mbnum]; in MBVlcEncodeDataPar_P_VOP()
982 UChar CBP; in MBVlcEncodeDataPar_P_VOP()
1137 UChar Mode = video->headerInfo.Mode[video->mbnum]; in MBVlcEncodeCombined_I_VOP()
1138 UChar CBP = video->headerInfo.CBP[video->mbnum]; in MBVlcEncodeCombined_I_VOP()
1254 UChar Mode = video->headerInfo.Mode[mbnum]; in MBVlcEncodeCombined_P_VOP()
1256 UChar CBP ; in MBVlcEncodeCombined_P_VOP()
[all …]
Dmp4enc_api.cpp657 video->QPMB = (UChar *) M4VENC_MALLOC(nTotalMB * sizeof(UChar)); /* Memory for MB quantizers */ in PVInitVideoEncoder()
661 …video->headerInfo.Mode = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for MB Modes… in PVInitVideoEncoder()
663 …video->headerInfo.CBP = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for CBP (Y … in PVInitVideoEncoder()
683 video->intraArray = (UChar *)M4VENC_MALLOC(sizeof(UChar) * nTotalMB); in PVInitVideoEncoder()
686 video->sliceNo = (UChar *) M4VENC_MALLOC(nTotalMB); /* Memory for Slice Numbers */ in PVInitVideoEncoder()
748 video->overrunBuffer = (UChar*) M4VENC_MALLOC(sizeof(UChar) * video->oBSize); in PVInitVideoEncoder()
1315 OSCL_EXPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int lay… in PVGetVolHeader()
1358 OSCL_EXPORT_REF UChar* PVGetOverrunBuffer(VideoEncControls *encCtrl) in PVGetOverrunBuffer()
1387 ULong *nextModTime, UChar *bstream, Int *size, Int *nLayer) in PVEncodeVideoFrame()
1603 video->hintTrackInfo.LayerID = (UChar)currVol->volID; in PVEncodeVideoFrame()
[all …]
Dbitstream_io.h49 …Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UChar *overrunBuffer, Int oBSize, Video…
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
Dmp4enc_api.h25 typedef unsigned char UChar; typedef
103 UChar MTB;
104 UChar LayerID;
105 UChar CodeType;
106 UChar RefSelCode;
118 UChar *yChan; /* pointer to Y */
119 UChar *uChan; /* pointer to U */
120 UChar *vChan; /* pointer to V */
276 …OSCL_IMPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int…
338 ULong *nextModTime, UChar *bstream, Int *size, Int *nLayer);
[all …]

12