Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 123) sorted by relevance

12345

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dmbpitch.c22 x->block[r*4+c].predictor = x->predictor + r * 4 * 16 + c * 4; in vp8_setup_block_dptrs()
30 x->block[16+r*2+c].predictor = x->predictor + 256 + r * 4 * 8 + c * 4; in vp8_setup_block_dptrs()
39 x->block[20+r*2+c].predictor = x->predictor + 320 + r * 4 * 8 + c * 4; in vp8_setup_block_dptrs()
46 x->block[r].qcoeff = x->qcoeff + r * 16; in vp8_setup_block_dptrs()
47 x->block[r].dqcoeff = x->dqcoeff + r * 16; in vp8_setup_block_dptrs()
48 x->block[r].eob = x->eobs + r; in vp8_setup_block_dptrs()
54 int block; in vp8_build_block_doffsets() local
56 for (block = 0; block < 16; block++) /* y blocks */ in vp8_build_block_doffsets()
58 x->block[block].offset = in vp8_build_block_doffsets()
59 (block >> 2) * 4 * x->dst.y_stride + (block & 3) * 4; in vp8_build_block_doffsets()
[all …]
Dreconinter.c260 temp = x->block[yoffset ].bmi.mv.as_mv.row in vp8_build_inter4x4_predictors_mbuv()
261 + x->block[yoffset+1].bmi.mv.as_mv.row in vp8_build_inter4x4_predictors_mbuv()
262 + x->block[yoffset+4].bmi.mv.as_mv.row in vp8_build_inter4x4_predictors_mbuv()
263 + x->block[yoffset+5].bmi.mv.as_mv.row; in vp8_build_inter4x4_predictors_mbuv()
267 x->block[uoffset].bmi.mv.as_mv.row = (temp / 8) & x->fullpixel_mask; in vp8_build_inter4x4_predictors_mbuv()
269 temp = x->block[yoffset ].bmi.mv.as_mv.col in vp8_build_inter4x4_predictors_mbuv()
270 + x->block[yoffset+1].bmi.mv.as_mv.col in vp8_build_inter4x4_predictors_mbuv()
271 + x->block[yoffset+4].bmi.mv.as_mv.col in vp8_build_inter4x4_predictors_mbuv()
272 + x->block[yoffset+5].bmi.mv.as_mv.col; in vp8_build_inter4x4_predictors_mbuv()
276 x->block[uoffset].bmi.mv.as_mv.col = (temp / 8) & x->fullpixel_mask; in vp8_build_inter4x4_predictors_mbuv()
[all …]
/hardware/intel/img/libdrm/libdrm/intel/
Dintel_bufmgr_fake.c91 struct block { struct
92 struct block *next, *prev; argument
130 struct block on_hardware; argument
134 struct block fenced;
138 struct block lru;
215 struct block *block; member
415 struct block *block = (struct block *)calloc(sizeof *block, 1); in alloc_block() local
419 if (!block) in alloc_block()
424 block->mem = mmAllocMem(bufmgr_fake->heap, sz, align_log2, 0); in alloc_block()
425 if (!block->mem) { in alloc_block()
[all …]
Dmm.c61 struct mem_block *heap, *block; in mmInit() local
70 block = (struct mem_block *) calloc(1, sizeof(struct mem_block)); in mmInit()
71 if (!block) { in mmInit()
76 heap->next = block; in mmInit()
77 heap->prev = block; in mmInit()
78 heap->next_free = block; in mmInit()
79 heap->prev_free = block; in mmInit()
81 block->heap = heap; in mmInit()
82 block->next = heap; in mmInit()
83 block->prev = heap; in mmInit()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/
Dquantize_arm.c33 x->quantize_b_pair(&x->block[i], &x->block[i+1], in vp8_quantize_mby_neon()
34 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); in vp8_quantize_mby_neon()
37 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); in vp8_quantize_mby_neon()
47 x->quantize_b_pair(&x->block[i], &x->block[i+1], in vp8_quantize_mb_neon()
48 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); in vp8_quantize_mb_neon()
51 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); in vp8_quantize_mb_neon()
60 x->quantize_b_pair(&x->block[i], &x->block[i+1], in vp8_quantize_mbuv_neon()
61 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); in vp8_quantize_mbuv_neon()
/hardware/samsung_slsi/exynos5/libhwjpeg/
DExynosJpegDecoder.cpp1335 unsigned char *block[4]; in reduceBlockingArtifact() local
1378 block[0] = img[0]; in reduceBlockingArtifact()
1379 block[1] = img[1]; in reduceBlockingArtifact()
1380 block[2] = img[2]; in reduceBlockingArtifact()
1381 block[3] = img[3]; in reduceBlockingArtifact()
1384 …f_0[0] = *block[0]; block[0] += 4; f_1[0] = *block[1]; block[1] += 4; f_2[0] = *block[2]; blo… in reduceBlockingArtifact()
1385 …f_0[1] = *block[0]; block[0] += 4; f_1[1] = *block[1]; block[1] += 4; f_2[1] = *block[2]; blo… in reduceBlockingArtifact()
1386 …f_0[2] = *block[0]; block[0] += 4; f_1[2] = *block[1]; block[1] += 4; f_2[2] = *block[2]; blo… in reduceBlockingArtifact()
1387 …f_0[3] = *block[0]; block[0] += 4; f_1[3] = *block[1]; block[1] += 4; f_2[3] = *block[2]; blo… in reduceBlockingArtifact()
1388block[0] += block_offset_0; block[1] += block_offset_0; block[2] += block_offset_1; block in reduceBlockingArtifact()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodemb.c108 static void optimize_b(int plane, int block, BLOCK_SIZE plane_bsize, in optimize_b() argument
117 const int16_t *coeff = BLOCK_OFFSET(mb->plane[plane].coeff, block); in optimize_b()
118 int16_t *qcoeff = BLOCK_OFFSET(p->qcoeff, block); in optimize_b()
119 int16_t *dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in optimize_b()
120 int eob = p->eobs[block], final_eob, sz = 0; in optimize_b()
133 const scan_order *so = get_scan(xd, tx_size, type, block); in optimize_b()
305 mb->plane[plane].eobs[block] = final_eob; in optimize_b()
317 void vp9_xform_quant(MACROBLOCK *x, int plane, int block, in vp9_xform_quant() argument
323 int16_t *const coeff = BLOCK_OFFSET(p->coeff, block); in vp9_xform_quant()
324 int16_t *const qcoeff = BLOCK_OFFSET(p->qcoeff, block); in vp9_xform_quant()
[all …]
Dvp9_tokenize.c167 static void set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, in set_entropy_context_b() argument
174 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &aoff, &loff); in set_entropy_context_b()
175 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0, in set_entropy_context_b()
209 static void tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, in tokenize_b() argument
222 int eob = p->eobs[block]; in tokenize_b()
224 const int16_t *qcoeff = BLOCK_OFFSET(p->qcoeff, block); in tokenize_b()
240 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &aoff, &loff); in tokenize_b()
244 so = get_scan(xd, tx_size, type, block); in tokenize_b()
293 static void is_skippable(int plane, int block, in is_skippable() argument
297 args->skippable[0] &= (!args->x->plane[plane].eobs[block]); in is_skippable()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dquantize.c276 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mby_c()
279 x->quantize_b(&x->block[24], &x->e_mbd.block[24]); in vp8_quantize_mby_c()
289 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mb_c()
298 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); in vp8_quantize_mbuv_c()
661 x->e_mbd.block[i].dequant = xd->dequant_y1; in vp8cx_mb_init_quantizer()
663 x->e_mbd.block[i].dequant = xd->dequant_uv; in vp8cx_mb_init_quantizer()
664 x->e_mbd.block[24].dequant = xd->dequant_y2; in vp8cx_mb_init_quantizer()
672 x->block[i].quant = cpi->Y1quant[QIndex]; in vp8cx_mb_init_quantizer()
673 x->block[i].quant_fast = cpi->Y1quant_fast[QIndex]; in vp8cx_mb_init_quantizer()
674 x->block[i].quant_shift = cpi->Y1quant_shift[QIndex]; in vp8cx_mb_init_quantizer()
[all …]
Dencodemb.c98 BLOCK *b = &x->block[0]; in vp8_subtract_mb()
124 x->short_fdct8x4(&x->block[i].src_diff[0], in vp8_transform_mbuv()
125 &x->block[i].coeff[0], 16); in vp8_transform_mbuv()
136 x->short_fdct8x4(&x->block[i].src_diff[0], in vp8_transform_intra_mby()
137 &x->block[i].coeff[0], 32); in vp8_transform_intra_mby()
144 x->short_walsh4x4(&x->block[24].src_diff[0], in vp8_transform_intra_mby()
145 &x->block[24].coeff[0], 8); in vp8_transform_intra_mby()
156 x->short_fdct8x4(&x->block[i].src_diff[0], in transform_mb()
157 &x->block[i].coeff[0], 32); in transform_mb()
166 x->short_fdct8x4(&x->block[i].src_diff[0], in transform_mb()
[all …]
Dethreading.c357 z->block[i].quant = x->block[i].quant; in setup_mbby_copy()
358 z->block[i].quant_fast = x->block[i].quant_fast; in setup_mbby_copy()
359 z->block[i].quant_shift = x->block[i].quant_shift; in setup_mbby_copy()
360 z->block[i].zbin = x->block[i].zbin; in setup_mbby_copy()
361 z->block[i].zrun_zbin_boost = x->block[i].zrun_zbin_boost; in setup_mbby_copy()
362 z->block[i].round = x->block[i].round; in setup_mbby_copy()
363 z->block[i].src_stride = x->block[i].src_stride; in setup_mbby_copy()
416 zd->block[i].dequant = zd->dequant_y1; in setup_mbby_copy()
418 zd->block[i].dequant = zd->dequant_uv; in setup_mbby_copy()
419 zd->block[24].dequant = zd->dequant_y2; in setup_mbby_copy()
Dtokenize.c121 b = xd->block + 24; in tokenize2nd_order_b()
200 unsigned int block; in tokenize1st_order_b() local
212 b = xd->block; in tokenize1st_order_b()
214 for (block = 0; block < 16; block++, b++) in tokenize1st_order_b()
217 tmp1 = vp8_block2above[block]; in tokenize1st_order_b()
218 tmp2 = vp8_block2left[block]; in tokenize1st_order_b()
289 for (block = 16; block < 24; block++, b++) in tokenize1st_order_b()
292 tmp1 = vp8_block2above[block]; in tokenize1st_order_b()
293 tmp2 = vp8_block2left[block]; in tokenize1st_order_b()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/generic/
Dvp8_rtcd.h19 struct block;
238 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
241 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
244 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct bl…
247 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct block…
268 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
277 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *re…
280 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv…
283 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv …
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips/
Dvp8_rtcd.h19 struct block;
238 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
241 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
244 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct bl…
247 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct block…
268 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
277 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *re…
280 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv…
283 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv …
/hardware/intel/common/omx-components/videocodec/libvpx_internal/armv7a-neon/
Dvp8_rtcd.h19 struct block;
322 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
325 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
326 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *);
327 void vp8_fast_quantize_b_neon(struct block *, struct blockd *);
330 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct bl…
333 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct block…
334 void vp8_fast_quantize_b_pair_neon(struct block *b1, struct block *b2, struct blockd *d1, struct bl…
358 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
359 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch);
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/armv7a/
Dvp8_rtcd.h19 struct block;
277 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
280 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
281 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *);
284 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct bl…
287 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct block…
308 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
309 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch);
320 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *re…
323 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv…
[all …]
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_mdp.h292 uint32_t block; member
325 uint32_t block; member
338 uint32_t block; member
437 uint32_t block; member
449 uint32_t block; member
462 uint32_t block; member
481 uint32_t block; member
493 uint32_t block; member
520 uint32_t block; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_mdp.h289 uint32_t block; member
322 uint32_t block; member
336 uint32_t block; member
425 uint32_t block; member
432 uint32_t block; member
446 uint32_t block; member
466 uint32_t block; member
479 uint32_t block; member
507 uint32_t block; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips-dspr2/
Dvp8_rtcd.h19 struct block;
256 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
259 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
262 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct bl…
265 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct block…
286 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
295 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *re…
298 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv…
301 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv …
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_mdp.h338 uint32_t block; member
365 uint32_t block; member
378 uint32_t block; member
386 uint32_t block; member
393 uint32_t block; member
540 uint32_t block; member
552 uint32_t block; member
565 uint32_t block; member
586 uint32_t block; member
612 uint32_t block; member
[all …]
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_mdp.h340 uint32_t block; member
367 uint32_t block; member
381 uint32_t block; member
390 uint32_t block; member
397 uint32_t block; member
520 uint32_t block; member
527 uint32_t block; member
541 uint32_t block; member
562 uint32_t block; member
590 uint32_t block; member
[all …]
/hardware/qcom/msm8x27/kernel-headers/linux/
Dmsm_mdp.h285 uint32_t block; member
306 uint32_t block; member
379 uint32_t block; member
386 uint32_t block; member
400 uint32_t block; member
414 uint32_t block; member
427 uint32_t block; member
440 uint32_t block; member
/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dmsm_mdp.h288 uint32_t block; member
310 uint32_t block; member
395 uint32_t block; member
407 uint32_t block; member
420 uint32_t block; member
433 uint32_t block; member
446 uint32_t block; member
458 uint32_t block; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Dcopymem16x16_v6.asm17 AREA Block, CODE, READONLY ; name this block of code
25 pld [r0, #31] ; preload for next 16x16 block
91 pld [r0, #31] ; preload for next 16x16 block
124 pld [r0, #31] ; preload for next 16x16 block
153 pld [r0, #31] ; preload for next 16x16 block
177 pld [r0, #31] ; preload for next 16x16 block
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_mdp.h396 uint32_t block; member
424 uint32_t block; member
463 uint32_t block; member
471 uint32_t block; member
478 uint32_t block; member
707 uint32_t block; member
719 uint32_t block; member
732 uint32_t block; member
753 uint32_t block; member
779 uint32_t block; member
[all …]

12345