Home
last modified time | relevance | path

Searched refs:Int (Results 1 – 25 of 2103) sorted by relevance

12345678910>>...85

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
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 */
46 Int frame; /* frame number */
47 Int volID; /* Layer number */
51 Int width; /* Width (multiple of 16) */
52 Int height; /* Height (multiple of 16) */
53 Int pitch; /* Pitch (differs from width for UMV case) */
[all …]
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 QPx2 ;
45 Int QP;
46 Int QPdiv2;
[all …]
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 getBlockSum(UChar *rec, Int lx);
64 Int cal_dc_scalerENC(Int QP, Int type) ;
65 Int BlockQuantDequantH263Inter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam,
67 Int dctMode, Int comp, Int dummy, UChar shortHeader);
[all …]
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 cbpy, Char intra, BitstreamEncVideo *bitstream);
27 Int PutMCBPC_Inter(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
28 Int PutMCBPC_Intra(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
29 Int PutMV(Int mvint, BitstreamEncVideo *bitstream);
30 Int PutDCsize_chrom(Int size, BitstreamEncVideo *bitstream);
31 Int PutDCsize_lum(Int size, BitstreamEncVideo *bitstream);
32 Int PutDCsize_lum(Int size, BitstreamEncVideo *bitstream);
33 Int PutCoeff_Inter_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
[all …]
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 Rr; /*number of bits remaining for encoding this sequence (or segment).*/
[all …]
Dfastquant.cpp90 Int cal_dc_scalerENC(Int QP, Int type) in cal_dc_scalerENC()
93 Int dc_scaler; in cal_dc_scalerENC()
149 Int BlockQuantDequantH263Inter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, in BlockQuantDequantH263Inter()
151 Int dctMode, Int comp, Int dummy, UChar shortHeader) in BlockQuantDequantH263Inter()
153 Int i, zz; in BlockQuantDequantH263Inter()
154 Int tmp, coeff, q_value; in BlockQuantDequantH263Inter()
155 Int QPdiv2 = QuantParam->QPdiv2; in BlockQuantDequantH263Inter()
156 Int QPx2 = QuantParam->QPx2; in BlockQuantDequantH263Inter()
157 Int Addition = QuantParam->Addition; in BlockQuantDequantH263Inter()
158 Int QPx2plus = QuantParam->QPx2plus; in BlockQuantDequantH263Inter()
[all …]
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_tab[9][9] = /* [hp_guess][k] */
66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess) in FindHalfPelMB()
71 Int dmin, d; in FindHalfPelMB()
73 Int xh, yh; in FindHalfPelMB()
74 Int k, kmin = 0; in FindHalfPelMB()
[all …]
Dsad_halfpel.cpp64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_MB()
66 Int i, j; in HalfPel1_SAD_MB()
67 Int sad = 0; in HalfPel1_SAD_MB()
69 Int temp; in HalfPel1_SAD_MB()
96 Int HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_MB()
98 Int i, j; in HalfPel2_SAD_MB()
99 Int sad = 0; in HalfPel2_SAD_MB()
101 Int temp; 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()
140 Int i, j; in HalfPel1_SAD_Blk()
[all …]
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_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);
[all …]
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 lx);
[all …]
Dfastcodemb.cpp50 PV_STATUS CodeMB_H263(VideoEncData *video, approxDCT *function, Int QP, Int ncoefblck[]) in CodeMB_H263()
52 Int sad, k, CBP, mbnum = video->mbnum; in CodeMB_H263()
58 Int dc_scaler = 8; in CodeMB_H263()
59 Int intra = (Mode == MODE_INTRA || Mode == MODE_INTRA_Q); in CodeMB_H263()
61 Int dctMode, DctTh1; in CodeMB_H263()
62 Int ColTh; in CodeMB_H263()
63 Int(*BlockQuantDequantH263)(Short *, Short *, struct QPstruct *, in CodeMB_H263()
64 UChar[], UChar *, UInt *, Int, Int, Int, UChar); in CodeMB_H263()
65 Int(*BlockQuantDequantH263DC)(Short *, Short *, struct QPstruct *, in CodeMB_H263()
66 UChar *, UInt *, Int, UChar); in CodeMB_H263()
[all …]
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 *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh);
80 Int fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur,
81 Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range);
82 void CandidateSelection(Int *mvx, Int *mvy, Int *num_can, Int imb, Int jmb,
83 VideoEncData *video, Int type_pred);
84 void RasterIntraUpdate(UChar *intraArray, UChar *Mode, Int totalMB, Int numRefresh);
[all …]
/frameworks/base/services/permission/java/com/android/server/permission/access/collection/
DSparseIntArrayExtensions.kt21 inline fun SparseIntArray.allIndexed(predicate: (Int, Int, Int) -> Boolean): Boolean { in <lambda>()
30 inline fun SparseIntArray.anyIndexed(predicate: (Int, Int, Int) -> Boolean): Boolean { in anyIndexed()
39 inline fun SparseIntArray.forEachIndexed(action: (Int, Int, Int) -> Unit) { in forEachIndexed()
45 inline fun SparseIntArray.forEachReversedIndexed(action: (Int, Int, Int) -> Unit) { in forEachReversedIndexed()
51 inline fun SparseIntArray.getOrPut(key: Int, defaultValue: () -> Int): Int { in getOrPut()
60 inline val SparseIntArray.lastIndex: Int
64 inline operator fun SparseIntArray.minusAssign(key: Int) { in minusAssign()
68 inline fun SparseIntArray.noneIndexed(predicate: (Int, Int, Int) -> Boolean): Boolean { in noneIndexed()
77 fun SparseIntArray.remove(key: Int) { in SparseIntArray()
81 fun SparseIntArray.remove(key: Int, defaultValue: Int): Int { in SparseIntArray()
[all …]
DSparseBooleanArrayExtensions.kt21 inline fun SparseBooleanArray.allIndexed(predicate: (Int, Int, Boolean) -> Boolean): Boolean { in <lambda>()
30 inline fun SparseBooleanArray.anyIndexed(predicate: (Int, Int, Boolean) -> Boolean): Boolean { in anyIndexed()
39 inline fun SparseBooleanArray.forEachIndexed(action: (Int, Int, Boolean) -> Unit) { in forEachIndexed()
45 inline fun SparseBooleanArray.forEachReversedIndexed(action: (Int, Int, Boolean) -> Unit) { in forEachReversedIndexed()
51 inline fun SparseBooleanArray.getOrPut(key: Int, defaultValue: () -> Boolean): Boolean { in getOrPut()
60 inline val SparseBooleanArray.lastIndex: Int
64 inline operator fun SparseBooleanArray.minusAssign(key: Int) { in minusAssign()
68 inline fun SparseBooleanArray.noneIndexed(predicate: (Int, Int, Boolean) -> Boolean): Boolean { in noneIndexed()
77 fun SparseBooleanArray.remove(key: Int) { in SparseBooleanArray()
81 fun SparseBooleanArray.remove(key: Int, defaultValue: Boolean): Boolean { in SparseBooleanArray()
[all …]
DSparseLongArrayExtensions.kt21 inline fun SparseLongArray.allIndexed(predicate: (Int, Int, Long) -> Boolean): Boolean { in <lambda>()
30 inline fun SparseLongArray.anyIndexed(predicate: (Int, Int, Long) -> Boolean): Boolean { in anyIndexed()
39 inline fun SparseLongArray.forEachIndexed(action: (Int, Int, Long) -> Unit) { in forEachIndexed()
45 inline fun SparseLongArray.forEachReversedIndexed(action: (Int, Int, Long) -> Unit) { in forEachReversedIndexed()
51 inline fun SparseLongArray.getOrPut(key: Int, defaultValue: () -> Long): Long { in getOrPut()
60 inline val SparseLongArray.lastIndex: Int
64 inline operator fun SparseLongArray.minusAssign(key: Int) { in minusAssign()
68 inline fun SparseLongArray.noneIndexed(predicate: (Int, Int, Long) -> Boolean): Boolean { in noneIndexed()
77 fun SparseLongArray.remove(key: Int) { in SparseLongArray()
81 fun SparseLongArray.remove(key: Int, defaultValue: Long): Long { in SparseLongArray()
[all …]
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DSurfaceProxy.kt31 external fun waitUntilBufferDisplayed(frameNumber: Long, timeoutMs: Int): Int in setSurface()
33 fun drawBuffer(slot: Int, @ColorInt c: Int) { in setSurface()
36 external fun drawBuffer(slot: Int, color: IntArray) in drawBuffer()
41 fun ANativeWindowSetBuffersGeometry(surface: Any, size: Point, format: Int) { in drawBuffer()
44 external fun ANativeWindowSetBuffersGeometry(surface: Any, width: Int, height: Int, format: Int) in ANativeWindowSetBuffersGeometry()
48 external fun ANativeWindowSetBuffersTransform(transform: Int) in ANativeWindowSetBuffersTransform()
54 external fun SurfaceSetScalingMode(scalingMode: Int)
55 external fun SurfaceDequeueBuffer(slot: Int, timeoutMs: Int): Int
56 external fun SurfaceCancelBuffer(slot: Int)
57 external fun SurfaceQueueBuffer(slot: Int, freeSlot: Boolean = true): Int
[all …]
/frameworks/av/media/module/codecs/m4v_h263/enc/include/
Dmp4enc_api.h29 typedef int Int; typedef
123 Int videoEncoderInit;
132 Int height; /* height for Y */
133 Int pitch; /* stride for Y */
148 Int packetSize;
157 Int gobHeaderInterval;
160 Int numLayers;
163 Int timeIncRes;
166 Int tickPerSrc;
169 Int encHeight[2];
[all …]
/frameworks/rs/toolkit/java/
DToolkit.kt80 sizeX: Int, in blend()
81 sizeY: Int, in blend()
178 vectorSize: Int, in blur()
179 sizeX: Int, in blur()
180 sizeY: Int, in blur()
181 radius: Int = 5, in blur()
229 fun blur(inputBitmap: Bitmap, radius: Int = 5, restriction: Range2d? = null): Bitmap { in blur()
339 inputVectorSize: Int, in colorMatrix()
340 sizeX: Int, in colorMatrix()
341 sizeY: Int, in colorMatrix()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemory.kt25 val uid: Int,
38 val smallIcon: Int,
39 val largeIcon: Int,
40 val extras: Int,
42 val style: Int,
43 val styleIcon: Int,
44 val bigPicture: Int,
45 val extender: Int,
64 val smallIcon: Int,
65 val largeIcon: Int,
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/android/hardware/display/
DFakeAmbientDisplayConfiguration.kt8 override fun pulseOnNotificationEnabled(user: Int) = fakePulseOnNotificationEnabled
12 override fun pickupGestureEnabled(user: Int) = TODO("Not yet implemented")
16 override fun tapGestureEnabled(user: Int) = TODO("Not yet implemented")
20 override fun doubleTapGestureEnabled(user: Int) = TODO("Not yet implemented")
24 override fun quickPickupSensorEnabled(user: Int) = TODO("Not yet implemented")
26 override fun screenOffUdfpsEnabled(user: Int) = TODO("Not yet implemented")
30 override fun wakeLockScreenGestureEnabled(user: Int) = TODO("Not yet implemented")
32 override fun wakeDisplayGestureEnabled(user: Int) = TODO("Not yet implemented")
46 override fun pulseOnLongPressEnabled(user: Int) = TODO("Not yet implemented")
48 override fun alwaysOnEnabled(user: Int) = TODO("Not yet implemented")
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DSparseArrayUtils.kt26 fun <T> Sequence<Pair<Int, T>>.toSparseArray(size: Int = -1): SparseArray<T> { in <lambda>()
45 crossinline keySelector: (T) -> Int in associateByToSparseArray()
57 inline fun <T, R> Grouping<T, Int>.foldToSparseArray( in foldToSparseArray()
59 size: Int = -1, in foldToSparseArray()
78 fun <T> SparseArray<T>.asMap(): Map<Int, T> = SparseArrayMapWrapper(this) in asMap()
82 ) : Map<Int, T> { in asMap()
84 private data class Entry<T>(override val key: Int, override val value: T) : Map.Entry<Int, T> in asMap()
95 override val entries: Set<Map.Entry<Int, T>> in asMap()
96 get() = object : Set<Map.Entry<Int, T>> { in asMap()
97 override val size: Int in asMap()
[all …]
DEventLog.kt30 fun writeEvent(tag: Int, value: Int): Int
33 fun writeEvent(tag: Int, value: Long): Int
36 fun writeEvent(tag: Int, value: Float): Int
39 fun writeEvent(tag: Int, value: String): Int
42 fun writeEvent(tag: Int, vararg values: Any): Int
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt160 @Rotation rotation: Int, in <lambda>()
186 fun getStatusBarContentInsetsForRotation(@Rotation rotation: Int): Insets = in <lambda>()
229 fun getStatusBarContentAreaForRotation(@Rotation rotation: Int): Rect { in <lambda>()
249 @Rotation targetRotation: Int, in <lambda>()
261 @Rotation targetRotation: Int, in <lambda>()
277 val minLeft: Int in <lambda>()
278 val minRight: Int in <lambda>()
326 private val marginBottomOverrides = mutableMapOf<Int, Int>() in <lambda>()
328 private fun setBottomMarginOverride(rotation: Int, marginBottomDp: Float) { in <lambda>()
336 private fun getBottomAlignedMargin(targetRotation: Int, resources: Resources): Int { in <lambda>()
[all …]
/frameworks/rs/toolkit/test/
DBufferUtils.kt36 var x: Int = 0,
37 var y: Int = 0,
38 var z: Int = 0,
39 var w: Int = 0
42 operator fun plus(n: Int) = Int4(x + n, y + n, z + n, w + n) in plus()
45 operator fun minus(n: Int) = Int4(x - n, y - n, z - n, w - n) in plus()
48 operator fun times(n: Int) = Int4(x * n, y * n, z * n, w * n) in plus()
102 data class Dimension(val sizeX: Int, val sizeY: Int, val sizeZ: Int)
113 var r: Int = 0,
114 var g: Int = 0,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaScrollView.kt35 constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) :
63 private fun transformScrollX(scrollX: Int): Int = in transformScrollX()
71 var relativeScrollX: Int
77 override fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int) { in onLayout()
86 override fun scrollTo(x: Int, y: Int) { in scrollTo()
88 val oldX: Int = mScrollX in scrollTo()
89 val oldY: Int = mScrollY in scrollTo()
118 deltaX: Int, in overScrollBy()
119 deltaY: Int, in overScrollBy()
120 scrollX: Int, in overScrollBy()
[all …]

12345678910>>...85