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/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()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c266 unsigned char *ref_buffer[MAX_REF_FRAMES][3]; in mt_decode_mb_rows() local
276 ref_buffer[i][0] = this_fb->y_buffer; in mt_decode_mb_rows()
277 ref_buffer[i][1] = this_fb->u_buffer; in mt_decode_mb_rows()
278 ref_buffer[i][2] = this_fb->v_buffer; in mt_decode_mb_rows()
405 ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset; in mt_decode_mb_rows()
407 ref_buffer[xd->mode_info_context->mbmi.ref_frame][1] + recon_uvoffset; in mt_decode_mb_rows()
409 ref_buffer[xd->mode_info_context->mbmi.ref_frame][2] + recon_uvoffset; in mt_decode_mb_rows()
Ddecodeframe.c454 unsigned char *ref_buffer[MAX_REF_FRAMES][3]; in decode_mb_rows() local
466 ref_buffer[i][0] = this_fb->y_buffer; in decode_mb_rows()
467 ref_buffer[i][1] = this_fb->u_buffer; in decode_mb_rows()
468 ref_buffer[i][2] = this_fb->v_buffer; in decode_mb_rows()
562 xd->pre.y_buffer = ref_buffer[ref][0] + recon_yoffset; in decode_mb_rows()
563 xd->pre.u_buffer = ref_buffer[ref][1] + recon_uvoffset; in decode_mb_rows()
564 xd->pre.v_buffer = ref_buffer[ref][2] + recon_uvoffset; in decode_mb_rows()