Searched refs:Int (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.h24 Int PutCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
25 Int PutCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
26 Int PutCBPY(Int cbp
[all...]
H A Dfastcodemb.h31 const Int *scale;
32 Int(*DCT)(Int block[ ], Int coeff[ ], approxDCT *);
35 Int th_app_all[8];
36 Int th_app_odd[8];
37 Int th_app_even[8];
38 Int th_app_even1[8];
39 Int th_app_even2[8];
44 Int QPx
[all...]
H A Drate_control.h25 Int Qp;
26 Int Rp;
35 Int alpha; /* weight for I frame */
36 Int Rs; /*bit rate for the sequence (or segment) e.g., 24000 bits/sec */
37 Int Rc; /*bits used for the current frame. It is the bit count obtained after encoding. */
38 Int Rp; /*bits to be removed from the buffer per picture. */
40 Int Rps; /*bit to be removed from buffer per src frame */
45 Int Qc; /*quantization level used for the current frame. */
46 Int Nr; /*number of P frames remaining for encoding.*/
47 Int R
[all...]
H A Dmp4lib_int.h29 Int(*writeVideoPacket)(UChar *buf, Int nbytes_required); /*write video packet out */
31 Int bufferSize; /*total bitstream buffer size in bytes */
32 Int byteCount; /*how many bytes already encoded*/
34 Int bitLeft; /*number of bits left in "word" */
36 Int oBSize; /* length of overrun buffer */
45 Int frame; /* frame number */
46 Int volID; /* Layer number */
47 //Int timeStamp; /* Vop TimeStamp in msec */
50 Int widt
[all...]
H A Dmp4enc_lib.h33 int quant_scale, Int insert);
35 PV_STATUS EncodeVopNotCoded(VideoEncData *video, UChar *bstream, Int *size, ULong modTime);
50 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int offsetQP, Int ncoefblck[]);
52 PV_STATUS CodeMB_MPEG(VideoEncData *video, approxDCT *function, Int offsetQP, Int ncoefblck[]);
54 Int getBlockSAV(Short block[]);
55 Int Sad8x8(UChar *rec, UChar *prev, Int lx);
56 Int getBlockSu
[all...]
H A Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
35 Int ilow, Int ihigh, Int jlow, Int jhigh);
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);
45 const static Int distance_ta
[all...]
H A Dbitstream_io.h30 BitstreamEncVideo *BitStreamCreateEnc(Int bufferSize);
32 PV_STATUS BitstreamPutBits(BitstreamEncVideo *stream, Int Length, UInt Value);
33 PV_STATUS BitstreamPutGT16Bits(BitstreamEncVideo *stream, Int Length, ULong Value);
35 PV_STATUS BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction);
36 Int BitstreamGetPos(BitstreamEncVideo *stream);
39 Int BitstreamShortHeaderByteAlignStuffing(BitstreamEncVideo *stream);
40 Int BitstreamMpeg4ByteAlignStuffing(BitstreamEncVideo *stream);
44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
45 PV_STATUS BitstreamFlushBits(BitstreamEncVideo *bitstream1, Int num_bit_lef
[all...]
H A Ddct.h21 const static Int ColThInter[32] = {0, 0x1C, 0x4C, 0x6C, 0x9C, 0xBC, 0xEC, 0x10C,
27 const static Int ColThIntra[32] = {0, 0x1C, 0x3C, 0x5C, 0x7C, 0x9C, 0xBC, 0xDC,
60 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 l
[all...]
H A Dfastcodemb.cpp50 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[])
52 Int sad, k, CBP, mbnum = video->mbnum;
58 Int dc_scaler = 8;
59 Int intra = (Mode == MODE_INTRA || Mode == MODE_INTRA_Q);
61 Int dctMode, DctTh1;
62 Int ColTh;
63 Int(*BlockQuantDequantH263)(Short *, Short *, struct QPstruct *,
64 UChar[], UChar *, UInt *, Int, Int, In
[all...]
H A Dsad_halfpel.cpp19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width)
21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmi
[all...]
H A Dvlc_encode.cpp88 typedef void (*BlockCodeCoeffPtr)(RunLevelBlock*, BitstreamEncVideo*, Int, Int, UChar) ;
90 const static Int mode_MBtype[] =
99 const static Int zigzag_inv[NCOEFF_BLOCK] =
112 const static Int zigzag_h_inv[NCOEFF_BLOCK] =
125 const static Int zigzag_v_inv[NCOEFF_BLOCK] =
142 Int PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream);
143 Int PutCoeff_Inter_Las
[all...]
H A Dfastquant.cpp84 /* Int Qp Quantizer */
90 Int cal_dc_scalerENC(Int QP, Int type)
93 Int dc_scaler;
149 Int BlockQuantDequantH263Inter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam,
151 Int dctMode, Int comp, Int dummy, UChar shortHeader)
153 Int
[all...]
H A Dmotion_est.cpp52 const static Int tab_exclude[9][9] = // [last_loc][curr_loc]
65 const static Int refine_next[8][2] = /* [curr_k][increment] */
76 Int i0, Int j0, Int type_pred, Int fullsearch, Int *hp_guess);
78 Int fullsearch(VideoEncData *video, Vol *currVol, UChar *ref, UChar *cur,
79 Int *imin, Int *jmi
[all...]
H A Dsad.cpp47 Int SAD_Macroblock_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
48 Int SAD_MB_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
49 Int SAD_MB_HTFM(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
50 Int SAD_Block_
[all...]
H A Dmotion_comp.cpp21 //const static Int roundtab4[] = {0,1,1,1};
22 //const static Int roundtab8[] = {0,0,1,1,1,1,1,2};
23 //const static Int roundtab12[] = {0,0,0,1,1,1,1,1,1,1,2,2};
24 const static Int roundtab16[] = {0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2};
37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec,
38 Int width, Int height, Int rnd
[all...]
H A Ddatapart_encode.cpp42 Int width = currVop->width; /* has to be Vop, for multiple of 16 */
43 Int lx = currVop->pitch; /* with padding */
44 Int offset = 0;
45 Int ind_x, ind_y;
46 Int start_packet_header = 0;
48 Int QP;
49 Int mbnum = 0, slice_counter = 0;
50 Int num_bits, packet_size = encParams->ResyncPacketsize;
54 Int numHeaderBits;
56 Int ncoefblc
[all...]
H A Dme_utils.cpp35 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD)
37 Int i, j;
38 Int MB_mean, A, tmp, Th;
39 Int offset = (lx >> 2) - 4;
41 Int *pint = (Int *) cur, temp = 0;
110 void GetHalfPelMBRegion_C(UChar *cand, UChar *hmem, Int lx)
112 Int i, j;
116 Int offse
[all...]
H A Dcombined_encode.cpp25 PV_STATUS EncodeGOBHeader(VideoEncData *video, Int GOB_number, Int quant_scale, Int bs1stream);
43 Int width = currVop->width; /* has to be Vop, for multiple of 16 */
44 Int lx = currVop->pitch; /* with padding */
45 Int offset = 0;
46 Int ind_x, ind_y;
47 Int start_packet_header = 0;
49 Int QP;
50 Int mbnu
[all...]
H A Drate_control.cpp34 PV_STATUS RC_Cleanup(rateControl *rc[],Int numLayers);
37 PV_STATUS RC_UpdateBuffer(VideoEncData *video, Int currLayer, Int num_skip);
38 Int RC_GetSkipNextFrame(VideoEncData *video,Int currLayer);
39 void RC_ResetSkipNextFrame(void *video,Int currLayer);
55 Int numLayers = encParams->nLayers;
56 Int *LayerBitRate = encParams->LayerBitRate;
60 Int n;
70 //rc[n]->TMN_TH = (Int)((floa
[all...]
H A Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width)
41 Int k0, k1, k2, k3, k4, k5, k6, k7;
42 Int round;
43 Int k12 = 0x022A02D4;
44 Int k14 = 0x0188053A;
45 Int abs_sum;
46 Int mask;
47 Int tmp, tmp2;
48 Int ColTh;
59 tmp = *((Int*) cu
[all...]
H A Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin)
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin)
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin)
130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8)
132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmi
[all...]
H A Dvlc_encode_inline.h23 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc)
25 Int idx, run, level, j;
113 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc)
116 Int idx, run, level, j;
118 Int zzorder;
214 __inline Int m4v_enc_clz(UInt temp)
216 register Int rb;
227 __inline Int zero_run_searc
[all...]
H A Dmp4enc_api.cpp33 const static Int zigzag_i[NCOEFF_BLOCK] =
46 const static Int mpeg_iqmat_def[NCOEFF_BLOCK] =
58 const static Int mpeg_nqmat_def[64] =
72 const static Int profile_level_code[8] =
77 const static Int profile_level_max_bitrate[8] =
82 const static Int profile_level_max_packet_size[8] =
87 const static Int profile_level_max_mbsPerSec[8] =
92 const static Int profile_level_max_VBV_size[8] =
101 const static Int scalable_profile_level_code[8] =
106 const static Int scalable_profile_level_max_bitrat
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
H A Dmp4enc_api.h28 typedef int Int; typedef
112 Int videoEncoderInit;
121 Int height; /* height for Y */
122 Int pitch; /* stride for Y */
137 Int packetSize;
146 Int gobHeaderInterval;
149 Int numLayers;
152 Int timeIncRes;
155 Int tickPerSrc;
158 Int encHeigh
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpv_amr_wb_type_defs.h84 typedef signed int Int; typedef
132 typedef Int Flag;
136 typedef Int Bool;

Completed in 501 milliseconds

12