Home
last modified time | relevance | path

Searched refs:motion_field (Results 1 – 19 of 19) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_non_greedy_mv.c190 MotionField *motion_field = in vp9_alloc_motion_field_info() local
194 vp9_alloc_motion_field(motion_field, bsize, block_rows, block_cols); in vp9_alloc_motion_field_info()
205 Status vp9_alloc_motion_field(MotionField *motion_field, BLOCK_SIZE bsize, in vp9_alloc_motion_field() argument
208 motion_field->ready = 0; in vp9_alloc_motion_field()
209 motion_field->bsize = bsize; in vp9_alloc_motion_field()
210 motion_field->block_rows = block_rows; in vp9_alloc_motion_field()
211 motion_field->block_cols = block_cols; in vp9_alloc_motion_field()
212 motion_field->block_num = block_rows * block_cols; in vp9_alloc_motion_field()
213 motion_field->mf = in vp9_alloc_motion_field()
214 vpx_calloc(motion_field->block_num, sizeof(*motion_field->mf)); in vp9_alloc_motion_field()
[all …]
Dvp9_non_greedy_mv.h88 Status vp9_alloc_motion_field(MotionField *motion_field, BLOCK_SIZE bsize,
91 void vp9_free_motion_field(MotionField *motion_field);
114 void vp9_motion_field_mi_set_mv(MotionField *motion_field, int mi_row,
117 void vp9_motion_field_reset_mvs(MotionField *motion_field);
119 int_mv vp9_motion_field_get_mv(const MotionField *motion_field, int brow,
121 int_mv vp9_motion_field_mi_get_mv(const MotionField *motion_field, int mi_row,
123 int vp9_motion_field_is_mv_set(const MotionField *motion_field, int brow,
Dvp9_encoder.c5916 MotionField *motion_field, argument
5951 vp9_prepare_nb_full_mvs(motion_field, mi_row, mi_col, nb_full_mvs);
6329 MotionField *motion_field; local
6335 motion_field = vp9_motion_field_info_get_motion_field(
6337 mv = vp9_motion_field_mi_get_mv(motion_field, mi_row, mi_col);
6483 MotionField *motion_field, argument
6493 mv = vp9_motion_field_mi_get_mv(motion_field, mi_row, mi_col);
6510 GF_PICTURE *gf_picture, MotionField *motion_field, argument
6518 *mv = get_mv_from_mv_mode(mv_mode, cpi, motion_field, tpl_frame, bsize,
6556 static double get_mv_cost(int mv_mode, VP9_COMP *cpi, MotionField *motion_field, argument
[all …]
Dvp9_mcomp.h151 int vp9_prepare_nb_full_mvs(const struct MotionField *motion_field, int mi_row,
Dvp9_mcomp.c2058 int vp9_prepare_nb_full_mvs(const MotionField *motion_field, int mi_row, in vp9_prepare_nb_full_mvs() argument
2060 const int mi_width = num_8x8_blocks_wide_lookup[motion_field->bsize]; in vp9_prepare_nb_full_mvs()
2061 const int mi_height = num_8x8_blocks_high_lookup[motion_field->bsize]; in vp9_prepare_nb_full_mvs()
2072 if (brow >= 0 && brow < motion_field->block_rows && bcol >= 0 && in vp9_prepare_nb_full_mvs()
2073 bcol < motion_field->block_cols) { in vp9_prepare_nb_full_mvs()
2074 if (vp9_motion_field_is_mv_set(motion_field, brow, bcol)) { in vp9_prepare_nb_full_mvs()
2075 int_mv mv = vp9_motion_field_get_mv(motion_field, brow, bcol); in vp9_prepare_nb_full_mvs()
Dvp9_rdopt.c2503 MotionField *motion_field = vp9_motion_field_info_get_motion_field( in single_motion_search() local
2506 vp9_prepare_nb_full_mvs(motion_field, mi_row, mi_col, nb_full_mvs); in single_motion_search()
2687 const MotionField *motion_field = vp9_motion_field_info_get_motion_field( in discount_newmv_test() local
2698 vp9_motion_field_mi_get_mv(motion_field, tpl_mi_row, tpl_mi_col); in discount_newmv_test()
/external/libvpx/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/
DMotionField.pde3 ArrayList<PVector> motion_field;
6 motion_field = new ArrayList<PVector>();
12 motion_field = new ArrayList<PVector>();
15 motion_field.add(new PVector(0, 0, 0));
24 PVector accu = motion_field.get(row * c_num + col);
34 PVector accu = motion_field.get(i * c_num + j);
61 PVector mv = motion_field.get(i);
63 motion_field.set(i, new PVector(mv.x / mv.z, mv.y / mv.z, 0));
66 motion_field.set(i, new PVector(0.0, 0.0, -1));
75 PVector mv = motion_field.get(i * c_num + j);
[all …]
DScene.pde5 MotionField motion_field;
10 Scene(Camera camera, PointCloud point_cloud, MotionField motion_field) {
12 this.motion_field = motion_field;
36 motion_field.update(last_cam, current_cam, point_cloud, bvh);
50 motion_field.render();
57 motion_field.save(path + "_" + str(frame_count) + ".txt");
Dsketch_3D_reconstruction.pde41 MotionField motion_field = new MotionField(block_size);
43 scene = new Scene(camera, point_cloud, motion_field);
70 showGrids(scene.motion_field.block_size);
/external/libgav1/libgav1/src/dsp/
Dmotion_field_projection.cc44 TemporalMotionField* motion_field) { in MotionFieldProjectionKernel_C() argument
45 const ptrdiff_t stride = motion_field->mv.columns(); in MotionFieldProjectionKernel_C()
61 int8_t* dst_reference_offset = motion_field->reference_offset[y8_start]; in MotionFieldProjectionKernel_C()
62 MotionVector* dst_mv = motion_field->mv[y8_start]; in MotionFieldProjectionKernel_C()
63 assert(stride == motion_field->reference_offset.columns()); in MotionFieldProjectionKernel_C()
Ddsp.h796 TemporalMotionField* motion_field);
/external/libgav1/libgav1/src/
Dmotion_vector.cc414 const TemporalMotionField& motion_field = tile.motion_field(); in TemporalScan() local
415 const int stride = motion_field.mv.columns(); in TemporalScan()
416 const MotionVector* motion_field_mv = motion_field.mv[0]; in TemporalScan()
418 motion_field.reference_offset[0]; in TemporalScan()
771 TemporalMotionField* const motion_field) { in MotionFieldProjection() argument
788 y8_end, x8_start, x8_end, motion_field); in MotionFieldProjection()
934 TemporalMotionField* const motion_field) { in SetupMotionField() argument
956 y8_start, y8_end, x8_start, x8_end, motion_field); in SetupMotionField()
967 motion_field)) { in SetupMotionField()
976 x8_start, x8_end, motion_field)) { in SetupMotionField()
[all …]
Dmotion_vector.h55 TemporalMotionField* motion_field);
Dframe_scratch_buffer.h54 TemporalMotionField motion_field; member
Ddecoder_impl.cc1252 if (!frame_scratch_buffer->motion_field.mv.Reset( in DecodeTiles()
1255 !frame_scratch_buffer->motion_field.reference_offset.Reset( in DecodeTiles()
1273 &frame_scratch_buffer->motion_field.mv[0][0]; in DecodeTiles()
1275 motion_field_mv + frame_scratch_buffer->motion_field.mv.size(), in DecodeTiles()
Dtile.h121 const TemporalMotionField& motion_field() const { return motion_field_; } in motion_field() function
/external/libgav1/libgav1/src/dsp/x86/
Dmotion_field_projection_sse4.cc163 TemporalMotionField* const motion_field) { in MotionFieldProjectionKernel_SSE4_1() argument
164 const ptrdiff_t stride = motion_field->mv.columns(); in MotionFieldProjectionKernel_SSE4_1()
182 int8_t* dst_reference_offset = motion_field->reference_offset[y8_start]; in MotionFieldProjectionKernel_SSE4_1()
183 MotionVector* dst_mv = motion_field->mv[y8_start]; in MotionFieldProjectionKernel_SSE4_1()
190 assert(stride == motion_field->reference_offset.columns()); in MotionFieldProjectionKernel_SSE4_1()
/external/libgav1/libgav1/src/dsp/arm/
Dmotion_field_projection_neon.cc159 TemporalMotionField* const motion_field) { in MotionFieldProjectionKernel_NEON() argument
160 const ptrdiff_t stride = motion_field->mv.columns(); in MotionFieldProjectionKernel_NEON()
178 int8_t* dst_reference_offset = motion_field->reference_offset[y8_start]; in MotionFieldProjectionKernel_NEON()
179 MotionVector* dst_mv = motion_field->mv[y8_start]; in MotionFieldProjectionKernel_NEON()
186 assert(stride == motion_field->reference_offset.columns()); in MotionFieldProjectionKernel_NEON()
/external/libgav1/libgav1/src/tile/
Dtile.cc444 motion_field_(frame_scratch_buffer->motion_field),