Home
last modified time | relevance | path

Searched refs:ref_buffer (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc114 rtc::scoped_ptr<uint8_t[]> ref_buffer(new uint8_t[frame_length]); in CalculateMetrics() local
122 size_t ref_bytes = fread(ref_buffer.get(), 1, frame_length, ref_fp); in CalculateMetrics()
126 ConvertToI420(kI420, ref_buffer.get(), 0, 0, width, height, 0, in CalculateMetrics()
147 ref_bytes = fread(ref_buffer.get(), 1, frame_length, ref_fp); in CalculateMetrics()
/external/webrtc/webrtc/tools/frame_editing/
Dframe_editing_unittest.cc59 rtc::scoped_ptr<int[]>* ref_buffer, in CompareToTheEnd() argument
62 num_bytes_read_ = fread(ref_buffer->get(), 1, kFrameSize, ref_video_fid); in CompareToTheEnd()
72 EXPECT_EQ(0, memcmp(ref_buffer->get(), test_buffer->get(), in CompareToTheEnd()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c316 unsigned char *ref_buffer[MAX_REF_FRAMES][3]; in mt_decode_mb_rows() local
327 ref_buffer[i][0] = this_fb->y_buffer; in mt_decode_mb_rows()
328 ref_buffer[i][1] = this_fb->u_buffer; in mt_decode_mb_rows()
329 ref_buffer[i][2] = this_fb->v_buffer; in mt_decode_mb_rows()
463 xd->pre.y_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset; in mt_decode_mb_rows()
464 xd->pre.u_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][1] + recon_uvoffset; in mt_decode_mb_rows()
465 xd->pre.v_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][2] + recon_uvoffset; in mt_decode_mb_rows()
Ddecodeframe.c522 unsigned char *ref_buffer[MAX_REF_FRAMES][3]; in decode_mb_rows() local
535 ref_buffer[i][0] = this_fb->y_buffer; in decode_mb_rows()
536 ref_buffer[i][1] = this_fb->u_buffer; in decode_mb_rows()
537 ref_buffer[i][2] = this_fb->v_buffer; in decode_mb_rows()
640 xd->pre.y_buffer = ref_buffer[ref][0] + recon_yoffset; in decode_mb_rows()
641 xd->pre.u_buffer = ref_buffer[ref][1] + recon_uvoffset; in decode_mb_rows()
642 xd->pre.v_buffer = ref_buffer[ref][2] + recon_uvoffset; in decode_mb_rows()
/external/webrtc/webrtc/common_audio/
Daudio_converter_unittest.cc124 ScopedBuffer ref_buffer = CreateBuffer(ref_data, dst_frames); in RunAudioConverterTest() local
141 ComputeSNR(*ref_buffer.get(), *dst_buffer.get(), delay_frames)); in RunAudioConverterTest()