Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 25 of 62) sorted by relevance

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java24 private static final int BLOCK_SIZE = 16; field in GCMBlockCipher
58 if (c.getBlockSize() != BLOCK_SIZE) in GCMBlockCipher()
61 "cipher required with a block size of " + BLOCK_SIZE + "."); in GCMBlockCipher()
122 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); in init()
140 this.H = new byte[BLOCK_SIZE]; in init()
148 this.J0 = new byte[BLOCK_SIZE]; in init()
153 this.J0[BLOCK_SIZE - 1] = 0x01; in init()
158 byte[] X = new byte[BLOCK_SIZE]; in init()
163 this.S = new byte[BLOCK_SIZE]; in init()
164 this.S_at = new byte[BLOCK_SIZE]; in init()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.h40 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
41 void vp9_encode_sby(MACROBLOCK *x, BLOCK_SIZE bsize);
43 void vp9_xform_quant(int plane, int block, BLOCK_SIZE plane_bsize,
46 void vp9_subtract_sby(MACROBLOCK *x, BLOCK_SIZE bsize);
47 void vp9_subtract_sbuv(MACROBLOCK *x, BLOCK_SIZE bsize);
48 void vp9_subtract_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
50 void vp9_encode_intra_block_y(MACROBLOCK *x, BLOCK_SIZE bsize);
51 void vp9_encode_intra_block_uv(MACROBLOCK *x, BLOCK_SIZE bsize);
Dvp9_tokenize.h31 int vp9_sb_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE bsize);
32 int vp9_is_skippable_in_plane(MACROBLOCKD *xd, BLOCK_SIZE bsize,
37 BLOCK_SIZE bsize);
Dvp9_rdopt.h30 int *r, int64_t *d, BLOCK_SIZE bsize,
38 BLOCK_SIZE bsize,
47 BLOCK_SIZE bsize,
Dvp9_block.h191 BLOCK_SIZE b_partitioning[4][4][4];
192 BLOCK_SIZE mb_partitioning[4][4];
193 BLOCK_SIZE sb_partitioning[4];
194 BLOCK_SIZE sb64_partitioning;
202 static PICK_MODE_CONTEXT *get_block_context(MACROBLOCK *x, BLOCK_SIZE bsize) { in get_block_context()
Dvp9_tokenize.c87 static void set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, in set_entropy_context_b()
97 static void tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, in tokenize_b()
171 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in is_skippable()
177 int vp9_sb_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE bsize) { in vp9_sb_is_skippable()
184 int vp9_is_skippable_in_plane(MACROBLOCKD *xd, BLOCK_SIZE bsize, in vp9_is_skippable_in_plane()
193 BLOCK_SIZE bsize) { in vp9_tokenize_sb()
Dvp9_encodemb.c44 static void subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { in subtract_plane()
56 void vp9_subtract_sby(MACROBLOCK *x, BLOCK_SIZE bsize) { in vp9_subtract_sby()
60 void vp9_subtract_sbuv(MACROBLOCK *x, BLOCK_SIZE bsize) { in vp9_subtract_sbuv()
67 void vp9_subtract_sb(MACROBLOCK *x, BLOCK_SIZE bsize) { in vp9_subtract_sb()
116 int plane, int block, BLOCK_SIZE plane_bsize, in optimize_b()
319 void vp9_optimize_b(int plane, int block, BLOCK_SIZE plane_bsize, in vp9_optimize_b()
327 static void optimize_init_b(int plane, BLOCK_SIZE bsize, in optimize_init_b()
331 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in optimize_init_b()
342 void vp9_xform_quant(int plane, int block, BLOCK_SIZE plane_bsize, in vp9_xform_quant()
415 static void encode_block(int plane, int block, BLOCK_SIZE plane_bsize, in encode_block()
[all …]
Dvp9_encodeframe.c53 static INLINE uint8_t *get_sb_index(MACROBLOCK *x, BLOCK_SIZE subsize) { in get_sb_index()
79 int mi_row, int mi_col, BLOCK_SIZE bsize);
110 BLOCK_SIZE bs) { in get_sby_perpixel_variance()
365 BLOCK_SIZE bsize, int output_enabled) { in update_state()
506 int mi_row, int mi_col, BLOCK_SIZE bsize) { in set_offsets()
594 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, in pick_sb_modes()
719 static BLOCK_SIZE *get_sb_partitioning(MACROBLOCK *x, BLOCK_SIZE bsize) { in get_sb_partitioning()
739 BLOCK_SIZE bsize) { in restore_context()
769 BLOCK_SIZE bsize) { in save_context()
800 int output_enabled, BLOCK_SIZE bsize, int sub_index) { in encode_b()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DOpenSSLDigest.java128 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.MD5
129 public MD5() { super("MD5", EVP_MD, SIZE, BLOCK_SIZE); } in MD5()
135 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA1
136 public SHA1() { super("SHA-1", EVP_MD, SIZE, BLOCK_SIZE); } in SHA1()
142 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA256
143 public SHA256() { super("SHA-256", EVP_MD, SIZE, BLOCK_SIZE); } in SHA256()
149 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA384
150 public SHA384() { super("SHA-384", EVP_MD, SIZE, BLOCK_SIZE); } in SHA384()
156 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA512
157 public SHA512() { super("SHA-512", EVP_MD, SIZE, BLOCK_SIZE); } in SHA512()
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.h106 static INLINE int b_width_log2(BLOCK_SIZE sb_type) { in b_width_log2()
109 static INLINE int b_height_log2(BLOCK_SIZE sb_type) { in b_height_log2()
113 static INLINE int mi_width_log2(BLOCK_SIZE sb_type) { in mi_width_log2()
117 static INLINE int mi_height_log2(BLOCK_SIZE sb_type) { in mi_height_log2()
140 BLOCK_SIZE sb_type;
228 static BLOCK_SIZE get_subsize(BLOCK_SIZE bsize, PARTITION_TYPE partition) { in get_subsize()
229 const BLOCK_SIZE subsize = subsize_lookup[partition][bsize]; in get_subsize()
282 static BLOCK_SIZE get_plane_block_size(BLOCK_SIZE bsize, in get_plane_block_size()
284 BLOCK_SIZE bs = ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size()
289 static INLINE int plane_block_width(BLOCK_SIZE bsize, in plane_block_width()
[all …]
Dvp9_common_data.h27 extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES];
31 extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2];
Dvp9_enums.h25 typedef enum BLOCK_SIZE { enum
41 } BLOCK_SIZE; typedef
Dvp9_reconinter.h19 BLOCK_SIZE bsize);
22 BLOCK_SIZE bsize);
25 BLOCK_SIZE bsize);
Dvp9_reconinter.c125 BLOCK_SIZE bsize, int pred_w, int pred_h, in build_inter_predictors()
190 static void build_inter_predictors_for_planes(MACROBLOCKD *xd, BLOCK_SIZE bsize, in build_inter_predictors_for_planes()
213 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sby()
217 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sbuv()
222 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sb()
/external/grub/stage2/
Dfsys_minix.c41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */
72 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
73 #define MINIX2_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix2_inode)))
141 ((struct minix_inode *)((int) SUPERBLOCK + BLOCK_SIZE))
145 ((int)((int)DATABLOCK1 + BLOCK_SIZE))
195 return devread (fsblock * (BLOCK_SIZE / DEV_BSIZE), 0, in minix_rdfsb()
196 BLOCK_SIZE, (char *) buffer); in minix_rdfsb()
258 offset = filepos & (BLOCK_SIZE - 1); in minix_read()
266 size = BLOCK_SIZE; in minix_read()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESedeEngine.java14 protected static final int BLOCK_SIZE = 8; field in DESedeEngine
82 return BLOCK_SIZE; in getBlockSize()
96 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
101 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
106 byte[] temp = new byte[BLOCK_SIZE]; in processBlock()
121 return BLOCK_SIZE; in processBlock()
DBlowfishEngine.java300 private static final int BLOCK_SIZE = 8; // bytes = 64 bits field in BlowfishEngine
360 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
365 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
379 return BLOCK_SIZE; in processBlock()
388 return BLOCK_SIZE; in getBlockSize()
DDESEngine.java15 protected static final int BLOCK_SIZE = 8; field in DESEngine
61 return BLOCK_SIZE; in getBlockSize()
75 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
80 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
87 return BLOCK_SIZE; in processBlock()
DRC2Engine.java56 private static final int BLOCK_SIZE = 8; field in RC2Engine
157 return BLOCK_SIZE; in getBlockSize()
171 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
176 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
190 return BLOCK_SIZE; in processBlock()
DTwofishEngine.java194 private static final int BLOCK_SIZE = 16; // bytes = 128 bits field in TwofishEngine
198 private static final int OUTPUT_WHITEN=INPUT_WHITEN+BLOCK_SIZE/4; // 4
199 private static final int ROUND_SUBKEYS=OUTPUT_WHITEN+BLOCK_SIZE/4;// 8
300 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
305 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
319 return BLOCK_SIZE; in processBlock()
332 return BLOCK_SIZE; in getBlockSize()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DStatFsTest.java24 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStats()
35 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStatsWithFile()
44 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldResetStateBetweenTests()
/external/yaffs2/yaffs2/direct/
Dyaffs_fileem2k.h27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro
39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro
Dyaffs_fileem2k.c70 static char dummyBuffer[BLOCK_SIZE];
85 requiredSize = BLOCKS_PER_HANDLE * BLOCK_SIZE; in GetBlockFileHandle()
88 if(write(h,dummyBuffer,BLOCK_SIZE) != BLOCK_SIZE) in GetBlockFileHandle()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowStatFs.java14 public static final int BLOCK_SIZE = 4096; field in ShadowStatFs
25 return BLOCK_SIZE; in getBlockSize()
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtest_rendering.c36 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT) macro
227 blocks += BLOCK_SIZE; in main()
244 blocks += BLOCK_SIZE; in main()
255 blocks += BLOCK_SIZE; in main()

123