Home
last modified time | relevance | path

Searched refs:uint (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/av/media/libstagefright/codecs/avc/common/include/
Davcint_common.h233 uint cpb_cnt_minus1; /* ue(v), range 0..31 */
234 uint bit_rate_scale; /* u(4) */
235 uint cpb_size_scale; /* u(4) */
238 uint cbr_flag[MAXIMUMVALUEOFcpb_cnt]; /* u(1) */
239 uint initial_cpb_removal_delay_length_minus1; /* u(5), default 23 */
240 uint cpb_removal_delay_length_minus1; /* u(5), default 23 */
241 uint dpb_output_delay_length_minus1; /* u(5), default 23 */
242 uint time_offset_length; /* u(5), default 24 */
252 uint aspect_ratio_info_present_flag; /* u(1) */
253 uint aspect_ratio_idc; /* u(8), table E-1 */
[all …]
Davclib_common.h163 void MemMgrCtrlOp3(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint difference…
164 uint long_term_frame_idx);
173 void MemMgrCtrlOp4(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint max_long_t…
191 void MemMgrCtrlOp6(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint long_term_…
198 …me_for_reference_by_frame_idx(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, uint long_term_frame_idx…
207 …eld_for_reference_by_frame_idx(AVCCommonObj *video, AVCDecPicBuffer *dpb, uint long_term_frame_ind…
213 void unmark_for_reference(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, uint idx);
235 …teType0MapUnitMap(int *mapUnitToSliceGroupMap, uint *run_length_minus1, uint num_slice_groups_minu…
246 …MapUnitMap(int *mapUnitToSliceGroupMap, int PicWidthInMbs, uint num_slice_groups_minus1, uint PicS…
259 uint num_slice_groups_minus1, uint PicSizeInMapUnits);
[all …]
Davcapi_common.h167 uint is_reference;
193 typedef int (*FunctionType_DPBAlloc)(void *userData, uint frame_size_in_mbs, uint num_buffers);
/frameworks/compile/slang/tests/P_reduce_general_input/
Dreduce_general_input.rs24 static void my_half_2_accum(int *accum, half in, uint x) { }
27 static void my_half_3_accum(int *accum, half in, rs_kernel_context context, uint x) { }
30 static void my_half_4_accum(int *accum, half in, uint y) { }
33 static void my_half_5_accum(int *accum, half in, rs_kernel_context context, uint y) { }
36 static void my_half_6_accum(int *accum, half in, uint x, uint y) { }
39 static void my_half_7_accum(int *accum, half in, rs_kernel_context context, uint x, uint y) { }
42 static void my_half_8_accum(int *accum, half in, uint z) { }
45 static void my_half_9_accum(int *accum, half in, rs_kernel_context context, uint z) { }
48 static void my_half_10_accum(int *accum, half in, uint x, uint z) { }
51 static void my_half_11_accum(int *accum, half in, rs_kernel_context context, uint x, uint z) { }
[all …]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Dfmo.cpp32 memset(video->MbToSliceGroupMap, 0, video->PicSizeInMapUnits*sizeof(uint)); in FMOInit()
68 …teType0MapUnitMap(int *mapUnitToSliceGroupMap, uint *run_length_minus1, uint num_slice_groups_minu… in FmoGenerateType0MapUnitMap()
70 uint iGroup, j; in FmoGenerateType0MapUnitMap()
71 uint i = 0; in FmoGenerateType0MapUnitMap()
86 …MapUnitMap(int *mapUnitToSliceGroupMap, int PicWidthInMbs, uint num_slice_groups_minus1, uint PicS… in FmoGenerateType1MapUnitMap()
88 uint i; in FmoGenerateType1MapUnitMap()
98 uint num_slice_groups_minus1, uint PicSizeInMapUnits) in FmoGenerateType2MapUnitMap()
101 uint i, x, y; in FmoGenerateType2MapUnitMap()
102 uint yTopLeft, xTopLeft, yBottomRight, xBottomRight; in FmoGenerateType2MapUnitMap()
131 uint i, k; in FmoGenerateType3MapUnitMap()
[all …]
Ddeblock.cpp77 uint i, j; in DeblockPicture()
1214 if ((uint)tmp > (uint)c0 << 1) in EdgeLoop_Luma_horizontal()
1225 if ((uint)R0 > 255) in EdgeLoop_Luma_horizontal()
1230 if ((uint)L0 > 255) in EdgeLoop_Luma_horizontal()
1244 if ((uint)tmp > (uint)C0 << 1) in EdgeLoop_Luma_horizontal()
1256 if ((uint)tmp > (uint)C0 << 1) in EdgeLoop_Luma_horizontal()
1282 uint R_in, L_in; in EdgeLoop_Luma_vertical()
1283 uint R_out, L_out; in EdgeLoop_Luma_vertical()
1293 R_in = *((uint *)SrcPtr); // R_in = {R3, R2, R1, R0} in EdgeLoop_Luma_vertical()
1294 L_in = *((uint *)(SrcPtr - 4)); // L_in = {L0, L1, L2, L3} in EdgeLoop_Luma_vertical()
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Davcenc_int.h137 uint current_word; /* byte-swapped (MSB left) current word to write to buffer */
220 uint scdEnable; /* enable scene change detection */
223 uint dpEnable; /* enable data partitioning */
226 uint subPelEnable; /* enable quarter pel search */
228 uint subMBEnable; /* enable sub MB prediction mode (4x4, 4x8, 8x4) */
229 uint rdOptEnable; /* enable RD-opt mode selection */
230 uint twoPass; /* flag for 2 pass encoding ( for future )*/
231 uint bidirPred; /* bi-directional prediction for B-frame. */
233 uint rcEnable; /* enable rate control, '1' on, '0' const QP */
249 uint first_frame; /* a flag for the first frame */
[all …]
Davcenc_api.h104 uint log2_max_poc_lsb_minus_4; /* specify maximum value of POC Lsb, range 0..12*/
106 uint delta_poc_zero_flag; /* delta POC always zero */
109 uint num_ref_in_cycle; /* number of reference frame in one cycle */
117uint run_length_minus1[MAX_NUM_SLICE_GROUP]; /* array of size num_slice_group, in round robin fa…
119 uint top_left[MAX_NUM_SLICE_GROUP-1]; /* array of co-ordinates of each slice_group */
120uint bottom_right[MAX_NUM_SLICE_GROUP-1]; /* except the last one which is the background. */
123 uint change_rate_minus1;
125 uint *slice_group; /* array of size MBWidth*MBHeight */
248 …OSCL_IMPORT_REF AVCEnc_Status PVAVCEncodeNAL(AVCHandle *avcHandle, uint8 *buffer, uint *buf_nal_si…
Dresidual.cpp33 uint code; in EncodeIntraPCM()
54 code = *((uint*)pSrc); in EncodeIntraPCM()
56 *((uint*)pDst) = code; in EncodeIntraPCM()
63 code = *((uint*)pSrc); in EncodeIntraPCM()
65 *((uint*)pDst) = code; in EncodeIntraPCM()
87 code = *((uint*)pSrc); in EncodeIntraPCM()
89 *((uint*)pDst) = code; in EncodeIntraPCM()
96 code = *((uint*)pSrc); in EncodeIntraPCM()
98 *((uint*)pDst) = code; in EncodeIntraPCM()
120 code = *((uint*)pSrc); in EncodeIntraPCM()
[all …]
Dvlc_encode.cpp22 AVCEnc_Status ue_v(AVCEncBitstream *bitstream, uint codeNum) in ue_v()
34 uint codeNum; in se_v()
51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) in te_v()
70 AVCEnc_Status SetEGBitstring(AVCEncBitstream *bitstream, uint codeNum) in SetEGBitstring()
84 while ((uint)(1 << leadingZeros) < codeNum + 2) in SetEGBitstring()
109 uint codeNum; in EncodeCBP()
151 uint code, len; in ce_TotalCoeffTrailingOnes()
205 uint code, len; in ce_TotalCoeffTrailingOnesChromaDC()
Dblock.cpp25 int curpitch = (uint)pitch >> 16; in trans()
228 if ((uint)r0 > 0xFF) r0 = 0xFF & (~(r0 >> 31)); /* clip */ in dct_luma()
230 if ((uint)r1 > 0xFF) r1 = 0xFF & (~(r1 >> 31)); /* clip */ in dct_luma()
232 if ((uint)r2 > 0xFF) r2 = 0xFF & (~(r2 >> 31)); /* clip */ in dct_luma()
234 if ((uint)r3 > 0xFF) r3 = 0xFF & (~(r3 >> 31)); /* clip */ in dct_luma()
312 if ((uint)r0 > 0xFF) r0 = 0xFF & (~(r0 >> 31)); /* clip */ in MBInterIdct()
315 if ((uint)r1 > 0xFF) r1 = 0xFF & (~(r1 >> 31)); /* clip */ in MBInterIdct()
318 if ((uint)r2 > 0xFF) r2 = 0xFF & (~(r2 >> 31)); /* clip */ in MBInterIdct()
321 if ((uint)r3 > 0xFF) r3 = 0xFF & (~(r3 >> 31)); /* clip */ in MBInterIdct()
664 if ((uint)r0 > 0xFF) r0 = 0xFF & (~(r0 >> 31)); /* clip */ in dct_luma_16x16()
[all …]
Davcenc_lib.h254 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code);
263 AVCEnc_Status BitstreamWrite1Bit(AVCEncBitstream *stream, uint code);
271 AVCEnc_Status BitstreamTrailingBits(AVCEncBitstream *bitstream, uint *nal_size);
677 …CDetermineFrameNum(AVCEncObject *encvid, AVCRateControl *rateCtrl, uint32 modTime, uint *frameNum);
875 uint InterpretMBType(AVCMacroblock *currMB, int slice_type);
903 void InterpretSubMBTypeP(AVCMacroblock *mblock, uint *sub_mb_type);
913 void InterpretSubMBTypeB(AVCMacroblock *mblock, uint *sub_mb_type);
932 AVCEnc_Status ue_v(AVCEncBitstream *bitstream, uint codeNum);
949 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range);
957 AVCEnc_Status SetEGBitstring(AVCEncBitstream *bitstream, uint codeNum);
Dbitstream_io.cpp86 uint current_word; in AVCBitstreamSaveWord()
145 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code) in BitstreamWriteBits()
149 uint current_word = stream->current_word; in BitstreamWriteBits()
197 AVCEnc_Status BitstreamWrite1Bit(AVCEncBitstream *stream, uint code) in BitstreamWrite1Bit()
200 uint current_word = stream->current_word; in BitstreamWrite1Bit()
227 AVCEnc_Status BitstreamTrailingBits(AVCEncBitstream *bitstream, uint *nal_size) in BitstreamTrailingBits()
Dslice.cpp29 uint slice_group_id; in AVCEncodeSlice()
98 while ((uint)video->MbToSliceGroupMap[CurrMbAddr] != slice_group_id && in AVCEncodeSlice()
99 (uint)CurrMbAddr < video->PicSizeInMbs) in AVCEncodeSlice()
104 if ((uint)CurrMbAddr >= video->PicSizeInMbs) in AVCEncodeSlice()
119 (uint)CurrMbAddr < video->PicSizeInMbs) in AVCEncodeSlice()
123 if ((uint)CurrMbAddr >= video->PicSizeInMbs) in AVCEncodeSlice()
553 uint mb_type; in EncodeMBHeader()
602 uint InterpretMBType(AVCMacroblock *currMB, int slice_type) in InterpretMBType()
680 return (uint)mb_type; in InterpretMBType()
692 uint code; in mb_pred()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dbitstream.h42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits);
43 uint BitstreamRead1Bits(BitstreamDecVideo *stream);
45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code);
46 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code);
47 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code);
48 uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits);
49 uint BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream);
51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16()
69 __inline PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits()
83 __inline PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits()
[all …]
Dvlc_decode.cpp132 PV_STATUS PV_GetMBvectors(VideoDecData *video, uint mode) in PV_GetMBvectors()
455 uint code; in PV_VlcDecMV()
505 uint code; in PV_VlcDecMCBPC_com_intra()
538 uint code; in PV_VlcDecMCBPC_com_inter()
559 uint code; in PV_VlcDecMCBPC_com_inter_H263()
593 uint code; in PV_VlcDecCBPY()
628 PV_STATUS PV_VlcDecIntraDCPredSize(BitstreamDecVideo *stream, int compnum, uint *DC_size) in PV_VlcDecIntraDCPredSize()
631 uint code; in PV_VlcDecIntraDCPredSize()
841 uint code; in VlcDecTCOEFIntra()
873 pTcoef->run = (uint) tab->run; //(tab->val >> 8) & 255; in VlcDecTCOEFIntra()
[all …]
Dmp4lib_int.h66 uint timeInc; /* VOP time increment (relative to last mtb) */
85 uint timeIncrementResolution;/* VOL time increment */
87 uint timeInc_offset; /* timeInc offset for multiple VOP in a packet */
103 uint bitsPerPixel;
108 uint quantType; /* MPEG-4 or H.263 Quantization Type */
160 uint last;
161 uint run;
163 uint sign;
234 uint mbnum_row;
Dbitstream.cpp215 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) in BitstreamShowBits16()
238 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow15Bits()
257 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) in BitstreamShow13Bits()
270 uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) in BitstreamReadBits16_INLINE()
272 uint code; in BitstreamReadBits16_INLINE()
286 uint BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) in BitstreamRead1Bits_INLINE()
289 uint code; in BitstreamRead1Bits_INLINE()
311 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits) in BitstreamReadBits16()
313 uint code; in BitstreamReadBits16()
333 uint BitstreamRead1Bits(BitstreamDecVideo *stream) in BitstreamRead1Bits()
[all …]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dgrain.rs50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1);
51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1);
52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
53 uint p10 = 114 * rsGetElementAt_uchar(gBlendSource, x1, y);
54 uint p11 = 230 * rsGetElementAt_uchar(gBlendSource, x, y);
55 uint p12 = 114 * rsGetElementAt_uchar(gBlendSource, x2, y);
56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2);
57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2);
58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
71 p20 = min(p20 >> 10, (uint)255);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dgrain.rs50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1);
51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1);
52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
53 uint p10 = 114 * rsGetElementAt_uchar(gBlendSource, x1, y);
54 uint p11 = 230 * rsGetElementAt_uchar(gBlendSource, x, y);
55 uint p12 = 114 * rsGetElementAt_uchar(gBlendSource, x2, y);
56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2);
57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2);
58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
71 p20 = min(p20 >> 10, (uint)255);
Dhistogram.rs29 void RS_KERNEL pass1(uint x) {
48 int RS_KERNEL pass2(uint x) {
78 uchar4 RS_KERNEL draw(uint x, uint y) {
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dgrain.rs50 uint p00 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y1);
51 uint p01 = 114 * rsGetElementAt_uchar(gBlendSource, x, y1);
52 uint p02 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y1);
53 uint p10 = 114 * rsGetElementAt_uchar(gBlendSource, x1, y);
54 uint p11 = 230 * rsGetElementAt_uchar(gBlendSource, x, y);
55 uint p12 = 114 * rsGetElementAt_uchar(gBlendSource, x2, y);
56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2);
57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2);
58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
71 p20 = min(p20 >> 10, (uint)255);
Dhistogram.rs29 void RS_KERNEL pass1(int in, uint x, uint y) {
48 int RS_KERNEL pass2(uint x) {
78 uchar4 RS_KERNEL draw(uint x, uint y) {
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dbricked.rs29 uint __attribute__((kernel)) pack_chunk(uint32_t x) {
45 uint out = 0;
59 uint v = (op > 0) ? 1 : 0;
66 uint __attribute__((kernel)) dilate(uint in, uint32_t x) {
78 uint slice;
79 uint out = in;
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicInlines.h21 typedef uint32_t uint; typedef
32 typedef uint uint2 __attribute__((ext_vector_type(2)));
33 typedef uint uint3 __attribute__((ext_vector_type(3)));
34 typedef uint uint4 __attribute__((ext_vector_type(4)));
72 CVT_FUNC_2(type, uint) \
81 CVT_FUNC(uint) in CVT_FUNC()

123456