Home | History | Annotate | Download | only in src

Lines Matching refs:Int

88 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_Last(Int run, Int level, BitstreamEncVideo *bitstream);
144 Int PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream);
145 Int PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream);
146 Int PutCBPY(Int cbpy, Char intra, BitstreamEncVideo *bitstream);
147 Int PutMCBPC_Inter(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
148 Int PutMCBPC_Intra(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
149 Int PutMV(Int mvint, BitstreamEncVideo *bitstream);
150 Int PutDCsize_chrom(Int size, BitstreamEncVideo *bitstream);
151 Int PutDCsize_lum(Int size, BitstreamEncVideo *bitstream);
152 Int PutDCsize_lum(Int size, BitstreamEncVideo *bitstream);
154 Int PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream);
155 Int PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream);
156 Int PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream);
157 Int PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream);
159 Int PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream);
160 Int PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream);
161 Int PutRunCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream);
162 Int PutRunCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream);
163 Int PutLevelCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream);
164 Int PutLevelCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream);
165 Int PutLevelCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream);
166 Int PutLevelCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream);
168 void RunLevel(VideoEncData *video, Int intra, Int intraDC_decision, Int ncoefblck[]);
169 Int IntraDC_dpcm(Int val, Int lum, BitstreamEncVideo *bitstream);
170 Void DCACPred(VideoEncData *video, UChar Mode, Int *intraDC_decision, Int intraDCVlcQP);
171 Void find_pmvs(VideoEncData *video, Int block, Int *mvx, Int *mvy);
172 Void WriteMVcomponent(Int f_code, Int dmv, BitstreamEncVideo *bs);
173 static Bool IntraDCSwitch_Decision(Int Mode, Int intra_dc_vlc_threshold, Int intraDCVlcQP);
175 Void ScaleMVD(Int f_code, Int diff_vector, Int *residual, Int *vlc_code_mag);
181 Int
182 PutDCsize_lum(Int size, BitstreamEncVideo *bitstream)
184 Int length;
196 Int
197 PutDCsize_chrom(Int size, BitstreamEncVideo *bitstream)
199 Int length;
210 Int
211 PutMV(Int mvint, BitstreamEncVideo *bitstream)
213 Int sign = 0;
214 Int absmv;
215 Int length;
238 Int
239 PutMCBPC_Intra(Int cbp, Int mode, BitstreamEncVideo *bitstream)
241 Int ind;
242 Int length;
253 Int
254 PutMCBPC_Inter(Int cbp, Int mode, BitstreamEncVideo *bitstream)
256 Int ind;
257 Int length;
268 Int
269 PutCBPY(Int cbpy, Char intra, BitstreamEncVideo *bitstream)
271 Int ind;
272 Int length;
291 Int PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream)
293 Int length = 0;
311 Int PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream)
313 Int length = 0;
333 Int PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream)
335 Int length = 0;
365 Int PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream)
367 Int length = 0;
393 Int PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream)
395 Int length = 0;
449 Int PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream)
451 Int length = 0;
483 Int PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream)
485 Int length = 0;
545 Int PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream)
547 Int length = 0;
579 Int
580 PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream)
582 Int length = 0;
609 Int PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream)
611 Int length = 0;
638 Int PutRunCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream)
640 Int length = 0;
688 Int PutRunCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream)
690 Int length = 0;
728 Int
729 PutLevelCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream)
731 Int length = 0;
756 Int PutLevelCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream)
758 Int length = 0;
783 Int PutLevelCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream)
785 Int length = 0;
829 Int PutLevelCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream)
831 Int length = 0;
883 Int ncoefblck[],
890 int i;
894 Int mbnum = video->mbnum;
895 Int intraDC_decision, DC;
896 // int temp;
897 Int dquant; /* 3/15/01 */
971 Int ncoefblck[],
978 int i;
979 Int mbnum = video->mbnum;
981 Int QP_tmp = video->QPMB[mbnum];
984 Int intra, intraDC_decision, DC;
985 Int pmvx, pmvy;
986 // int temp;
987 Int dquant; /* 3/15/01 */
1129 Int ncoefblck[],
1136 int i;
1140 Int mbnum = video->mbnum;
1141 Int intraDC_decision;
1142 // int temp;
1143 Int dquant; /* 3/15/01 */
1145 Int DC;
1146 Int shortVideoHeader = video->vol[video->currLayer]->shortVideoHeader;
1245 Int ncoefblck[],
1252 int i;
1253 Int mbnum = video->mbnum;
1255 Int QP_tmp = video->QPMB[mbnum];
1258 Int intra, intraDC_decision;
1259 Int pmvx, pmvy;
1260 // int temp;
1261 Int dquant; /* 3/15/01 */
1263 Int DC;
1264 Int shortVideoHeader = video->vol[video->currLayer]->shortVideoHeader;
1432 Void BlockCodeCoeff_RVLC(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar Mode)
1434 int length = 0;
1435 int i;
1436 Int level;
1437 Int run;
1438 Int intra = (Mode == MODE_INTRA || Mode == MODE_INTRA_Q);
1504 Void BlockCodeCoeff_ShortHeader(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar Mode)
1506 int length = 0;
1507 int i;
1508 // int temp;
1509 Int level;
1510 Int run;
1573 Void BlockCodeCoeff_Normal(RunLevelBlock *RLB, BitstreamEncVideo *bs, Int j_start, Int j_stop, UChar Mode)
1575 int length = 0;
1576 int i;
1577 //int temp;
1578 Int level;
1579 Int run;
1580 Int intra = (Mode == MODE_INTRA || Mode == MODE_INTRA_Q);
1581 Int level_minus_max;
1582 Int run_minus_max;
1583 Int(*PutCoeff)(Int, Int, BitstreamEncVideo *); /* pointer to functions, 5/28/01 */
1777 /* Int* qcoeff Quantized DCT coefficients
1778 Int Mode Coding Mode
1779 Int ncoeffs Number of coefficients */
1781 /* Int CBP Coded Block Pattern */
1785 void RunLevel(VideoEncData *video, Int intra, Int intraDC_decision, Int ncoefblck[])
1787 Int i, j;
1788 Int CBP = video->headerInfo.CBP[video->mbnum];
1789 Int ShortNacNintra = (!(video->vol[video->currLayer]->shortVideoHeader) && video->acPredFlag[video->mbnum] && intra);
1792 Int level;
1794 Int run, idx;
1795 Int *zz, nc, zzorder;
1811 zz = (Int *) zigzag_inv;
1843 zz = (Int *)zigzag_v_inv;
1846 zz = (Int *)zigzag_h_inv;
1893 // zz = (Int *) zigzag_inv; no need to use it, default
1926 static Bool IntraDCSwitch_Decision(Int Mode, Int intra_dc_vlc_thr, Int intraDCVlcQP)
1944 Int IntraDC_dpcm(Int val, Int lum, BitstreamEncVideo *bitstream)
1946 Int n_bits;
1947 Int absval, size = 0;
2002 Int cal_dc_scalerENC(Int QP, Int type) ;
2014 Void DCACPred(VideoEncData *video, UChar Mode, Int *intraDC_decision, Int intraDCVlcQP)
2017 Int mbnum = video->mbnum;
2025 Int nMBPerRow = currVol->nMBPerRow;
2026 Int x_pos = video->outputMB->mb_x; /* 5/28/01 */
2027 Int y_pos = video->outputMB->mb_y;
2032 Int *ACpred_flag = video->acPredFlag;
2033 Int mid_grey = 128 << 3;
2034 Int m;
2035 Int comp;
2036 Int dc_scale = 8, tmp;
2038 static const Int Xpos[6] = { -1, 0, -1, 0, -1, -1};
2039 static const Int Ypos[6] = { -1, -1, 0, 0, -1, -1};
2040 static const Int Xtab[6] = {1, 0, 3, 2, 4, 5};
2041 static const Int Ytab[6] = {2, 3, 0, 1, 4, 5};
2042 static const Int Ztab[6] = {3, 2, 1, 0, 4, 5};
2045 static const Int Pos0[6] = { 1, 1, 0, 0, 1, 1};
2046 static const Int Pos1[6] = { 1, 0, 1, 0, 1, 1};
2047 static const Int B_Xtab[6] = {0, 1, 0, 1, 2, 3};
2048 static const Int B_Ytab[6] = {0, 0, 1, 1, 2, 3};
2050 Int direction[6]; /* 0: HORIZONTAL, 1: VERTICAL */
2051 Int block_A, block_B, block_C;
2052 Int grad_hor, grad_ver, DC_pred;
2056 Int S = 0, S1, S2;
2057 Int diff, QPtmp;
2058 Int newCBP[6];
2062 Int y_offset, x_offset, x_tab, y_tab, z_tab; /* speedup coefficients */
2063 Int b_xtab, b_ytab;
2532 Void find_pmvs(VideoEncData *video, Int block, Int *mvx, Int *mvy)
2537 Int nMBPerRow = currVol->nMBPerRow;
2538 Int mbnum = video->mbnum;
2540 Int p1x, p2x, p3x;
2541 Int p1y, p2y, p3y;
2542 Int xin1, xin2, xin3;
2543 Int yin1, yin2, yin3;
2544 Int vec1, vec2, vec3;
2545 Int rule1, rule2, rule3;
2547 Int x = mbnum % nMBPerRow;
2548 Int y = mbnum / nMBPerRow;
2732 Void WriteMVcomponent(Int f_code, Int dmv, BitstreamEncVideo *bs)
2734 Int residual, vlc_code_mag, bits, entry;
2756 Int f_code, /* <-- MV range in 1/2 units: 1=32,2=64,...,7=2048 */
2757 Int diff_vector, /* <-- MV Difference commponent in 1/2 units */
2758 Int *residual, /* --> value to be FLC coded */
2759 Int *vlc_code_mag /* --> value to be VLC coded */
2762 Int range;
2763 Int scale_factor;
2764 Int r_size;
2765 Int low;
2766 Int high;
2767 Int aux;