Home
last modified time | relevance | path

Searched refs:ofst (Results 1 – 14 of 14) sorted by relevance

/external/libhevc/decoder/
Dihevcd_nal.c98 WORD32 ofst; in ihevcd_nal_search_start_code() local
103 ofst = -1; in ihevcd_nal_search_start_code()
107 while(ofst < (bytes_remaining - 1)) in ihevcd_nal_search_start_code()
109 ofst++; in ihevcd_nal_search_start_code()
110 if(pu1_buf[ofst] != 0) in ihevcd_nal_search_start_code()
117 if((ofst < (bytes_remaining - 1)) && in ihevcd_nal_search_start_code()
118 (pu1_buf[ofst + 1] == START_CODE_PREFIX_BYTE) && in ihevcd_nal_search_start_code()
122 ofst++; in ihevcd_nal_search_start_code()
127 if((0 == start_code_found) && (ofst < bytes_remaining)) in ihevcd_nal_search_start_code()
129 if((START_CODE_PREFIX_BYTE == pu1_buf[ofst]) && in ihevcd_nal_search_start_code()
[all …]
Dihevcd_parse_headers.c212 WORD32 ofst; in ihevcd_parse_pred_wt_ofst() local
219ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom… in ihevcd_parse_pred_wt_ofst()
220 ofst = value - ofst + shift; in ihevcd_parse_pred_wt_ofst()
222 ps_wt_ofst->i2_chroma_offset_l0_cb[i] = CLIP_S8(ofst); in ihevcd_parse_pred_wt_ofst()
229ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cr[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom… in ihevcd_parse_pred_wt_ofst()
230 ofst = value - ofst + shift; in ihevcd_parse_pred_wt_ofst()
232 ps_wt_ofst->i2_chroma_offset_l0_cr[i] = CLIP_S8(ofst); in ihevcd_parse_pred_wt_ofst()
289 WORD32 ofst; in ihevcd_parse_pred_wt_ofst() local
296ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l1_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom… in ihevcd_parse_pred_wt_ofst()
297 ofst = value - ofst + shift; in ihevcd_parse_pred_wt_ofst()
[all …]
/external/libavc/common/
Dih264_weighted_pred.c205 WORD32 ofst, in ih264_weighted_pred_luma() argument
212 ofst = (WORD8)(ofst & 0xff); in ih264_weighted_pred_luma()
219 WORD32 i_ofst = (1 << (log_wd - 1)) + (ofst << log_wd); in ih264_weighted_pred_luma()
234 *pu1_dst = CLIP_U8(wt * (*pu1_src) + ofst); in ih264_weighted_pred_luma()
279 WORD32 ofst, in ih264_weighted_pred_chroma() argument
290 ofst_u = (WORD8)(ofst & 0xff); in ih264_weighted_pred_chroma()
291 ofst_v = (WORD8)(ofst >> 8); in ih264_weighted_pred_chroma()
381 WORD32 shft, ofst; in ih264_weighted_bi_pred_luma() local
387 ofst = (ofst1 + ofst2 + 1) >> 1; in ih264_weighted_bi_pred_luma()
390 ofst = (1 << log_wd) + (ofst << shft); in ih264_weighted_bi_pred_luma()
[all …]
Dih264_weighted_pred.h86 WORD32 ofst,
/external/libmpeg2/common/
Dideint_utils.c312 WORD32 ofst = i * (BLK_WD + 4) + 2; in ideint_pad_blk() local
313 pu1_pad[ofst - 1] = pu1_pad[ofst]; in ideint_pad_blk()
314 pu1_pad[ofst - 2] = pu1_pad[ofst]; in ideint_pad_blk()
323 WORD32 ofst = i * (BLK_WD + 4) + 2 + blk_wd - 1; in ideint_pad_blk() local
328 memset(&pu1_pad[ofst + 1], pu1_pad[ofst], size); in ideint_pad_blk()
/external/libavc/common/x86/
Dih264_weighted_pred_sse42.c384 WORD32 ofst, in ih264_weighted_pred_luma_sse42() argument
396 ofst = (WORD8)(ofst & 0xff); in ih264_weighted_pred_luma_sse42()
400 ofst_8x16b = _mm_set1_epi16(ofst); in ih264_weighted_pred_luma_sse42()
614 WORD32 ofst, in ih264_weighted_pred_chroma_sse42() argument
625 ofst_u = (WORD8)(ofst & 0xff); in ih264_weighted_pred_chroma_sse42()
626 ofst_v = (WORD8)(ofst >> 8); in ih264_weighted_pred_chroma_sse42()
628 ofst = (ofst_u & 0xffff) | (ofst_v << 16); in ih264_weighted_pred_chroma_sse42()
632 ofst_8x16b = _mm_set1_epi32(ofst); in ih264_weighted_pred_chroma_sse42()
837 WORD32 ofst; in ih264_weighted_bi_pred_luma_sse42() local
846 ofst = (ofst1 + ofst2 + 1) >> 1; in ih264_weighted_bi_pred_luma_sse42()
[all …]
/external/libavc/common/arm/
Dih264_weighted_pred_a9q.s71 @* @param[in] ofst
94 @ WORD32 ofst,
105 @ [sp+8] => ofst (r6)
119 ldr r6, [sp, #36] @Load ofst
126 vdup.8 d3, r6 @D3 = ofst (8-bit)
301 @* @param[in] ofst
324 @ WORD32 ofst,
335 @ [sp+8] => ofst (r6)
349 ldr r6, [sp, #36] @Load ofst = {ofst_u (8-bit), ofst_v (8-bit)}
Dih264_weighted_bi_pred_a9q.s160 asr r9, r9, #1 @r9 = ofst = (ofst1 + ofst2 + 1) >> 1
161 vdup.8 d3, r9 @D3 = ofst (8-bit)
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp156 unsigned ofst; in CC_Hexagon_VarArg() local
160 ofst = State.AllocateStack(ArgFlags.getByValSize(), in CC_Hexagon_VarArg()
162 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
176 ofst = State.AllocateStack(4, 4); in CC_Hexagon_VarArg()
177 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
181 ofst = State.AllocateStack(8, 8); in CC_Hexagon_VarArg()
182 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
187 ofst = State.AllocateStack(16, 16); in CC_Hexagon_VarArg()
188 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
193 ofst = State.AllocateStack(32, 32); in CC_Hexagon_VarArg()
[all …]
/external/libavc/decoder/
Dih264d_inter_pred.c1289 WORD32 ofst = (WORD8)(u4_wt_ofst_y >> 16); in ih264d_motion_compensate_mp() local
1296 weight, ofst, u4_ht_y, in ih264d_motion_compensate_mp()
1303 ofst = ((u4_wt_ofst_v >> 16) << 8) in ih264d_motion_compensate_mp()
1310 (u2_log2Y_crwd >> 8), weight, ofst, in ih264d_motion_compensate_mp()
/external/sqlite/dist/
Dshell.c11082 static const struct { const char *zName; int ofst; } aField[] = { in shell_dbinfo_command() member
11135 int ofst = aField[i].ofst; in shell_dbinfo_command() local
11136 unsigned int val = get4byteInt(aHdr + ofst); in shell_dbinfo_command()
11138 switch( ofst ){ in shell_dbinfo_command()
Dsqlite3.c34903 int ofst, /* First byte of the locking range */
34925 f.l_start = ofst;
34936 mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
34939 OSTRACE(("unlock %d ok", ofst));
34943 OSTRACE(("read-lock %d ok", ofst));
34948 OSTRACE(("write-lock %d ok", ofst));
34954 OSTRACE(("unlock %d failed", ofst));
34959 OSTRACE(("write-lock %d failed", ofst));
35395 int ofst, /* First lock to acquire or release */
35408 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
[all …]
/external/sqlite/dist/orig/
Dshell.c11059 static const struct { const char *zName; int ofst; } aField[] = { in shell_dbinfo_command() member
11112 int ofst = aField[i].ofst; in shell_dbinfo_command() local
11113 unsigned int val = get4byteInt(aHdr + ofst); in shell_dbinfo_command()
11115 switch( ofst ){ in shell_dbinfo_command()
Dsqlite3.c34903 int ofst, /* First byte of the locking range */
34925 f.l_start = ofst;
34936 mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
34939 OSTRACE(("unlock %d ok", ofst));
34943 OSTRACE(("read-lock %d ok", ofst));
34948 OSTRACE(("write-lock %d ok", ofst));
34954 OSTRACE(("unlock %d failed", ofst));
34959 OSTRACE(("write-lock %d failed", ofst));
35395 int ofst, /* First lock to acquire or release */
35408 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
[all …]