Home
last modified time | relevance | path

Searched refs:block_offset (Results 1 – 25 of 37) sorted by relevance

12

/third_party/ffmpeg/libavutil/
Daes_ctr.c33 int block_offset; member
45 a->block_offset = 0; in av_aes_ctr_set_iv()
51 a->block_offset = 0; in av_aes_ctr_set_full_iv()
79 a->block_offset = 0; in av_aes_ctr_init()
108 a->block_offset = 0; in av_aes_ctr_increment_iv()
118 if (a->block_offset == 0) { in av_aes_ctr_crypt()
124 encrypted_counter_pos = a->encrypted_counter + a->block_offset; in av_aes_ctr_crypt()
125 cur_end_pos = src + AES_BLOCK_SIZE - a->block_offset; in av_aes_ctr_crypt()
128 a->block_offset += cur_end_pos - src; in av_aes_ctr_crypt()
129 a->block_offset &= (AES_BLOCK_SIZE - 1); in av_aes_ctr_crypt()
/third_party/ffmpeg/libavcodec/
Drpzaenc.c556 int block_offset = 0; in rpza_encode_stream() local
588 block_offset = get_block_info(&bi, block_counter + n_blocks); in rpza_encode_stream()
597 if (prev_block_offset && block_offset - prev_block_offset > 12) { in rpza_encode_stream()
601 prev_block_offset = block_offset; in rpza_encode_stream()
603 if (compare_blocks(&prev_pixels[block_offset], in rpza_encode_stream()
604 &src_pixels[block_offset], &bi, s->skip_frame_thresh) != 0) { in rpza_encode_stream()
640 block_offset = get_block_info(&bi, block_counter); in rpza_encode_stream()
645 if (update_block_stats(s, &bi, &src_pixels[block_offset], in rpza_encode_stream()
648 prev_block_offset = block_offset; in rpza_encode_stream()
653 update_block_in_prev_frame(&src_pixels[block_offset], in rpza_encode_stream()
[all …]
Dh264_mb_template.c50 const int *block_offset = &h->block_offset[0]; in FUNC() local
68 block_offset = &h->block_offset[48]; in FUNC()
165 block_offset, linesize, dest_y, 0); in FUNC()
191 PIXEL_SHIFT, block_offset, linesize, dest_y, 0); in FUNC()
201 block_offset + 16, in FUNC()
205 block_offset + 32, in FUNC()
214 idct_add(dest[j - 1] + block_offset[i], in FUNC()
221 idct_add(dest[j - 1] + block_offset[i + 4], in FUNC()
242 h->h264dsp.h264_idct_add8(dest, block_offset, in FUNC()
265 const int *block_offset = &h->block_offset[0]; in FUNC() local
[all …]
Dh264idct_template.c174 void FUNCC(ff_h264_idct_add16)(uint8_t *dst, const int *block_offset, int16_t *block, int stride, c… in FUNCC()
179 …if(nnz==1 && ((dctcoef*)block)[i*16]) FUNCC(ff_h264_idct_dc_add)(dst + block_offset[i], block + i*… in FUNCC()
180 …else FUNCC(ff_h264_idct_add )(dst + block_offset[i], block + i*… in FUNCC()
185 void FUNCC(ff_h264_idct_add16intra)(uint8_t *dst, const int *block_offset, int16_t *block, int stri… in FUNCC()
188 …if(nnzc[ scan8[i] ]) FUNCC(ff_h264_idct_add )(dst + block_offset[i], block + i*16*si… in FUNCC()
189 …else if(((dctcoef*)block)[i*16]) FUNCC(ff_h264_idct_dc_add)(dst + block_offset[i], block + i*16*si… in FUNCC()
193 void FUNCC(ff_h264_idct8_add4)(uint8_t *dst, const int *block_offset, int16_t *block, int stride, c… in FUNCC()
198 …if(nnz==1 && ((dctcoef*)block)[i*16]) FUNCC(ff_h264_idct8_dc_add)(dst + block_offset[i], block + i… in FUNCC()
199 …else FUNCC(ff_h264_idct8_add )(dst + block_offset[i], block + i… in FUNCC()
204 void FUNCC(ff_h264_idct_add8)(uint8_t **dest, const int *block_offset, int16_t *block, int stride, … in FUNCC()
[all …]
Dvp56.c341 uint8_t *dst = s->frames[VP56_FRAME_CURRENT]->data[plane] + s->block_offset[b]; in vp56_mc()
368 src + s->block_offset[b] + (dy-2)*stride + (dx-2), in vp56_mc()
379 src + s->block_offset[b] + (dy-2)*stride + (dx-2), in vp56_mc()
385 src_offset = s->block_offset[b] + dy*stride + dx; in vp56_mc()
447 vp56_idct_put(s, frame_current->data[plane] + s->block_offset[b], in vp56_render_mb()
456 off = s->block_offset[b]; in vp56_render_mb()
478 vp56_idct_add(s, frame_current->data[plane] + s->block_offset[b], in vp56_render_mb()
727 s->block_offset[s->frbi] = (mb_row_flip*16 + mb_offset) * stride_y; in ff_vp56_decode_mbs()
728 s->block_offset[s->srbi] = s->block_offset[s->frbi] + 8*stride_y; in ff_vp56_decode_mbs()
729 s->block_offset[1] = s->block_offset[0] + 8; in ff_vp56_decode_mbs()
[all …]
Dh264_mb.c618 const int *block_offset, in hl_decode_mb_predict_luma() argument
626 block_offset += 16 * p; in hl_decode_mb_predict_luma()
637 uint8_t *const ptr = dest_y + block_offset[i]; in hl_decode_mb_predict_luma()
667 uint8_t *const ptr = dest_y + block_offset[i]; in hl_decode_mb_predict_luma()
678 av_assert2(sl->mb_y || linesize <= block_offset[i]); in hl_decode_mb_predict_luma()
731 const int *block_offset, in hl_decode_mb_idct_luma() argument
737 block_offset += 16 * p; in hl_decode_mb_idct_luma()
744 h->hpc.pred16x16_add[sl->intra16x16_pred_mode](dest_y, block_offset, in hl_decode_mb_idct_luma()
751 h->h264dsp.h264_add_pixels4_clear(dest_y + block_offset[i], in hl_decode_mb_idct_luma()
756 h->h264dsp.h264_idct_add16intra(dest_y, block_offset, in hl_decode_mb_idct_luma()
[all …]
Dh264pred.h107 const int *block_offset,
110 const int *block_offset,
/third_party/e2fsprogs/ext2ed/
Dfile_com.c69 long block_offset=1; in type_file___nextblock() local
76 block_offset*=atol (buffer); in type_file___nextblock()
79 if (file_info.block_num+block_offset >= file_info.blocks_count) { in type_file___nextblock()
84 file_info.block_num+=block_offset; in type_file___nextblock()
170 long block_offset=1; in type_file___prevblock() local
177 block_offset*=atol (buffer); in type_file___prevblock()
180 if (file_info.block_num-block_offset < 0) { in type_file___prevblock()
185 file_info.block_num-=block_offset; in type_file___prevblock()
198 long block_offset=1; in type_file___block() local
209 block_offset=atol (buffer); in type_file___block()
[all …]
Dwin.c172 int block_num,block_offset; in show_info() local
175 block_offset=device_offset%file_system_info.block_size; in show_info()
178 wprintw (show_win,"Offset %-3ld in block %ld. ",block_offset,block_num); in show_info()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_glyph_info.h38 int32_t block_offset,
56 int32_t block_offset() const { return block_offset_; } in block_offset() function
57 int32_t offset() const { return block_offset() + start_offset(); } in offset()
Dbitmap_glyph_info.cc22 int32_t block_offset, in BitmapGlyphInfo() argument
28 block_offset_(block_offset), in BitmapGlyphInfo()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_glyph_info.h38 int32_t block_offset,
56 int32_t block_offset() const { return block_offset_; } in block_offset() function
57 int32_t offset() const { return block_offset() + start_offset(); } in offset()
Dbitmap_glyph_info.cc22 int32_t block_offset, in BitmapGlyphInfo() argument
28 block_offset_(block_offset), in BitmapGlyphInfo()
/third_party/ffmpeg/libavcodec/arm/
Dh264dsp_init_arm.c58 void ff_h264_idct_add16_neon(uint8_t *dst, const int *block_offset,
61 void ff_h264_idct_add16intra_neon(uint8_t *dst, const int *block_offset,
64 void ff_h264_idct_add8_neon(uint8_t **dest, const int *block_offset,
70 void ff_h264_idct8_add4_neon(uint8_t *dst, const int *block_offset,
/third_party/ffmpeg/libavcodec/x86/
Dh264_idct.asm361 ; void ff_h264_idct_add16_8_mmx(uint8_t *dst, const int *block_offset,
364 cglobal h264_idct_add16_8, 5, 7 + npicregs, 0, dst, block_offset, block, stride, nnzc, cntr, coeff,…
385 ; void ff_h264_idct8_add4_8_mmx(uint8_t *dst, const int *block_offset,
388 cglobal h264_idct8_add4_8, 5, 7 + npicregs, 0, dst, block_offset, block, stride, nnzc, cntr, coeff,…
420 ; void ff_h264_idct_add16_8_mmxext(uint8_t *dst, const int *block_offset,
423 cglobal h264_idct_add16_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride, nnzc, cntr, coeff…
468 ; void ff_h264_idct_add16intra_8_mmx(uint8_t *dst, const int *block_offset,
471 cglobal h264_idct_add16intra_8, 5, 7 + npicregs, 0, dst, block_offset, block, stride, nnzc, cntr, c…
494 ; void ff_h264_idct_add16intra_8_mmxext(uint8_t *dst, const int *block_offset,
497 cglobal h264_idct_add16intra_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride, nnzc, cntr, …
[all …]
/third_party/ffmpeg/libavcodec/aarch64/
Dh264dsp_init_aarch64.c70 void ff_h264_idct_add16_neon(uint8_t *dst, const int *block_offset,
73 void ff_h264_idct_add16intra_neon(uint8_t *dst, const int *block_offset,
76 void ff_h264_idct_add8_neon(uint8_t **dest, const int *block_offset,
82 void ff_h264_idct8_add4_neon(uint8_t *dst, const int *block_offset,
/third_party/boost/boost/spirit/home/support/char_encoding/unicode/
Dlowercase_table.hpp616 ::boost::uint32_t block_offset = lowercase_stage1[ch / 256] * 256; in lowercase_lookup()
617 return lowercase_stage2[block_offset + ch % 256]; in lowercase_lookup()
Dcategory_table.hpp2212 ::boost::uint32_t block_offset = category_stage1[ch / 256] * 256; in category_lookup()
2213 return category_stage2[block_offset + ch % 256]; in category_lookup()
Dscript_table.hpp2155 ::boost::uint32_t block_offset = script_stage1[ch / 256] * 256; in script_lookup()
2156 return script_stage2[block_offset + ch % 256]; in script_lookup()
Duppercase_table.hpp635 ::boost::uint32_t block_offset = uppercase_stage1[ch / 256] * 256; in uppercase_lookup()
636 return uppercase_stage2[block_offset + ch % 256]; in uppercase_lookup()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate06.c63 static long wbuf_size, rbuf_size, block_offset; variable
98 block_offset = MIN(blocksize / 2, 512); in setup()
190 offset = size + block_offset; in run()
214 offset = block_offset; in run()
/third_party/ffmpeg/libavcodec/mips/
Dh264dsp_mmi.c768 void ff_h264_idct_add16_8_mmi(uint8_t *dst, const int *block_offset, in ff_h264_idct_add16_8_mmi() argument
776 ff_h264_idct_dc_add_8_mmi(dst + block_offset[i], block + i*16, in ff_h264_idct_add16_8_mmi()
779 ff_h264_idct_add_8_mmi(dst + block_offset[i], block + i*16, in ff_h264_idct_add16_8_mmi()
785 void ff_h264_idct_add16intra_8_mmi(uint8_t *dst, const int *block_offset, in ff_h264_idct_add16intra_8_mmi() argument
791 ff_h264_idct_add_8_mmi(dst + block_offset[i], block + i*16, stride); in ff_h264_idct_add16intra_8_mmi()
793 ff_h264_idct_dc_add_8_mmi(dst + block_offset[i], block + i*16, in ff_h264_idct_add16intra_8_mmi()
798 void ff_h264_idct8_add4_8_mmi(uint8_t *dst, const int *block_offset, in ff_h264_idct8_add4_8_mmi() argument
806 ff_h264_idct8_dc_add_8_mmi(dst + block_offset[i], in ff_h264_idct8_add4_8_mmi()
809 ff_h264_idct8_add_8_mmi(dst + block_offset[i], block + i*16, in ff_h264_idct8_add4_8_mmi()
815 void ff_h264_idct_add8_8_mmi(uint8_t **dest, const int *block_offset, in ff_h264_idct_add8_8_mmi() argument
[all …]
/third_party/boost/boost/graph/parallel/
Ddistribution.hpp369 std::size_t block_offset = (data_row % block_rows) * block_columns in local() local
373 return block_start + block_offset; in local()
381 SizeType block_offset = i % (block_rows * block_columns); in global() local
394 SizeType row_in_block = block_offset / block_columns; in global()
395 SizeType col_in_block = block_offset % block_columns; in global()
515 std::size_t block_offset = (data_row % block_rows) * block_columns in local() local
519 return block_start + block_offset; in local()
/third_party/ffmpeg/libavcodec/ppc/
Dh264dsp.c329 static void h264_idct_add16_altivec(uint8_t *dst, const int *block_offset, in h264_idct_add16_altivec() argument
337 … if(nnz==1 && block[i*16]) h264_idct_dc_add_altivec(dst + block_offset[i], block + i*16, stride); in h264_idct_add16_altivec()
338 … else h264_idct_add_altivec(dst + block_offset[i], block + i*16, stride); in h264_idct_add16_altivec()
343 static void h264_idct_add16intra_altivec(uint8_t *dst, const int *block_offset, in h264_idct_add16intra_altivec() argument
349 if(nnzc[ scan8[i] ]) h264_idct_add_altivec(dst + block_offset[i], block + i*16, stride); in h264_idct_add16intra_altivec()
350 else if(block[i*16]) h264_idct_dc_add_altivec(dst + block_offset[i], block + i*16, stride); in h264_idct_add16intra_altivec()
354 static void h264_idct8_add4_altivec(uint8_t *dst, const int *block_offset, in h264_idct8_add4_altivec() argument
362 … if(nnz==1 && block[i*16]) h264_idct8_dc_add_altivec(dst + block_offset[i], block + i*16, stride); in h264_idct8_add4_altivec()
363 … else h264_idct8_add_altivec(dst + block_offset[i], block + i*16, stride); in h264_idct8_add4_altivec()
368 static void h264_idct_add8_altivec(uint8_t **dest, const int *block_offset, in h264_idct_add8_altivec() argument
[all …]
/third_party/ffmpeg/tests/checkasm/
Dh264dsp.c242 …declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, const int *block_offset, int16_t *block, in… in check_idct_multiple()
250 int block_offset[16] = { 0 }; in check_idct_multiple() local
298 block_offset[i / 16] = offset; in check_idct_multiple()
306 call_ref(dst0, block_offset, coef0, 16 * SIZEOF_PIXEL, nnzc); in check_idct_multiple()
307 call_new(dst1, block_offset, coef1, 16 * SIZEOF_PIXEL, nnzc); in check_idct_multiple()
311 bench_new(dst1, block_offset, coef1, 16 * SIZEOF_PIXEL, nnzc); in check_idct_multiple()

12