Home
last modified time | relevance | path

Searched refs:num_ref_pics (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/modules/video_coding/codecs/vp9/include/
Dvp9_globals.h50 num_ref_pics[0] = 1; in SetGofInfoVP9()
57 num_ref_pics[0] = 1; in SetGofInfoVP9()
62 num_ref_pics[1] = 1; in SetGofInfoVP9()
69 num_ref_pics[0] = 1; in SetGofInfoVP9()
74 num_ref_pics[1] = 1; in SetGofInfoVP9()
79 num_ref_pics[2] = 1; in SetGofInfoVP9()
84 num_ref_pics[3] = 1; in SetGofInfoVP9()
91 num_ref_pics[0] = 1; in SetGofInfoVP9()
96 num_ref_pics[1] = 1; in SetGofInfoVP9()
101 num_ref_pics[2] = 1; in SetGofInfoVP9()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc42 EXPECT_EQ(expected.num_ref_pics, actual.num_ref_pics); in VerifyHeader()
43 for (uint8_t i = 0; i < expected.num_ref_pics; ++i) { in VerifyHeader()
62 EXPECT_EQ(expected.gof.num_ref_pics[i], actual.gof.num_ref_pics[i]); in VerifyHeader()
63 for (uint8_t j = 0; j < expected.gof.num_ref_pics[i]; j++) { in VerifyHeader()
307 expected_.num_ref_pics = 3; in TEST_F()
333 expected_.num_ref_pics = 1; in TEST_F()
350 expected_.gof.num_ref_pics[0] = 1; in TEST_F()
400 expected_.gof.num_ref_pics[0] = 0; in TEST_F()
401 expected_.gof.num_ref_pics[1] = 3; in TEST_F()
402 expected_.gof.num_ref_pics[2] = 2; in TEST_F()
[all …]
Drtp_format_vp9.cc97 RTC_DCHECK_GT(hdr.num_ref_pics, 0U); in RefIndicesLength()
98 RTC_DCHECK_LE(hdr.num_ref_pics, kMaxVp9RefPics); in RefIndicesLength()
99 return hdr.num_ref_pics; in RefIndicesLength()
139 RTC_DCHECK_LE(hdr.gof.num_ref_pics[i], kMaxVp9RefPics); in SsDataLength()
140 length += hdr.gof.num_ref_pics[i]; // R times in SsDataLength()
218 if (!PictureIdPresent(vp9) || vp9.num_ref_pics == 0 || in WriteRefIndices()
219 vp9.num_ref_pics > kMaxVp9RefPics) { in WriteRefIndices()
222 for (uint8_t i = 0; i < vp9.num_ref_pics; ++i) { in WriteRefIndices()
223 bool n_bit = !(i == vp9.num_ref_pics - 1); in WriteRefIndices()
275 RETURN_FALSE_ON_ERROR(writer->WriteBits(vp9.gof.num_ref_pics[i], 2)); in WriteSsData()
[all …]
Dvideo_rtp_depacketizer_vp9_unittest.cc41 EXPECT_EQ(expected.num_ref_pics, actual.num_ref_pics); in VerifyHeader()
42 for (uint8_t i = 0; i < expected.num_ref_pics; ++i) { in VerifyHeader()
61 EXPECT_EQ(expected.gof.num_ref_pics[i], actual.gof.num_ref_pics[i]); in VerifyHeader()
62 for (uint8_t j = 0; j < expected.gof.num_ref_pics[i]; j++) { in VerifyHeader()
204 expected.num_ref_pics = 3; in TEST()
266 expected.gof.num_ref_pics[0] = 0; in TEST()
267 expected.gof.num_ref_pics[1] = 1; in TEST()
Dvideo_rtp_depacketizer_vp9.cc113 vp9->num_ref_pics = 0; in ParseRefIndices()
116 if (vp9->num_ref_pics == kMaxVp9RefPics) in ParseRefIndices()
123 vp9->pid_diff[vp9->num_ref_pics] = p_diff; in ParseRefIndices()
129 vp9->ref_picture_id[vp9->num_ref_pics++] = scaled_pid - p_diff; in ParseRefIndices()
184 vp9->gof.num_ref_pics[i] = r; in ParseSsData()
186 for (uint8_t p = 0; p < vp9->gof.num_ref_pics[i]; ++p) { in ParseSsData()
/external/webrtc/modules/video_coding/
Ddecoding_state_unittest.cc498 vp9_hdr.num_ref_pics = 1; in TEST()
535 vp9_hdr.num_ref_pics = 1; in TEST()
552 vp9_hdr.num_ref_pics = 3; in TEST()
599 vp9_hdr.num_ref_pics = 1; in TEST()
623 vp9_hdr.num_ref_pics = 2; in TEST()
632 vp9_hdr.num_ref_pics = 3; in TEST()
644 vp9_hdr.num_ref_pics = 0; in TEST()
653 vp9_hdr.num_ref_pics = 1; in TEST()
662 vp9_hdr.num_ref_pics = 1; in TEST()
671 vp9_hdr.num_ref_pics = 1; in TEST()
[all …]
Dencoded_frame.cc95 _codecSpecificInfo.codecSpecific.VP9.num_ref_pics = in CopyCodecSpecific()
96 vp9_header.num_ref_pics; in CopyCodecSpecific()
97 for (uint8_t r = 0; r < vp9_header.num_ref_pics; ++r) { in CopyCodecSpecific()
Drtp_frame_reference_finder.cc466 if (codec_header.num_ref_pics > EncodedFrame::kMaxFrameReferences) { in ManageFrameVp9()
469 frame->num_references = codec_header.num_ref_pics; in ManageFrameVp9()
498 if (codec_header.gof.num_ref_pics[i] > kMaxVp9RefPics) { in ManageFrameVp9()
589 if (info->gof->num_ref_pics[gof_idx] > EncodedFrame::kMaxFrameReferences) { in ManageFrameVp9()
593 frame->num_references = info->gof->num_ref_pics[gof_idx]; in ManageFrameVp9()
632 uint8_t num_references = info.gof->num_ref_pics[gof_idx]; in MissingRequiredFrameVp9()
Dsession_info.cc161 vp9_header->num_ref_pics = gof_info.num_ref_pics[idx]; in SetGofInfo()
162 for (uint8_t i = 0; i < gof_info.num_ref_pics[idx]; ++i) { in SetGofInfo()
Ddecoding_state.cc277 uint8_t num_refs = frame->CodecSpecific()->codecSpecific.VP9.num_ref_pics; in ContinuousFrameRefs()
Drtp_frame_reference_finder_unittest.cc161 vp9_header.num_ref_pics = refs.size(); in InsertVp9Flex()
/external/webrtc/modules/video_coding/include/
Dvideo_codec_interface.h79 uint8_t num_ref_pics; member
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc1159 vp9_info->num_ref_pics = 0; in PopulateCodecSpecific()
1168 RTC_DCHECK(vp9_info->num_ref_pics == gof_.num_ref_pics[vp9_info->gof_idx] || in PopulateCodecSpecific()
1169 vp9_info->num_ref_pics == 0); in PopulateCodecSpecific()
1172 vp9_info->inter_pic_predicted = (!is_key_pic && vp9_info->num_ref_pics > 0); in PopulateCodecSpecific()
1281 vp9_info->num_ref_pics = 0; in FillReferenceIndices()
1308 vp9_info->p_diff[vp9_info->num_ref_pics] = static_cast<uint8_t>(p_diff); in FillReferenceIndices()
1309 ++vp9_info->num_ref_pics; in FillReferenceIndices()
1412 RTC_DCHECK_EQ(gof_.num_ref_pics[gof_idx], 1); in SetReferences()
/external/webrtc/call/
Drtp_payload_params.cc84 vp9_header.num_ref_pics = info.codecSpecific.VP9.num_ref_pics; in PopulateRtpWithCodecSpecifics()
85 for (int i = 0; i < info.codecSpecific.VP9.num_ref_pics; ++i) { in PopulateRtpWithCodecSpecifics()
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc1462 EXPECT_EQ(vp9.num_ref_pics, 0) << "Frame " << i; in TEST_F()
1464 EXPECT_THAT(rtc::MakeArrayView(vp9.p_diff, vp9.num_ref_pics), in TEST_F()
1466 gof.num_ref_pics[gof_idx])) in TEST_F()
/external/webrtc/video/
Dvideo_send_stream_tests.cc3723 EXPECT_GT(vp9_header.num_ref_pics, 0u); in TEST_F()