Searched defs:ref_frame (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
H A Dec_types.h51 MV_REFERENCE_FRAME ref_frame; member in struct:__anon13076
H A Dthreading.c153 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME)
432 (xd->mode_info_context->mbmi.ref_frame ==
460 xd->pre.y_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset;
461 xd->pre.u_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][1] + recon_uvoffset;
462 xd->pre.v_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][2] + recon_uvoffset;
465 xd->corrupted |= ref_fb_corrupted[xd->mode_info_context->mbmi.ref_frame];
493 const int ref_frame = xd->mode_info_context->mbmi.ref_frame; local
495 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
510 if (next->mbmi.ref_frame
[all...]
/external/libvpx/libvpx/vp8/decoder/
H A Dec_types.h51 MV_REFERENCE_FRAME ref_frame; member in struct:__anon24867
H A Dthreading.c153 if (xd->mode_info_context->mbmi.ref_frame == INTRA_FRAME)
432 (xd->mode_info_context->mbmi.ref_frame ==
460 xd->pre.y_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset;
461 xd->pre.u_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][1] + recon_uvoffset;
462 xd->pre.v_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][2] + recon_uvoffset;
465 xd->corrupted |= ref_fb_corrupted[xd->mode_info_context->mbmi.ref_frame];
493 const int ref_frame = xd->mode_info_context->mbmi.ref_frame; local
495 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
510 if (next->mbmi.ref_frame
[all...]
/external/chromium_org/third_party/webrtc/tools/psnr_ssim_analyzer/
H A Dpsnr_ssim_analyzer.cc38 uint8* ref_frame = new uint8[size]; local
44 reference_file_name, width, height, frame_counter, ref_frame):
46 height, frame_counter, ref_frame);
55 webrtc::test::kPSNR, ref_frame, test_frame, width, height);
57 webrtc::test::kSSIM, ref_frame, test_frame, width, height);
62 delete[] ref_frame;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_mvref_common.c18 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame,
50 if (candidate->ref_frame[0] == ref_frame)
52 else if (candidate->ref_frame[1] == ref_frame)
67 if (candidate->ref_frame[0] == ref_frame)
69 else if (candidate->ref_frame[1] == ref_frame)
76 if (prev_mbmi->ref_frame[
16 find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int block, int mi_row, int mi_col) argument
111 vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int mi_row, int mi_col) argument
[all...]
H A Dvp9_reconinter.c401 uint8_t *ref_frame, *buf_ptr; local
408 ref_frame = ref_buf->y_buffer;
412 ref_frame = plane == 1 ? ref_buf->u_buffer : ref_buf->v_buffer;
461 buf_ptr = ref_frame + y0 * pre_buf->stride + x0;
488 uint8_t *buf_ptr1 = ref_frame + y0 * pre_buf->stride + x0;
H A Dvp9_blockd.h139 MV_REFERENCE_FRAME ref_frame[2]; member in struct:__anon13106
158 return mbmi->ref_frame[0] > INTRA_FRAME;
162 return mbmi->ref_frame[1] > INTRA_FRAME;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_vertex_buffers.c340 vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame) argument
343 assert(ref_frame < VL_MAX_REF_FRAMES);
345 return buffer->mv[ref_frame].vertex_stream;
/external/chromium_org/third_party/webrtc/test/testsupport/metrics/
H A Dvideo_metrics.cc112 I420VideoFrame ref_frame; local
119 ref_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
127 kRotateNone, &ref_frame);
132 CalculateFrame(kPSNR, &ref_frame, &test_frame, frame_number,
136 CalculateFrame(kSSIM, &ref_frame, &test_frame, frame_number,
140 CalculateFrame(kPSNR, &ref_frame, &test_frame, frame_number,
142 CalculateFrame(kSSIM, &ref_frame, &test_frame, frame_number,
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_vertex_buffers.c340 vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame) argument
343 assert(ref_frame < VL_MAX_REF_FRAMES);
345 return buffer->mv[ref_frame].vertex_stream;
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dloopfilter.c217 const int ref_frame = mode_info_context->mbmi.ref_frame; local
219 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
273 const int ref_frame = mode_info_context->mbmi.ref_frame; local
275 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
348 const int ref_frame = mode_info_context->mbmi.ref_frame; local
350 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
404 const int ref_frame local
490 const int ref_frame = mode_info_context->mbmi.ref_frame; local
606 const int ref_frame = mode_info_context->mbmi.ref_frame; local
[all...]
H A Dblockd.h158 uint8_t ref_frame; member in struct:__anon13048
179 MV_REFERENCE_FRAME ref_frame; member in struct:__anon13049
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Ddecode.c170 vlVdpGetReferenceFrame(VdpVideoSurface handle, struct pipe_video_buffer **ref_frame) argument
176 *ref_frame = NULL;
184 *ref_frame = surface->video_buffer;
185 if (!*ref_frame)
/external/chromium_org/third_party/webrtc/common_video/libyuv/
H A Dwebrtc_libyuv.cc333 double I420PSNR(const I420VideoFrame* ref_frame, argument
335 if (!ref_frame || !test_frame)
337 else if ((ref_frame->width() != test_frame->width()) ||
338 (ref_frame->height() != test_frame->height()))
340 else if (ref_frame->width() < 0 || ref_frame->height() < 0)
343 double psnr = libyuv::I420Psnr(ref_frame->buffer(kYPlane),
344 ref_frame->stride(kYPlane),
345 ref_frame->buffer(kUPlane),
346 ref_frame
362 I420SSIM(const I420VideoFrame* ref_frame, const I420VideoFrame* test_frame) argument
[all...]
/external/chromium_org/third_party/webrtc/voice_engine/
H A Dutility_unittest.cc85 void VerifyParams(const AudioFrame& ref_frame, const AudioFrame& test_frame) { argument
86 EXPECT_EQ(ref_frame.num_channels_, test_frame.num_channels_);
87 EXPECT_EQ(ref_frame.samples_per_channel_, test_frame.samples_per_channel_);
88 EXPECT_EQ(ref_frame.sample_rate_hz_, test_frame.sample_rate_hz_);
91 // Computes the best SNR based on the error between |ref_frame| and
94 float ComputeSNR(const AudioFrame& ref_frame, const AudioFrame& test_frame, argument
96 VerifyParams(ref_frame, test_frame);
102 for (int i = 0; i < ref_frame.samples_per_channel_ *
103 ref_frame.num_channels_ - delay; i++) {
104 int error = ref_frame
120 VerifyFramesAreEqual(const AudioFrame& ref_frame, const AudioFrame& test_frame) argument
[all...]
/external/libvpx/libvpx/vp8/common/
H A Dloopfilter.c217 const int ref_frame = mode_info_context->mbmi.ref_frame; local
219 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
273 const int ref_frame = mode_info_context->mbmi.ref_frame; local
275 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
348 const int ref_frame = mode_info_context->mbmi.ref_frame; local
350 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
404 const int ref_frame local
490 const int ref_frame = mode_info_context->mbmi.ref_frame; local
606 const int ref_frame = mode_info_context->mbmi.ref_frame; local
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_pickmode.c39 int ref = mbmi->ref_frame[0];
146 int ref = mbmi->ref_frame[0];
216 MV_REFERENCE_FRAME ref_frame, best_ref_frame = LAST_FRAME; local
252 mbmi->ref_frame[0] = NONE;
253 mbmi->ref_frame[1] = NONE;
261 for (ref_frame = LAST_FRAME; ref_frame <= LAST_FRAME ; ++ref_frame) {
262 x->pred_mv_sad[ref_frame] = INT_MAX;
263 if (cpi->ref_frame_flags & flag_list[ref_frame]) {
[all...]
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Ddecode.c170 vlVdpGetReferenceFrame(VdpVideoSurface handle, struct pipe_video_buffer **ref_frame) argument
176 *ref_frame = NULL;
184 *ref_frame = surface->video_buffer;
185 if (!*ref_frame)
/external/chromium_org/third_party/webrtc/tools/frame_analyzer/
H A Dvideo_quality_analysis.cc170 const uint8* ref_frame, const uint8* test_frame,
172 if (!ref_frame || !test_frame)
178 const uint8* src_y_a = ref_frame;
169 CalculateMetrics(VideoAnalysisMetricsType video_metrics_type, const uint8* ref_frame, const uint8* test_frame, int width, int height) argument
/external/libvpx/libvpx/vp9/common/
H A Dvp9_mvref_common.c141 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) {
168 if ((mbmi)->ref_frame[0] != ref_frame) \
169 ADD_MV_REF_LIST(scale_mv((mbmi), 0, ref_frame, ref_sign_bias)); \
171 (mbmi)->ref_frame[1] != ref_frame && \
173 ADD_MV_REF_LIST(scale_mv((mbmi), 1, ref_frame, ref_sign_bias)); \
193 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame,
225 if (candidate->ref_frame[0] == ref_frame)
191 find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int block, int mi_row, int mi_col) argument
286 vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int mi_row, int mi_col) argument
[all...]
H A Dvp9_reconinter.c283 uint8_t *ref_frame, *buf_ptr; local
290 ref_frame = ref_buf->y_buffer;
294 ref_frame = plane == 1 ? ref_buf->u_buffer : ref_buf->v_buffer;
343 buf_ptr = ref_frame + y0 * pre_buf->stride + x0;
370 uint8_t *buf_ptr1 = ref_frame + y0 * pre_buf->stride + x0;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_decodemv.c173 mbmi->ref_frame[0] = INTRA_FRAME;
174 mbmi->ref_frame[1] = NONE;
274 int segment_id, MV_REFERENCE_FRAME ref_frame[2]) {
279 ref_frame[0] = (MV_REFERENCE_FRAME)vp9_get_segdata(&cm->seg, segment_id,
281 ref_frame[1] = NONE;
291 ref_frame[idx] = cm->comp_fixed_ref;
292 ref_frame[!idx] = cm->comp_var_ref[bit];
303 ref_frame[0] = bit1 ? ALTREF_FRAME : GOLDEN_FRAME;
305 ref_frame[0] = LAST_FRAME;
308 ref_frame[
272 read_ref_frames(VP9_COMMON *const cm, MACROBLOCKD *const xd, vp9_reader *r, int segment_id, MV_REFERENCE_FRAME ref_frame[2]) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_rd.c436 int ref_frame, BLOCK_SIZE block_size) {
452 pred_mv[0] = mbmi->ref_mvs[ref_frame][0].as_mv;
453 pred_mv[1] = mbmi->ref_mvs[ref_frame][1].as_mv;
454 pred_mv[2] = x->pred_mv[ref_frame];
481 x->mv_best_ref_index[ref_frame] = best_index;
482 x->max_mv_context[ref_frame] = max_mv;
483 x->pred_mv_sad[ref_frame] = best_sad;
508 int ref_frame) {
510 const int ref_idx = cm->ref_frame_map[get_ref_frame_idx(cpi, ref_frame)];
511 const int scaled_idx = cpi->scaled_ref_idx[ref_frame
434 vp9_mv_pred(VP9_COMP *cpi, MACROBLOCK *x, uint8_t *ref_y_buffer, int ref_y_stride, int ref_frame, BLOCK_SIZE block_size) argument
507 vp9_get_scaled_ref_frame(const VP9_COMP *cpi, int ref_frame) argument
[all...]
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decodemv.c174 mbmi->ref_frame[0] = INTRA_FRAME;
175 mbmi->ref_frame[1] = NONE;
275 int segment_id, MV_REFERENCE_FRAME ref_frame[2]) {
280 ref_frame[0] = (MV_REFERENCE_FRAME)vp9_get_segdata(&cm->seg, segment_id,
282 ref_frame[1] = NONE;
292 ref_frame[idx] = cm->comp_fixed_ref;
293 ref_frame[!idx] = cm->comp_var_ref[bit];
304 ref_frame[0] = bit1 ? ALTREF_FRAME : GOLDEN_FRAME;
306 ref_frame[0] = LAST_FRAME;
309 ref_frame[
273 read_ref_frames(VP9_COMMON *const cm, MACROBLOCKD *const xd, vp9_reader *r, int segment_id, MV_REFERENCE_FRAME ref_frame[2]) argument
[all...]

Completed in 463 milliseconds

12