Home
last modified time | relevance | path

Searched refs:blk_size (Results 1 – 19 of 19) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/
Dfsl_ifc_spl.c116 int blk_size; in nand_spl_load_image() local
160 blk_size = pages_per_blk * page_size; in nand_spl_load_image()
224 offs = (offs + blk_size) & ~(blk_size - 1); in nand_spl_load_image()
225 pos &= ~(blk_size - 1); in nand_spl_load_image()
234 } while ((offs & (blk_size - 1)) && (pos < uboot_size)); in nand_spl_load_image()
/third_party/ffmpeg/libavcodec/
Divi_dsp.h150 int blk_size);
189 void ff_ivi_dc_slant_2d(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size);
242 void ff_ivi_dc_row_slant(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size);
247 void ff_ivi_dc_col_slant(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size);
258 void ff_ivi_put_dc_pixel_8x8(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size);
Dindeo5.c61 int result, i, p, tile_size, pic_size_indx, mb_size, blk_size, is_scalable; in decode_gop_header() local
133 blk_size = 8 >> get_bits1(&ctx->gb); in decode_gop_header()
134 mb_size = blk_size << !mb_size; in decode_gop_header()
136 if (p==0 && blk_size==4) { in decode_gop_header()
141 blk_size_changed = mb_size != band->mb_size || blk_size != band->blk_size; in decode_gop_header()
144 band->blk_size = blk_size; in decode_gop_header()
193 if (band->transform_size != band->blk_size) { in decode_gop_header()
194 …LOG_ERROR, "transform and block size mismatch (%d != %d)\n", band->transform_size, band->blk_size); in decode_gop_header()
205 if (band->blk_size == 8) { in decode_gop_header()
236 band2->blk_size = band1->blk_size; in decode_gop_header()
[all …]
Dindeo4.c210 ctx->planes[p].bands[i].blk_size = !p ? 8 : 4; in decode_pic_hdr()
289 int old_blk_size = band->blk_size; in decode_band_hdr()
314 band->blk_size = 8 >> (indx >> 1); in decode_band_hdr()
334 if (transform_id < 10 && band->blk_size < 8) { in decode_band_hdr()
350 if (band->blk_size != band->transform_size) { in decode_band_hdr()
351 …LOG_ERROR, "transform and block size mismatch (%d != %d)\n", band->transform_size, band->blk_size); in decode_band_hdr()
361 if (band->blk_size != 4) { in decode_band_hdr()
365 } else if (band->blk_size != 8) { in decode_band_hdr()
371 band->scan_size = band->blk_size; in decode_band_hdr()
385 if (old_blk_size != band->blk_size) { in decode_band_hdr()
[all …]
Divi.c87 int min_size = band->pitch * (band->blk_size - 1) + band->blk_size; in ivi_mc()
488 int blk_size) in ivi_dc_transform() argument
491 band->pitch, blk_size); in ivi_dc_transform()
511 int blk_size = band->blk_size; in ivi_decode_coded_blocks() local
512 int num_coeffs = blk_size * blk_size; in ivi_decode_coded_blocks()
513 int col_mask = blk_size - 1; in ivi_decode_coded_blocks()
580 if(band->transform_size > band->blk_size){ in ivi_decode_coded_blocks()
610 int mbn, blk, num_blocks, blk_size, ret, is_intra; in ivi_decode_blocks() local
622 blk_size = band->blk_size; in ivi_decode_blocks()
624 num_blocks = (band->mb_size != blk_size) ? 4 : 1; in ivi_decode_blocks()
[all …]
Dsanm.c1143 static int codec2subblock(SANMVideoContext *ctx, int cx, int cy, int blk_size) in codec2subblock() argument
1158 if (good_mvec(ctx, cx, cy, mx, my, blk_size)) { in codec2subblock()
1161 blk_size, ctx->pitch); in codec2subblock()
1172 if (good_mvec(ctx, cx, cy, mx, my, blk_size)) { in codec2subblock()
1175 blk_size, ctx->pitch); in codec2subblock()
1181 blk_size, ctx->pitch); in codec2subblock()
1184 opcode_0xf7(ctx, cx, cy, blk_size, ctx->pitch); in codec2subblock()
1188 opcode_0xf8(ctx, cx, cy, blk_size, ctx->pitch); in codec2subblock()
1195 ctx->small_codebook[opcode - 0xf9], blk_size, ctx->pitch); in codec2subblock()
1201 ctx->codebook[bytestream2_get_byteu(&ctx->gb)], blk_size, ctx->pitch); in codec2subblock()
[all …]
Divi_dsp.c473 int blk_size) in ff_ivi_dc_haar_2d() argument
480 for (y = 0; y < blk_size; out += pitch, y++) { in ff_ivi_dc_haar_2d()
481 for (x = 0; x < blk_size; x++) in ff_ivi_dc_haar_2d()
616 void ff_ivi_dc_slant_2d(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size) in ff_ivi_dc_slant_2d() argument
623 for (y = 0; y < blk_size; out += pitch, y++) { in ff_ivi_dc_slant_2d()
624 for (x = 0; x < blk_size; x++) in ff_ivi_dc_slant_2d()
649 void ff_ivi_dc_row_slant(const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size) in ff_ivi_dc_row_slant() argument
656 for (x = 0; x < blk_size; x++) in ff_ivi_dc_row_slant()
661 for (y = 1; y < blk_size; out += pitch, y++) { in ff_ivi_dc_row_slant()
662 for (x = 0; x < blk_size; x++) in ff_ivi_dc_row_slant()
[all …]
Dmss3.c694 int x, y, i, mb_width, mb_height, blk_size, btype; in mss3_decode_frame() local
764 blk_size = 8 << !i; in mss3_decode_frame()
770 dst[i] + x * blk_size, in mss3_decode_frame()
771 c->pic->linesize[i], blk_size); in mss3_decode_frame()
775 dst[i] + x * blk_size, in mss3_decode_frame()
776 c->pic->linesize[i], blk_size); in mss3_decode_frame()
780 dst[i] + x * blk_size, in mss3_decode_frame()
781 c->pic->linesize[i], blk_size, in mss3_decode_frame()
786 dst[i] + x * blk_size, in mss3_decode_frame()
787 c->pic->linesize[i], blk_size, in mss3_decode_frame()
Divi.h91 typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size);
159 int blk_size; ///< block size member
/third_party/uboot/u-boot-2020.01/disk/
Dpart_mac.c85 mb = ldiv(n, ((1024 * 1024) / ddesc->blk_size)); /* MB */ in part_print_mac()
87 mb.rem *= 10 * ddesc->blk_size; in part_print_mac()
101 ddesc->blk_size, in part_print_mac()
131 bytes /= (1024 / ddesc->blk_size); /* kB; assumes blk_size == 512 */ in part_print_mac()
226 info->blksz = ddesc->blk_size; in part_get_info_mac()
Dpart_mac.h27 __u16 blk_size; /* block size of device */ member
/third_party/pulseaudio/src/tests/
Dlfe-filter-test.c44 size_t blk_size = pa_frame_size(lft->ss) * ONE_BLOCK_SAMPLES; in save_data_block() local
47 memcpy(dst, src, blk_size); in save_data_block()
54 size_t blk_size = pa_frame_size(lft->ss) * ONE_BLOCK_SAMPLES; in generate_data_block() local
56 pa_assert_se(r = pa_memblock_new(lft->pool, blk_size)); in generate_data_block()
58 memcpy(d, s + start, blk_size); in generate_data_block()
/third_party/libcoap/src/
Dblock.c350 uint8_t blk_size; in coap_add_data_large_internal() local
414 blk_size = coap_flsll((long long)avail) - 4 - 1; in coap_add_data_large_internal()
418 if (block.szx < blk_size) in coap_add_data_large_internal()
419 blk_size = block.szx; in coap_add_data_large_internal()
430 chunk = (size_t)1 << (blk_size + 4); in coap_add_data_large_internal()
470 lg_xmit->blk_size = blk_size; in coap_add_data_large_internal()
550 (block.num << 4) | (block.m << 3) | lg_xmit->blk_size), in coap_add_data_large_internal()
578 blk_size = coap_flsll((long long)avail) - 4 - 1; in coap_add_data_large_internal()
579 block.num = block.num << (lg_xmit->blk_size - blk_size); in coap_add_data_large_internal()
580 lg_xmit->blk_size = blk_size; in coap_add_data_large_internal()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/spi/
Dmxc_spi.c360 u32 blk_size; in mxc_spi_xfer_internal() local
372 blk_size = n_bytes; in mxc_spi_xfer_internal()
374 blk_size = MAX_SPI_BYTES; in mxc_spi_xfer_internal()
376 n_bits = blk_size * 8; in mxc_spi_xfer_internal()
383 p_outbuf += blk_size; in mxc_spi_xfer_internal()
385 p_inbuf += blk_size; in mxc_spi_xfer_internal()
386 n_bytes -= blk_size; in mxc_spi_xfer_internal()
/third_party/uboot/u-boot-2020.01/drivers/mmc/
Dhimci.c333 unsigned long blk_size = data_size; in hi_mci_setup_data() local
383 blk_size = ALIGN(blk_size, CONFIG_SYS_CACHELINE_SIZE); in hi_mci_setup_data()
386 flush_cache((uintptr_t)data->src, blk_size); in hi_mci_setup_data()
389 invalidate_dcache_range((uintptr_t)data->dest,(uintptr_t)data->dest + blk_size); in hi_mci_setup_data()
639 unsigned int blk_size; in hi_mci_request() local
660 blk_size = data->blocks * data->blocksize; in hi_mci_request()
662 himci_writel(blk_size, host->base + MCI_BYTCNT); in hi_mci_request()
/third_party/uboot/u-boot-2020.01/drivers/virtio/
Dvirtio_blk.h50 __u32 blk_size; member
/third_party/f2fs-tools/mkfs/
Df2fs_format.c557 u_int32_t blk_size, seg_size; in f2fs_init_sit_area() local
562 blk_size = 1 << get_sb(log_blocksize); in f2fs_init_sit_area()
563 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_sit_area()
572 sit_seg_addr *= blk_size; in f2fs_init_sit_area()
591 u_int32_t blk_size, seg_size; in f2fs_init_nat_area() local
596 blk_size = 1 << get_sb(log_blocksize); in f2fs_init_nat_area()
597 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_nat_area()
606 nat_seg_addr *= blk_size; in f2fs_init_nat_area()
/third_party/libcoap/include/coap3/
Dcoap_block_internal.h79 uint8_t blk_size; /**< large block transmission size */ member
/third_party/f2fs-tools/fsck/
Dmount.c1128 unsigned long blk_size = sbi->blocksize; in get_valid_checkpoint() local
1139 sbi->ckpt = malloc(cp_blks * blk_size); in get_valid_checkpoint()
1176 memcpy(sbi->ckpt, cur_page, blk_size); in get_valid_checkpoint()
1191 memcpy(ckpt + i * blk_size, cur_page, blk_size); in get_valid_checkpoint()