Home
last modified time | relevance | path

Searched refs:csum32 (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator_c.c24 int32_t ysum32,csum32, lys, lcs; in WebRtcIsacfix_PCorr2Q32() local
34 csum32 = 0; in WebRtcIsacfix_PCorr2Q32()
38 csum32 += x[n] * in[n] >> scaling; // Q0 in WebRtcIsacfix_PCorr2Q32()
42 if (csum32 > 0) { in WebRtcIsacfix_PCorr2Q32()
43 lcs = WebRtcIsacfix_Log2Q8((uint32_t)csum32); // 2log(csum) in Q8 in WebRtcIsacfix_PCorr2Q32()
82 csum32 = vbuff[0] + vbuff[1]; in WebRtcIsacfix_PCorr2Q32()
83 csum32 += vbuff[2]; in WebRtcIsacfix_PCorr2Q32()
84 csum32 += vbuff[3]; in WebRtcIsacfix_PCorr2Q32()
87 csum32 = 0; in WebRtcIsacfix_PCorr2Q32()
90 csum32 += x[n] * inptr[n]; in WebRtcIsacfix_PCorr2Q32()
[all …]
Dpitch_estimator_mips.c19 int32_t ysum32,csum32, lys, lcs; in WebRtcIsacfix_PCorr2Q32() local
29 csum32 = 0; in WebRtcIsacfix_PCorr2Q32()
81 [ysum32] "+r" (ysum32), [tmp_x] "+r" (tmp_x), [csum32] "+r" (csum32), in WebRtcIsacfix_PCorr2Q32()
89 if (csum32 > 0) { in WebRtcIsacfix_PCorr2Q32()
90 lcs = WebRtcIsacfix_Log2Q8((uint32_t)csum32); // 2log(csum) in Q8 in WebRtcIsacfix_PCorr2Q32()
107 csum32 = 0; in WebRtcIsacfix_PCorr2Q32()
173 [csum32] "+r" (csum32), [tmp_x] "+r" (tmp_x), [ysum32] "+r" (ysum32), in WebRtcIsacfix_PCorr2Q32()
182 if (csum32 > 0) { in WebRtcIsacfix_PCorr2Q32()
183 lcs = WebRtcIsacfix_Log2Q8((uint32_t)csum32); // 2log(csum) in Q8 in WebRtcIsacfix_PCorr2Q32()
/external/e2fsprogs/e2fsck/
Drecovery.c425 __u32 csum32; in jbd2_block_tag_csum_verify() local
432 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify()
433 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
436 return get_be32(&tag3->t_checksum) == csum32; in jbd2_block_tag_csum_verify()
438 return get_be16(&tag->t_checksum) == (csum32 & 0xFFFF); in jbd2_block_tag_csum_verify()
/external/e2fsprogs/debugfs/
Drecovery.c425 __u32 csum32; in jbd2_block_tag_csum_verify() local
432 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify()
433 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
436 return get_be32(&tag3->t_checksum) == csum32; in jbd2_block_tag_csum_verify()
438 return get_be16(&tag->t_checksum) == (csum32 & 0xFFFF); in jbd2_block_tag_csum_verify()
Djournal.c923 __u32 csum32; in jbd2_block_tag_csum_set() local
930 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_set()
931 csum32 = jbd2_chksum(j, csum32, bh->b_data, bh->b_size); in jbd2_block_tag_csum_set()
934 tag3->t_checksum = ext2fs_cpu_to_be32(csum32); in jbd2_block_tag_csum_set()
936 tag->t_checksum = ext2fs_cpu_to_be16(csum32); in jbd2_block_tag_csum_set()