/hardware/intel/common/libva/test/ |
H A D | loadsurface.h | 29 int row=0, col=0; local 31 for (row=0; row<dst_imgh; row++) { 33 *(dst_img + row * dst_imgw + col) = *(src_img + (row * src_imgh/dst_imgh) * src_imgw + col * src_imgw/dst_imgw); 59 int row, col; local 95 for (row=0; row<height; row 153 int row, alpha; local 301 int Y_pitch=0, U_pitch=0, V_pitch=0, row; local 399 int Y_pitch=0, U_pitch=0, V_pitch=0, row; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | mv.h | 22 short row; member in struct:__anon523
|
H A D | findnearmv.h | 30 mvp->as_mv.row *= -1; 44 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN)) 45 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN; 46 else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN) 47 mv->as_mv.row = xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN; 57 mv->as_mv.row = (mv->as_mv.row < mb_to_top_edge) ? 58 mb_to_top_edge : mv->as_mv.row; 59 mv->as_mv.row = (mv->as_mv.row > mb_to_bottom_edg [all...] |
H A D | reconinter.c | 131 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); 133 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) 135 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_ptr, pitch); 154 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); 156 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) 158 x->subpixel_predict8x8(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, dst, dst_stride); 169 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); 171 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) 173 x->subpixel_predict8x4(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, dst, dst_stride); 185 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_mv.h | 23 int16_t row; member in struct:mv 33 int32_t row; member in struct:mv32 40 mv->row = clamp(mv->row, min_row, max_row);
|
H A D | vp9_tile_common.h | 25 // initializes 'tile->mi_(row|col)_(start|end)' for (row, col) based on 28 int row, int col);
|
H A D | vp9_tile_common.c | 24 void vp9_tile_init(TileInfo *tile, const VP9_COMMON *cm, int row, int col) { argument 25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows); 26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows);
|
H A D | vp9_mvref_common.c | 17 int row; member in struct:position 142 mv.as_mv.row *= -1; 183 return !(mi_row + mi_pos->row < 0 || 185 mi_row + mi_pos->row >= mi_rows || 218 const MODE_INFO *const candidate_mi = xd->mi[mv_ref->col + mv_ref->row * 238 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row * 264 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row 298 if (mv->row & 1) 299 mv->row += (mv->row > [all...] |
H A D | vp9_reconinter.c | 26 // Get a pointer to the start of the real data for this row. 88 const MV mv_q4 = { is_q4 ? src_mv->row : src_mv->row * 2, 92 const int subpel_y = mv.row & SUBPEL_MASK; 94 src += (mv.row >> SUBPEL_BITS) * src_stride + (mv.col >> SUBPEL_BITS); 105 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row + 106 mi->bmi[1].as_mv[idx].as_mv.row + 107 mi->bmi[2].as_mv[idx].as_mv.row + 108 mi->bmi[3].as_mv[idx].as_mv.row), 127 src_mv->row * ( [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
H A D | error_concealment.c | 28 int row; member in struct:ec_position 139 int row, col; local 157 for (row = 0; row < end_row; ++row) 163 (((first_blk_row + row) * 167 assign_overlap(b_ol_ul[row * 4 + col].overlaps, bmi, overlap); 178 int row, col, rel_row, rel_col; local 185 row = (4 * b_row) << 3; /* Q3 */ 189 new_row = row 288 int row, col; local 501 int row, col, i; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | mcomp.c | 35 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7; 42 return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + 53 return ((mvsadcost[0][(mv->as_mv.row - ref->as_mv.row)] + 68 x->ss[search_site_count].mv.row = 0; 77 x->ss[search_site_count].mv.row = -Len; 83 x->ss[search_site_count].mv.row = Len; 89 x->ss[search_site_count].mv.row [all...] |
H A D | lookahead.c | 112 int row, col, active_end; local 128 for (row = 0; row < mb_rows; ++row) 134 /* Find the first active macroblock in this row. */ 141 /* No more active macroblock in this row. */ 145 /* Find the end of active region in this row. */ 156 row << 4,
|
H A D | encodemv.c | 73 if (abs(mv->row >> 1) > max_mv_r) 76 max_mv_r = abs(mv->row >> 1); 77 fprintf(f, "New Mv Row Max %6d\n", (mv->row >> 1)); 79 if ((abs(mv->row) / 2) != max_mv_r) 80 fprintf(f, "MV Row conversion error %6d\n", abs(mv->row) / 2); 95 encode_mvcomponent(w, mv->row >> 1, &mvc[0]);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/ |
H A D | yv12extend.c | 127 int row; local 139 for (row = 0; row < src_ybc->y_height; ++row) { 148 for (row = 0; row < src_ybc->uv_height; ++row) { 157 for (row = 0; row < src_ybc->uv_height; ++row) { 168 int row; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_mcomp.c | 28 return &buf->buf[mv->row * buf->stride + mv->col]; 33 int row_min = (mv->row >> 3) - MAX_FULL_PEL_VAL + (mv->row & 7 ? 1 : 0); 35 int row_max = (mv->row >> 3) + MAX_FULL_PEL_VAL; 71 comp_cost[0][mv->row] + comp_cost[1][mv->col]; 76 const MV diff = { mv->row - ref->row, 85 const MV diff = { mv->row - ref->row, 97 const MV diff = { mv->row 465 check_bounds(const MACROBLOCK *x, int row, int col, int range) argument [all...] |
H A D | vp9_lookahead.c | 97 int row, col, active_end; local 116 for (row = 0; row < mb_rows; ++row) { 120 // Find the first active macroblock in this row. 126 // No more active macroblock in this row. 130 // Find the end of active region in this row. 140 row << 4,
|
/hardware/ti/omap4-aah/camera/ |
H A D | NV12_resize.cpp | 49 mmUint16 row,col; local 116 for ( row = 0; row < cody; row++ ) { 119 y = (mmUint16) ((mmUint32) (row*resizeFactorY) >> 9); 120 yf = (mmUchar) ((mmUint32)((row*resizeFactorY) >> 6) & 0x7); 189 for ( row = 0; row < (((cody)>>1)); row++ ) { 195 y = (mmUint16) ((mmUint32) (row*resizeFactor [all...] |
H A D | Decoder_libjpeg.cpp | 234 unsigned char *row = &nv12_buffer[0]; local 237 for (unsigned int j = 0; j < cinfo.output_height; j++, row += stride) 238 YUV_Planes[0][j] = row; 240 row = &UV_Plane[0]; 243 for (unsigned int j = 0; j < cinfo.output_height; j+=2, row += cinfo.output_width / 2){ 244 YUV_Planes[1][j+0] = row; 245 YUV_Planes[1][j+1] = row; 249 for (unsigned int j = 0; j < cinfo.output_height; j+=2, row += cinfo.output_width / 2){ 250 YUV_Planes[2][j+0] = row; 251 YUV_Planes[2][j+1] = row; [all...] |
/hardware/ti/omap4xxx/camera/ |
H A D | NV12_resize.c | 36 mmUint16 row,col; local 113 for (row=0; row < cody; row++) 117 y = (mmUint16) ((mmUint32) (row*resizeFactorY) >> 9); 118 yf = (mmUchar) ((mmUint32)((row*resizeFactorY) >> 6) & 0x7); 192 for (row=0; row < (((cody)>>1)); row++) 199 y = (mmUint16) ((mmUint32) (row*resizeFactor [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
H A D | vp8_variance_halfpixvar16x16_hv_armv6.asm | 38 add r9, r0, r1 ; pointer to pixels on the next row 40 ldr r4, [r0, #0] ; load source pixels a, row N 41 ldr r6, [r0, #1] ; load source pixels b, row N 42 ldr r5, [r9, #0] ; load source pixels c, row N+1 43 ldr r7, [r9, #1] ; load source pixels d, row N+1 45 ; x = (a + b + 1) >> 1, interpolate pixels horizontally on row N 49 ; y = (c + d + 1) >> 1, interpolate pixels horizontally on row N+1 80 ldr r4, [r0, #4] ; load source pixels a, row N 81 ldr r6, [r0, #5] ; load source pixels b, row N 82 ldr r5, [r9, #4] ; load source pixels c, row [all...] |
H A D | vp8_sad16x16_armv6.asm | 37 ; 1st row 51 add r0, r0, r1 ; set src pointer to next row 52 add r2, r2, r3 ; set dst pointer to next row 64 ; 2nd row 76 add r0, r0, r1 ; set src pointer to next row 77 add r2, r2, r3 ; set dst pointer to next row
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/ |
H A D | get_files.py | 98 for row in file_list_reader: 99 if len(row) != EXPECTED_COL: 101 file_shas.append(row[SHA_COL]) 102 file_names.append(row[NAME_COL])
|
/hardware/ti/omap4-aah/ion/ |
H A D | ion_test.c | 67 size_t row, col; local 69 for (row = 0; row < height; row++) 71 int i = (row * stride) + col; 74 for (row = 0; row < height; row++) 76 int i = (row * stride) + col;
|
H A D | ion_test_2.c | 121 size_t row, col; local 123 for (row = 0; row < height; row++) 125 int i = (row * stride) + col; 128 for (row = 0; row < height; row++) 130 int i = (row * stride) + col;
|
/hardware/intel/common/libva/test/videoprocess/ |
H A D | videoprocess.cpp | 215 uint32_t row, col; local 230 for (row = 0; row < surface_image.height; row++) { 231 if (row < surface_image.height / 4 || row > surface_image.height * 3 / 4) 240 for (row = 0; row < surface_image.height / 2; row++) { 264 uint32_t frame_size, i, row, co local 366 uint32_t frame_size, row, col; local [all...] |