Home
last modified time | relevance | path

Searched refs:sbox (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c193 const struct pipe_box *sbox = &info->src.box; in emit_blit_buffer() local
204 debug_assert((sbox->y == 0) && (sbox->height == 1)); in emit_blit_buffer()
206 debug_assert((sbox->z == 0) && (sbox->depth == 1)); in emit_blit_buffer()
208 debug_assert(sbox->width == dbox->width); in emit_blit_buffer()
230 sshift = sbox->x & 0x3f; in emit_blit_buffer()
233 for (unsigned off = 0; off < sbox->width; off += (0x4000 - 0x40)) { in emit_blit_buffer()
236 soff = (sbox->x + off) & ~0x3f; in emit_blit_buffer()
239 w = MIN2(sbox->width - off, (0x4000 - 0x40)); in emit_blit_buffer()
308 const struct pipe_box *sbox = &info->src.box; in emit_blit() local
347 sx1 = sbox->x; in emit_blit()
[all …]
/third_party/ffmpeg/libavutil/
Daes.c40 static uint8_t sbox[256]; variable
118 static inline void aes_crypt(AVAES *a, int s, const uint8_t *sbox, in aes_crypt() argument
128 subshift(&a->state[0], s, sbox); in aes_crypt()
138 aes_crypt(a, 2, sbox, enc_multbl); in aes_encrypt()
171 const uint8_t *sbox) in init_multbl2() argument
176 int x = sbox[i]; in init_multbl2()
220 sbox[i] = j; in av_aes_init()
225 log8, alog8, sbox); in av_aes_init()
238 tk[0][i] ^= sbox[tk[KC - 1][(i + 1) & 3]]; in av_aes_init()
247 tk[j][i] ^= sbox[tk[j - 1][i]]; in av_aes_init()
[all …]
/third_party/openssl/crypto/des/asm/
Ddes_enc.m4108 ! The macro also loads address sbox 1 to 5 to global 1 to 5, address
109 ! sbox 6 to local6, and address sbox 8 to out3.
111 ! Rotates the halves 3 left to bring the sbox bits in convenient positions.
155 nop !sethi %hi(DES_SPtrans), global1 ! sbox addr
159 nop !or global1, %lo(DES_SPtrans), global1 ! sbox addr
207 add global1, 1280, local6 ! address sbox 8
210 add global1, 1792, out3 ! address sbox 8
244 ! except that calculations for sbox 1 and sbox 5 begin before
259 ! The bits for each sbox are xor-ed with the key bits for that box.
261 ! the sbox table. Each sbox entry contains the 4 output bits permuted
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blitter.c304 const struct pipe_box *sbox = &info->src.box; in emit_blit_buffer() local
320 debug_assert((sbox->y == 0) && (sbox->height == 1)); in emit_blit_buffer()
322 debug_assert((sbox->z == 0) && (sbox->depth == 1)); in emit_blit_buffer()
324 debug_assert(sbox->width == dbox->width); in emit_blit_buffer()
346 sshift = sbox->x & 0x3f; in emit_blit_buffer()
351 for (unsigned off = 0; off < sbox->width; off += (0x4000 - 0x40)) { in emit_blit_buffer()
354 soff = (sbox->x + off) & ~0x3f; in emit_blit_buffer()
357 w = MIN2(sbox->width - off, (0x4000 - 0x40)); in emit_blit_buffer()
630 const struct pipe_box *sbox = &info->src.box; in emit_blit_texture() local
645 sx1 = sbox->x * nr_samples; in emit_blit_texture()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c685 struct pipe_box sbox, dstbox; in r600_resource_copy_region() local
737 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in r600_resource_copy_region()
738 sbox.y = util_format_get_nblocksy(src->format, src_box->y); in r600_resource_copy_region()
739 sbox.z = src_box->z; in r600_resource_copy_region()
740 sbox.width = util_format_get_nblocksx(src->format, src_box->width); in r600_resource_copy_region()
741 sbox.height = util_format_get_nblocksy(src->format, src_box->height); in r600_resource_copy_region()
742 sbox.depth = src_box->depth; in r600_resource_copy_region()
743 src_box = &sbox; in r600_resource_copy_region()
758 sbox = *src_box; in r600_resource_copy_region()
759 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in r600_resource_copy_region()
[all …]
Dr600_texture.c158 struct pipe_box sbox; in r600_copy_from_staging_texture() local
160 u_box_3d(0, 0, 0, transfer->box.width, transfer->box.height, transfer->box.depth, &sbox); in r600_copy_from_staging_texture()
165 src, 0, &sbox); in r600_copy_from_staging_texture()
171 src, 0, &sbox); in r600_copy_from_staging_texture()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c914 struct pipe_box sbox, dstbox; in si_resource_copy_region() local
971 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in si_resource_copy_region()
972 sbox.y = util_format_get_nblocksy(src->format, src_box->y); in si_resource_copy_region()
973 sbox.z = src_box->z; in si_resource_copy_region()
974 sbox.width = util_format_get_nblocksx(src->format, src_box->width); in si_resource_copy_region()
975 sbox.height = util_format_get_nblocksy(src->format, src_box->height); in si_resource_copy_region()
976 sbox.depth = src_box->depth; in si_resource_copy_region()
977 src_box = &sbox; in si_resource_copy_region()
991 sbox = *src_box; in si_resource_copy_region()
992 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in si_resource_copy_region()
[all …]
Dsi_texture.c102 struct pipe_box sbox; in si_copy_from_staging_texture() local
104 u_box_3d(0, 0, 0, transfer->box.width, transfer->box.height, transfer->box.depth, &sbox); in si_copy_from_staging_texture()
108 transfer->box.z, src, 0, &sbox); in si_copy_from_staging_texture()
113 sbox.width = util_format_get_nblocksx(dst->format, sbox.width); in si_copy_from_staging_texture()
114 sbox.height = util_format_get_nblocksx(dst->format, sbox.height); in si_copy_from_staging_texture()
118 transfer->box.z, src, 0, &sbox); in si_copy_from_staging_texture()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c879 struct pipe_box sbox; in i915_texture_transfer_unmap() local
881 u_box_origin_2d(itransfer->b.box.width, itransfer->b.box.height, &sbox); in i915_texture_transfer_unmap()
885 itransfer->staging_texture, 0, &sbox); in i915_texture_transfer_unmap()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2208 struct pipe_box box, sbox; in handle_copy_buffer_to_image() local
2216 sbox.x = copycmd->pRegions[i].bufferOffset; in handle_copy_buffer_to_image()
2217 sbox.y = 0; in handle_copy_buffer_to_image()
2218 sbox.z = 0; in handle_copy_buffer_to_image()
2219 sbox.width = lvp_buffer_from_handle(copycmd->srcBuffer)->bo->width0; in handle_copy_buffer_to_image()
2220 sbox.height = 1; in handle_copy_buffer_to_image()
2221 sbox.depth = 1; in handle_copy_buffer_to_image()
2226 &sbox, in handle_copy_buffer_to_image()