Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 87) 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/samsung_slsi/exynos5/libswconverter/
Dswconvertor.c153 unsigned int i, j, k; in csc_tiled_to_linear_y() local
166 for (k = 0; k < 8; k++) { in csc_tiled_to_linear_y()
178 for (k = 0; k < 8; k++) { in csc_tiled_to_linear_y()
193 for (k = 0; k < height - aligned_height; k = k + 2) { in csc_tiled_to_linear_y()
205 for (k = 0; k < height - aligned_height; k = k + 2) { in csc_tiled_to_linear_y()
240 unsigned int i, j, k; in csc_tiled_to_linear_uv() local
253 for (k = 0; k < 4; k++) { in csc_tiled_to_linear_uv()
265 for (k = 0; k < 4; k++) { in csc_tiled_to_linear_uv()
280 for (k = 0; k < height - aligned_height; k = k + 1) { in csc_tiled_to_linear_uv()
289 for (k = 0; k < height - aligned_height; k = k + 1) { in csc_tiled_to_linear_uv()
[all …]
Dcsc_ARGB8888_to_YUV420SP_NEON.s83 vmla.u16 q8,q6,q13 @112 * B[k]
84 vmls.u16 q8,q4,q11 @q0:U -(38 * R[k]) @128<<6+ 32 + u>>2
85 vmls.u16 q8,q5,q12 @-(74 * G[k])
89 vmla.u16 q7,q4,q13 @112 * R[k]
90 vmls.u16 q7,q5,q14 @q0:U -(94 * G[k]) @128<<6+ 32 + v>>2
91 vmls.u16 q7,q6,q15 @-(18 * B[k])
106 vmul.u16 q7,q4,q14 @q0 = 66 *R[k]
107 vmla.u16 q7,q5,q15 @q0 += 129 *G[k]
108 vmla.u16 q7,q6,q8 @q0 += 25 *B[k]
124 vmul.u16 q0,q4,q14 @q0 = 66 *R[k]
[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/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/invensense/60xx/mlsdk/mllite/
DmlMathFunc.c282 int k, l, i, j; in inv_matrix_det_inc() local
283 for (i = 0, k = 0; i < *n; i++, k++) { in inv_matrix_det_inc()
289 *(b + 10 * k + l) = *(a + 10 * i + j); in inv_matrix_det_inc()
297 int k, l, i, j; in inv_matrix_det_incd() local
298 for (i = 0, k = 0; i < *n; i++, k++) { in inv_matrix_det_incd()
304 *(b + 10 * k + l) = *(a + 10 * i + j); in inv_matrix_det_incd()
/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/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/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
DG729DecTest.c400 OMX_S16 retval = 0, i = 0, j = 0,k = 0; in main() local
1034 for (k=0; k < numInputBuffers; k++) { in main()
1035 pInputBufferHeader[k]->nFlags = 0; in main()
1038 if (k==0) in main()
1045 error = send_input_buffer (pHandle, pInputBufferHeader[k], fIn); in main()
1049 for (k=0; k < numOutputBuffers; k++) { in main()
1050 pOutputBufferHeader[k]->nFlags = 0; in main()
1053 if (k==0) in main()
1060 pComponent->FillThisBuffer(pHandle, pOutputBufferHeader[k]); in main()
1390 OMX_S16 j = 0, n = 0, k = 0, m = 0; in fill_data_fromFile() local
[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 …]
/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 …]

1234