Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 89) sorted by relevance

1234

/hardware/intel/img/psb_video/src/
Dpsb_drv_debug.c349 int j,k; in psb__dump_I420_buffers() local
361 for(k = 0; k < srcw; ++k) { in psb__dump_I420_buffers()
362 if((k%2) == 0)fwrite(mapped_buffer2, 1, 1, psb_dump_yuvbuf_fp); in psb__dump_I420_buffers()
372 for(k = 0; k < srcw; ++k) in psb__dump_I420_buffers()
374 if((k % 2) == 1) in psb__dump_I420_buffers()
841 unsigned int j,k; in psb__dump_va_buffers() local
854 for(k=0;k < obj_buffer->size;++k) in psb__dump_va_buffers()
855 …mp_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
867 for(k=0;k < obj_buffer->num_elements;++k) in psb__dump_va_buffers()
868 …tf(psb_dump_vabuf_fp,"0x%02x ",*((unsigned char *)(mapped_buffer+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Didct8x8_test.cc38 for (int k = 0; k < 8; k++) { in reference_dct_1d() local
39 output[k] = 0.0; in reference_dct_1d()
41 output[k] += input[n]*cos(kPi*(2*n+1)*k/16.0); in reference_dct_1d()
42 if (k == 0) in reference_dct_1d()
43 output[k] = output[k]*kInvSqrt2; in reference_dct_1d()
74 for (int k = 0; k < 8; k++) { in reference_idct_1d() local
75 output[k] = 0.0; in reference_idct_1d()
77 output[k] += input[n]*cos(kPi*(2*k+1)*n/16.0); in reference_idct_1d()
79 output[k] = output[k]/kSqrt2; in reference_idct_1d()
Ddct32x32_test.cc42 for (int k = 0; k < 32; k++) { in reference_32x32_dct_1d() local
43 out[k] = 0.0; in reference_32x32_dct_1d()
45 out[k] += in[n] * cos(kPi * (2 * n + 1) * k / 64.0); in reference_32x32_dct_1d()
46 if (k == 0) in reference_32x32_dct_1d()
47 out[k] = out[k] * kInvSqrt2; in reference_32x32_dct_1d()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Drdopt.h23 int i, j, k; in insertsortmv() local
35 for ( k = i; k >j; k--) in insertsortmv()
36 arr[k] = arr[k - 1] ; in insertsortmv()
46 int i, j, k; in insertsortsad() local
59 for ( k = i; k >j; k--) in insertsortsad()
61 arr[k] = arr[k - 1] ; in insertsortsad()
62 idx[k] = idx[k - 1]; in insertsortsad()
Dbitstream.c674 int k = -1; /* first block in subset j */ in pack_inter_mode_mvs() local
681 while (j != L[++k]) in pack_inter_mode_mvs()
682 if (k >= 16) in pack_inter_mode_mvs()
685 while (j != L[++k]); in pack_inter_mode_mvs()
687 leftmv.as_int = left_block_mv(m, k); in pack_inter_mode_mvs()
688 abovemv.as_int = above_block_mv(m, k, mis); in pack_inter_mode_mvs()
794 int i,j,k,l;
803 for (k = 0; k < PREV_COEF_CONTEXTS; k++)
809 (unsigned int)(coef_probs [i][j][k][l]));
862 int k = 0; in independent_coef_context_savings() local
[all …]
Dtemporal_filter.c98 unsigned int i, j, k; in vp8_temporal_filter_apply_c() local
102 for (i = 0,k = 0; i < block_size; i++) in vp8_temporal_filter_apply_c()
104 for (j = 0; j < block_size; j++, k++) in vp8_temporal_filter_apply_c()
126 count[k] += modifier; in vp8_temporal_filter_apply_c()
127 accumulator[k] += modifier * pixel_value; in vp8_temporal_filter_apply_c()
271 int i, j, k; in vp8_temporal_filter_iterate_c() local
367 for (i = 0,k = 0; i < 16; i++) in vp8_temporal_filter_iterate_c()
369 for (j = 0; j < 16; j++, k++) in vp8_temporal_filter_iterate_c()
371 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c()
372 pval *= cpi->fixed_divide[count[k]]; in vp8_temporal_filter_iterate_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_convolve.c32 int k, sum = 0; in convolve_horiz() local
33 for (k = 0; k < SUBPEL_TAPS; ++k) in convolve_horiz()
34 sum += src_x[k] * x_filter[k]; in convolve_horiz()
54 int k, sum = 0; in convolve_avg_horiz() local
55 for (k = 0; k < SUBPEL_TAPS; ++k) in convolve_avg_horiz()
56 sum += src_x[k] * x_filter[k]; in convolve_avg_horiz()
78 int k, sum = 0; in convolve_vert() local
79 for (k = 0; k < SUBPEL_TAPS; ++k) in convolve_vert()
80 sum += src_y[k * src_stride] * y_filter[k]; in convolve_vert()
101 int k, sum = 0; in convolve_avg_vert() local
[all …]
Dvp9_entropy.c745 int i, j, k, l, m; in adapt_coef_probs() local
749 for (k = 0; k < COEF_BANDS; ++k) in adapt_coef_probs()
750 for (l = 0; l < BAND_COEFF_CONTEXTS(k); ++l) { in adapt_coef_probs()
751 const int n0 = counts[i][j][k][l][ZERO_TOKEN]; in adapt_coef_probs()
752 const int n1 = counts[i][j][k][l][ONE_TOKEN]; in adapt_coef_probs()
753 const int n2 = counts[i][j][k][l][TWO_TOKEN]; in adapt_coef_probs()
754 const int neob = counts[i][j][k][l][EOB_MODEL_TOKEN]; in adapt_coef_probs()
756 { neob, eob_counts[i][j][k][l] - neob }, in adapt_coef_probs()
761 probs[i][j][k][l][m] = merge_probs(pre_probs[i][j][k][l][m], in adapt_coef_probs()
/hardware/intel/common/libva/test/basic/
Dtest_04.c49 int i, j, k; in test() local
69 for(k = 0; k < num_attribs; k++) in test()
71 status(" %d -> %08x\n", attrib_list[k].type, attrib_list[k].value); in test()
72 ASSERT(attrib_list[k].value != DEADVALUE); in test()
Dtest_06.c39 int i, j, k; in pre() local
70 int i, j, k; in test() local
100 for(k = 0; k < num_attribs; k++) in test()
102 status(" %d -> %08x\n", attrib_list[k].type, attrib_list[k].value); in test()
103 ASSERT(attrib_list[k].value != VA_ATTRIB_NOT_SUPPORTED); in test()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_resize.c236 int x, x1, x2, sum, k, int_pel, sub_pel; in interpolate() local
264 for (k = 0; k < INTERP_TAPS; ++k) { in interpolate()
265 const int pk = int_pel - INTERP_TAPS / 2 + 1 + k; in interpolate()
266 sum += filter[k] * input[(pk < 0 ? 0 : in interpolate()
279 for (k = 0; k < INTERP_TAPS; ++k) in interpolate()
280 sum += filter[k] * input[(int_pel - INTERP_TAPS / 2 + 1 + k < 0 ? in interpolate()
282 int_pel - INTERP_TAPS / 2 + 1 + k)]; in interpolate()
292 for (k = 0; k < INTERP_TAPS; ++k) in interpolate()
293 sum += filter[k] * input[int_pel - INTERP_TAPS / 2 + 1 + k]; in interpolate()
303 for (k = 0; k < INTERP_TAPS; ++k) in interpolate()
[all …]
Dvp9_bitstream.c110 int k; in update_skip_probs() local
112 for (k = 0; k < SKIP_CONTEXTS; ++k) in update_skip_probs()
113 vp9_cond_prob_diff_update(w, &cm->fc.skip_probs[k], cm->counts.skip[k]); in update_skip_probs()
493 int i, j, k, l, m; in build_tree_distribution() local
497 for (k = 0; k < COEF_BANDS; ++k) { in build_tree_distribution()
498 for (l = 0; l < BAND_COEFF_CONTEXTS(k); ++l) { in build_tree_distribution()
500 coef_branch_ct[i][j][k][l], in build_tree_distribution()
501 coef_counts[i][j][k][l]); in build_tree_distribution()
502 coef_branch_ct[i][j][k][l][0][1] = eob_branch_ct[i][j][k][l] - in build_tree_distribution()
503 coef_branch_ct[i][j][k][l][0][0]; in build_tree_distribution()
[all …]
Dvp9_temporal_filter.c91 unsigned int i, j, k; in vp9_temporal_filter_apply_c() local
95 for (i = 0, k = 0; i < block_size; i++) { in vp9_temporal_filter_apply_c()
96 for (j = 0; j < block_size; j++, k++) { in vp9_temporal_filter_apply_c()
115 count[k] += modifier; in vp9_temporal_filter_apply_c()
116 accumulator[k] += modifier * pixel_value; in vp9_temporal_filter_apply_c()
240 int i, j, k; in temporal_filter_iterate_c() local
316 for (i = 0, k = 0; i < 16; i++) { in temporal_filter_iterate_c()
317 for (j = 0; j < 16; j++, k++) { in temporal_filter_iterate_c()
318 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c()
319 pval *= cpi->fixed_divide[count[k]]; in temporal_filter_iterate_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dvpx_scale.c255 int i, j, k; in Scale2D() local
348 for (k = 0; k < (int)dest_height; k++) { in Scale2D()
364 for (k = 0; k < (int)(dest_height + dest_band_height - 1) / dest_band_height; k++) { in Scale2D()
404 for (k = 0; k < (int)dest_height; k++) { in Scale2D()
427 for (k = 0; k < bands; k++) { in Scale2D()
430 if (k * source_band_height + i < (int) source_height) { in Scale2D()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c144 int k; in process_scan() local
146 for (k = 0; k < num_channels; k++) { in process_scan()
147 switch (infoarray[k].bytes) { in process_scan()
150 print2byte(*(uint16_t *)(data + infoarray[k].location), in process_scan()
151 &infoarray[k]); in process_scan()
155 if (infoarray[k].is_signed) { in process_scan()
156 int32_t val = *(int32_t *)(data + infoarray[k].location); in process_scan()
157 if ((val >> infoarray[k].bits_used) & 1) in process_scan()
158 val = (val & infoarray[k].mask) | ~infoarray[k].mask; in process_scan()
164 if (infoarray[k].is_signed) { in process_scan()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c349 int i,j,k; in mm_app_dtc_3() local
376 for (k = 0; k < MM_QCAMERA_APP_INTERATION ; k++) { in mm_app_dtc_3()
377 LOGE("DUAL open back camera %d \n",k); in mm_app_dtc_3()
451 int i,j,k; in mm_app_dtc_4() local
478 for (k = 0; k < MM_QCAMERA_APP_INTERATION ; k++){ in mm_app_dtc_4()
479 LOGE("DUAL open back camera %d \n",k); in mm_app_dtc_4()
560 int i,j,k; in mm_app_dtc_5() local
587 for (k = 0; k < 4 ; k++) { in mm_app_dtc_5()
588 LOGE("DUAL open back camera %d \n",k); in mm_app_dtc_5()
653 int i,j,k; in mm_app_dtc_6() local
[all …]
/hardware/intel/common/utils/media_resource_manager/arbitrator/
DMediaResourceArbitrator.cpp380 uint i,j,k; in SetupDefaultCodecLimitation() local
390 for (k=0; k<2; k++) { in SetupDefaultCodecLimitation()
391 frameRate = (k+1)*30; in SetupDefaultCodecLimitation()
409 for (k=0; k<2; k++) { in SetupDefaultCodecLimitation()
410 frameRate = (k+1)*30; in SetupDefaultCodecLimitation()
427 for (k=0; k<2; k++) { in SetupDefaultCodecLimitation()
428 frameRate = (k+1)*30; in SetupDefaultCodecLimitation()
/hardware/ti/omap4-aah/libI420colorconvert/
DColorConvert.cpp81 for(int j=0, k=0; j < srcWidth / 2; j++, k+=2) { in convertI420ToEncoderInput() local
82 pDst_uv[k] = pSrc_u[j]; in convertI420ToEncoderInput()
83 pDst_uv[k+1] = pSrc_v[j]; in convertI420ToEncoderInput()
/hardware/ti/omap4xxx/libI420colorconvert/
DColorConvert.cpp81 for(int j=0, k=0; j < srcWidth / 2; j++, k+=2) { in convertI420ToEncoderInput() local
82 pDst_uv[k] = pSrc_u[j]; in convertI420ToEncoderInput()
83 pDst_uv[k+1] = pSrc_v[j]; in convertI420ToEncoderInput()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
Dvc1parse_bitplane.c283 int32_t i, j, k; in vc1_Norm6ModeDecode() local
313 status = vc1_DecodeHuffmanOne(ctxt, &k, VC1_BITPLANE_K_TBL); in vc1_Norm6ModeDecode()
317 put_bit(k&1, col, row, width, height, pBitplane->invert, in vc1_Norm6ModeDecode()
319 put_bit(((k&2)>>1), col+1, row, width, height, in vc1_Norm6ModeDecode()
322 put_bit(((k&4)>>2), col, row+1, width, height, in vc1_Norm6ModeDecode()
324 put_bit(((k&8)>>3), col+1, row+1, width, height, in vc1_Norm6ModeDecode()
327 put_bit(((k&16)>>4), col, row+2, width, height, in vc1_Norm6ModeDecode()
329 put_bit(((k&32)>>5), col+1, row+2, width, in vc1_Norm6ModeDecode()
350 status = vc1_DecodeHuffmanOne(ctxt, &k, VC1_BITPLANE_K_TBL); in vc1_Norm6ModeDecode()
353 put_bit(k&1, col, row, width, height,pBitplane->invert, in vc1_Norm6ModeDecode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dexample_xma.c92 int j, k = -1; in main() local
98 k = j; in main()
100 if (k >= 0) in main()
101 iface = ifaces[k].iface; in main()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp298 int k = blit_target_start_index_; in Prepare() local
300 for (uint32_t j = 0; j < num_blit_target_; j++, k++) { in Prepare()
301 Layer &layer = layer_stack->layers[k]; in Prepare()
433 for (uint32_t k = 0; k <= i; k++) { in Commit() local
434 Layer &bottom_layer = layer_stack->layers[k]; in Commit()
455 hwc_layer_1_t *hwc_layer = &content_list->hwLayers[k]; in Commit()
481 for (uint32_t k = blit_target_start_index_; k < layer_stack->layer_count; k++) { in Commit() local
482 Layer &layer = layer_stack->layers[k]; in Commit()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dvpxenc.c139 unsigned int k; in murmur() local
141 k = (unsigned int)data[0]; in murmur()
142 k |= (unsigned int)data[1] << 8; in murmur()
143 k |= (unsigned int)data[2] << 16; in murmur()
144 k |= (unsigned int)data[3] << 24; in murmur()
146 k *= m; in murmur()
147 k ^= k >> r; in murmur()
148 k *= m; in murmur()
151 h ^= k; in murmur()
484 int k, l; in find_mismatch() local
[all …]
/hardware/ti/omap4xxx/domx/omx_core/src/
DOMX_Core.c634 OMX_U32 k = 0; in OMX_GetComponentsOfRole() local
657 strncpy((OMX_STRING) (compNames[k]), in OMX_GetComponentsOfRole()
661 k++; in OMX_GetComponentsOfRole()
664 *pNumComps = k; in OMX_GetComponentsOfRole()
719 int i, k; in OMX_BuildComponentTable() local
862 k = 1; in OMX_BuildComponentTable()
863 while (tComponentName[i][k] != NULL) in OMX_BuildComponentTable()
865 componentTable[numFiles].pRoleArray[k - 1] = in OMX_BuildComponentTable()
866 tComponentName[i][k]; in OMX_BuildComponentTable()
867 k++; in OMX_BuildComponentTable()
[all …]
/hardware/ti/omap4-aah/domx/omx_core/src/
DOMX_Core.c647 OMX_U32 k = 0; in OMX_GetComponentsOfRole() local
670 strncpy((OMX_STRING) (compNames[k]), in OMX_GetComponentsOfRole()
674 k++; in OMX_GetComponentsOfRole()
677 *pNumComps = k; in OMX_GetComponentsOfRole()
732 int i, k; in OMX_BuildComponentTable() local
875 k = 1; in OMX_BuildComponentTable()
876 while (tComponentName[i][k] != NULL) in OMX_BuildComponentTable()
878 componentTable[numFiles].pRoleArray[k - 1] = in OMX_BuildComponentTable()
879 tComponentName[i][k]; in OMX_BuildComponentTable()
880 k++; in OMX_BuildComponentTable()
[all …]

1234