Searched defs:diff (Results 1 - 25 of 45) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
H A Dintersect-diffs.py21 import diff namespace
53 old_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[1], "r"))]
54 new_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[2], "r"))]
57 # Join the right hand side of the older diff with the left hand side of the
58 # newer diff.
H A Dlint-hunks.py10 """Performs style checking on each diff hunk."""
17 import diff namespace
24 DIFF_CMD = ["git", "diff"]
25 DIFF_INDEX_CMD = ["git", "diff-index", "-u", "HEAD", "--"]
98 for hunk in diff.ParseDiffHunks(StringIO.StringIO(stdout)):
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
H A Dinvtrans.h28 static void eob_adjust(char *eobs, short *diff) argument
34 if((eobs[js] == 0) && (diff[0] != 0))
36 diff+=16;
H A Dvariance_c.c45 int diff; local
54 diff = src_ptr[j] - ref_ptr[j];
55 *sum += diff;
56 *sse += diff * diff;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dvp9_subtract_test.cc44 int16_t *diff = reinterpret_cast<int16_t *>( local
45 vpx_memalign(16, sizeof(*diff) * block_width * block_height * 2));
59 GetParam()(block_height, block_width, diff, block_width,
64 EXPECT_EQ(diff[r * block_width + c],
72 GetParam()(block_height, block_width, diff, block_width * 2,
77 EXPECT_EQ(diff[r * block_width * 2 + c],
85 vpx_free(diff);
H A Didct8x8_test.cc129 const int diff = dst[j] - src[j]; local
130 const int error = diff * diff;
H A Dpartial_idct_test.cc107 const int diff = dst1[j] - dst2[j]; local
108 const int error = diff * diff;
H A Dvp8_fdct4x4_test.cc149 const int diff = test_input_block[j] - test_output_block[j]; local
150 const int error = diff * diff;
H A Ddct32x32_test.cc119 const uint32_t diff = dst[j] - src[j]; local
120 const uint32_t error = diff * diff;
234 const int diff = dst[j] - src[j]; local
235 const int error = diff * diff;
H A Dfdct4x4_test.cc83 const uint32_t diff = dst[j] - src[j]; local
84 const uint32_t error = diff * diff;
174 const uint32_t diff = dst[j] - src[j]; local
175 const uint32_t error = diff * diff;
H A Dfdct8x8_test.cc83 const int diff = abs(count_sign_block[j][0] - count_sign_block[j][1]); local
85 EXPECT_LT(diff, max_diff)
91 << " diff: " << diff; local
112 const int diff = abs(count_sign_block[j][0] - count_sign_block[j][1]); local
114 EXPECT_LT(diff, max_diff)
120 << " diff: " << diff; local
159 const int diff = dst[j] - src[j]; local
160 const int error = diff * dif
200 const int diff = dst[j] - src[j]; local
[all...]
H A Ddct16x16_test.cc311 const uint32_t diff = dst[j] - src[j]; local
312 const uint32_t error = diff * diff;
406 const uint32_t diff = dst[j] - src[j]; local
407 const uint32_t error = diff * diff;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
H A Dvp8_enc_stubs_sse2.c34 short *diff, unsigned char *predictor,
40 short *diff = &be->src_diff[0]; local
42 vp8_subtract_b_sse2_impl(z, src_stride, diff, predictor, pitch);
H A Dvp8_enc_stubs_mmx.c69 short *diff, unsigned char *predictor,
75 short *diff = &be->src_diff[0]; local
77 vp8_subtract_b_mmx_impl(z, src_stride, diff, predictor, pitch);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
H A Dvpx_timer.h79 LARGE_INTEGER freq, diff; local
81 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart;
84 return diff.QuadPart * 1000000 / freq.QuadPart;
86 struct timeval diff;
88 timersub(&t->end, &t->begin, &diff);
89 return diff.tv_sec * 1000000 + diff.tv_usec;
/hardware/qcom/display/msm8084/libqdutils/
H A Dprofiler.cpp152 nsecs_t diff = currtime_us - oldtime_us; local
157 diff > debug_fps_metadata.ignorethresh_us) {
162 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff;
169 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666;
187 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0);
/hardware/qcom/display/msm8226/libqdutils/
H A Dprofiler.cpp152 nsecs_t diff = currtime_us - oldtime_us; local
157 diff > debug_fps_metadata.ignorethresh_us) {
162 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff;
169 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666;
187 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0);
/hardware/qcom/display/msm8960/libqdutils/
H A Dprofiler.cpp147 nsecs_t diff = currtime_us - oldtime_us; local
152 diff > debug_fps_metadata.ignorethresh_us) {
157 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff;
163 unsigned int currstep = (diff + debug_fps_metadata.margin_us) / 16666;
180 debug_fps_metadata.time_elapsed += ((float)diff/1000.0);
/hardware/qcom/display/msm8974/libqdutils/
H A Dprofiler.cpp147 nsecs_t diff = currtime_us - oldtime_us; local
152 diff > debug_fps_metadata.ignorethresh_us) {
157 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff;
163 unsigned int currstep = (diff + debug_fps_metadata.margin_us) / 16666;
180 debug_fps_metadata.time_elapsed += ((float)diff/1000.0);
/hardware/akm/AK8975_FS/akmdfs/
H A DAKFS_Measure.c162 int64_t diff; local
168 diff = minimum;
170 diff -= (endL - startL);
173 if (diff < 0) {
174 diff = 0;
178 if (diff > 1000000000) {
179 ret.tv_sec = diff / 1000000000;
180 ret.tv_nsec = diff % 1000000000;
183 ret.tv_nsec = diff;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Ddenoising.c29 * pixel adjustments vs. pixel diff value ahead of time.
31 * = (filter_coefficient * diff + 128) >> 8
39 * The adjustment vs. diff curve becomes flat very quick when diff increases.
44 * diff adjustment w/o motion correction adjustment w/ motion correction
48 * [-3, 3] diff diff
82 int diff = 0; local
86 diff = mc_running_avg_y[c] - sig[c];
87 absdiff = abs(diff);
[all...]
H A Dencodemb.c44 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, argument
48 short *udiff = diff + 256;
49 short *vdiff = diff + 320;
78 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, argument
87 diff[c] = src[c] - pred[c];
90 diff += 16;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_encodemv.c205 const MV diff = {mv->row - ref->row, local
207 const MV_JOINT_TYPE j = vp9_get_mv_joint(&diff);
212 encode_mv_component(w, diff.row, &mvctx->comps[0], usehp);
215 encode_mv_component(w, diff.col, &mvctx->comps[1], usehp);
238 const MV diff = {mvs[i].as_mv.row - ref->row, local
240 vp9_inc_mv(&diff, counts);
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp437 nsecs_t diff = now - mLastFpsTime; local
438 mFps = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff;
455 nsecs_t diff = now - mLastFPSTime; local
456 currentFPS = ((mFrameCount - mLastFrameCount) * float(s2ns(1))) / diff;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_decodemv.c243 MV diff = {0, 0}; local
246 diff.row = read_mv_component(r, &ctx->comps[0], use_hp);
249 diff.col = read_mv_component(r, &ctx->comps[1], use_hp);
251 vp9_inc_mv(&diff, counts);
253 mv->row = ref->row + diff.row;
254 mv->col = ref->col + diff.col;

Completed in 1162 milliseconds

12