Home
last modified time | relevance | path

Searched refs:block_offset (Results 1 – 25 of 34) 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,
Dsvq3.c145 int block_offset[2 * (16 * 3)]; member
615 int mb_type, const int *block_offset, in hl_decode_mb_idct_luma() argument
622 uint8_t *const ptr = dest_y + block_offset[i]; in hl_decode_mb_idct_luma()
631 const int *block_offset, in hl_decode_mb_predict_luma() argument
640 uint8_t *const ptr = dest_y + block_offset[i]; in hl_decode_mb_predict_luma()
647 av_assert2(s->mb_y || linesize <= block_offset[i]); in hl_decode_mb_predict_luma()
677 const int *block_offset = &s->block_offset[0]; in hl_decode_mb() local
694 hl_decode_mb_predict_luma(s, mb_type, block_offset, linesize, dest_y); in hl_decode_mb()
697 hl_decode_mb_idct_luma(s, mb_type, block_offset, linesize, dest_y); in hl_decode_mb()
708 uint8_t *const ptr = dest[j - 1] + block_offset[i]; in hl_decode_mb()
[all …]
Dh264pred_template.c1300 static void FUNCC(pred16x16_vertical_add)(uint8_t *pix, const int *block_offset, in FUNCC()
1306 FUNCC(pred4x4_vertical_add)(pix + block_offset[i], block + i*16*sizeof(pixel), stride); in FUNCC()
1310 const int *block_offset, in FUNCC()
1316 FUNCC(pred4x4_horizontal_add)(pix + block_offset[i], block + i*16*sizeof(pixel), stride); in FUNCC()
1319 static void FUNCC(pred8x8_vertical_add)(uint8_t *pix, const int *block_offset, in FUNCC()
1324 FUNCC(pred4x4_vertical_add)(pix + block_offset[i], block + i*16*sizeof(pixel), stride); in FUNCC()
1327 static void FUNCC(pred8x16_vertical_add)(uint8_t *pix, const int *block_offset, in FUNCC()
1332 FUNCC(pred4x4_vertical_add)(pix + block_offset[i], block + i*16*sizeof(pixel), stride); in FUNCC()
1334 FUNCC(pred4x4_vertical_add)(pix + block_offset[i+4], block + i*16*sizeof(pixel), stride); in FUNCC()
1337 static void FUNCC(pred8x8_horizontal_add)(uint8_t *pix, const int *block_offset, in FUNCC()
[all …]
/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/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 …]
Dh264_idct_10bit.asm92 ; void ff_h264_idct_add16_10(pixel *dst, const int *block_offset,
238 ; void ff_h264_idct_add16intra_10(pixel *dst, const int *block_offset,
315 ; void ff_h264_idct_add8_10(pixel **dst, const int *block_offset,
354 ; void ff_h264_idct_add8_422_10(pixel **dst, const int *block_offset,
617 ; void ff_h264_idct8_add4_10(pixel **dst, const int *block_offset,
/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/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/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 …]
Dh264dsp_mips.h327 void ff_h264_idct_add16_8_mmi(uint8_t *dst, const int *block_offset,
329 void ff_h264_idct_add16intra_8_mmi(uint8_t *dst, const int *block_offset,
331 void ff_h264_idct8_add4_8_mmi(uint8_t *dst, const int *block_offset,
333 void ff_h264_idct_add8_8_mmi(uint8_t **dest, const int *block_offset,
335 void ff_h264_idct_add8_422_8_mmi(uint8_t **dest, const int *block_offset,
/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()
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/
Dinit.comp138 pad.block_offset = pad_rd_blocks;
155 zero.block_offset = 0;
/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c387 const uint32_t block_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (block_p); in jmem_heap_find_prev() local
391 while (prev_p->next_offset < block_offset) in jmem_heap_find_prev()
426 const uint32_t block_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (block_p); in jmem_heap_insert_block() local
439 prev_p->next_offset = block_offset; in jmem_heap_insert_block()
/third_party/mesa3d/src/panfrost/shared/test/
Dtest-tiling.cpp66 unsigned block_offset = index_in_tile * blocksize; in tiled_offset() local
68 return row_offset + col_offset + block_offset; in tiled_offset()

12