Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9.cc101 RTC_DCHECK_GT(hdr.num_ref_pics, 0U); in RefIndicesLength()
102 RTC_DCHECK_LE(hdr.num_ref_pics, kMaxVp9RefPics); in RefIndicesLength()
103 return hdr.num_ref_pics; in RefIndicesLength()
143 RTC_DCHECK_LE(hdr.gof.num_ref_pics[i], kMaxVp9RefPics); in SsDataLength()
144 length += hdr.gof.num_ref_pics[i]; // R times in SsDataLength()
239 vp9.num_ref_pics == 0 || vp9.num_ref_pics > kMaxVp9RefPics) { in WriteRefIndices()
242 for (uint8_t i = 0; i < vp9.num_ref_pics; ++i) { in WriteRefIndices()
243 bool n_bit = !(i == vp9.num_ref_pics - 1); in WriteRefIndices()
295 RETURN_FALSE_ON_ERROR(writer->WriteBits(vp9.gof.num_ref_pics[i], 2)); in WriteSsData()
297 for (uint8_t r = 0; r < vp9.gof.num_ref_pics[i]; ++r) { in WriteSsData()
[all …]
Drtp_format_vp9_unittest.cc37 EXPECT_EQ(expected.num_ref_pics, actual.num_ref_pics); in VerifyHeader()
38 for (uint8_t i = 0; i < expected.num_ref_pics; ++i) { in VerifyHeader()
57 EXPECT_EQ(expected.gof.num_ref_pics[i], actual.gof.num_ref_pics[i]); in VerifyHeader()
58 for (uint8_t j = 0; j < expected.gof.num_ref_pics[i]; j++) { in VerifyHeader()
307 expected_.num_ref_pics = 3; in TEST_F()
334 expected_.num_ref_pics = 1; in TEST_F()
352 expected_.gof.num_ref_pics[0] = 1; in TEST_F()
404 expected_.gof.num_ref_pics[0] = 0; in TEST_F()
405 expected_.gof.num_ref_pics[1] = 3; in TEST_F()
406 expected_.gof.num_ref_pics[2] = 2; in TEST_F()
[all …]
/external/webrtc/webrtc/modules/include/
Dmodule_common_types.h86 num_ref_pics[0] = 1; in SetGofInfoVP9()
93 num_ref_pics[0] = 1; in SetGofInfoVP9()
98 num_ref_pics[1] = 1; in SetGofInfoVP9()
105 num_ref_pics[0] = 1; in SetGofInfoVP9()
110 num_ref_pics[1] = 1; in SetGofInfoVP9()
115 num_ref_pics[2] = 1; in SetGofInfoVP9()
120 num_ref_pics[3] = 2; in SetGofInfoVP9()
134 num_ref_pics[i] = src.num_ref_pics[i]; in CopyGofInfoVP9()
135 for (uint8_t r = 0; r < num_ref_pics[i]; ++r) { in CopyGofInfoVP9()
144 uint8_t num_ref_pics[kMaxVp9FramesInGof]; member
[all …]
/external/webrtc/webrtc/modules/video_coding/
Ddecoding_state_unittest.cc486 vp9_hdr.num_ref_pics = 1; in TEST()
522 vp9_hdr.num_ref_pics = 1; in TEST()
539 vp9_hdr.num_ref_pics = 3; in TEST()
585 vp9_hdr.num_ref_pics = 1; in TEST()
609 vp9_hdr.num_ref_pics = 2; in TEST()
618 vp9_hdr.num_ref_pics = 3; in TEST()
630 vp9_hdr.num_ref_pics = 0; in TEST()
639 vp9_hdr.num_ref_pics = 1; in TEST()
648 vp9_hdr.num_ref_pics = 1; in TEST()
657 vp9_hdr.num_ref_pics = 1; in TEST()
[all …]
Dencoded_frame.cc143 _codecSpecificInfo.codecSpecific.VP9.num_ref_pics = in CopyCodecSpecific()
144 header->codecHeader.VP9.num_ref_pics; in CopyCodecSpecific()
145 for (uint8_t r = 0; r < header->codecHeader.VP9.num_ref_pics; ++r) { in CopyCodecSpecific()
Dgeneric_encoder.cc76 rtp->codecHeader.VP9.num_ref_pics = info->codecSpecific.VP9.num_ref_pics; in CopyCodecSpecific()
77 for (int i = 0; i < info->codecSpecific.VP9.num_ref_pics; ++i) in CopyCodecSpecific()
Dsession_info.cc126 packets_.front().codecSpecificHeader.codecHeader.VP9.num_ref_pics = in SetGofInfo()
127 gof_info.num_ref_pics[idx]; in SetGofInfo()
128 for (uint8_t i = 0; i < gof_info.num_ref_pics[idx]; ++i) { in SetGofInfo()
Ddecoding_state.cc249 uint8_t num_refs = frame->CodecSpecific()->codecSpecific.VP9.num_ref_pics; in ContinuousFrameRefs()
Djitter_buffer.cc193 vp9->num_ref_pics = it->second.num_ref_pics[gof_idx]; in UpdatePacket()
194 for (uint8_t i = 0; i < it->second.num_ref_pics[gof_idx]; ++i) { in UpdatePacket()
Djitter_buffer_unittest.cc161 EXPECT_EQ(1U, packet_.codecSpecificHeader.codecHeader.VP9.num_ref_pics); in TEST_F()
168 EXPECT_EQ(1U, packet_.codecSpecificHeader.codecHeader.VP9.num_ref_pics); in TEST_F()
175 EXPECT_EQ(1U, packet_.codecSpecificHeader.codecHeader.VP9.num_ref_pics); in TEST_F()
182 EXPECT_EQ(2U, packet_.codecSpecificHeader.codecHeader.VP9.num_ref_pics); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/include/
Dvideo_codec_interface.h72 uint8_t num_ref_pics; member
/external/webrtc/webrtc/modules/video_coding/codecs/interface/
Dvideo_codec_interface.h74 uint8_t num_ref_pics; member
/external/v4l2_codec2/vda/
Dh264_decoder.cc902 int num_ref_pics = dpb_.CountRefPics(); in SlidingWindowPictureMarking() local
903 DCHECK_LE(num_ref_pics, std::max<int>(sps->max_num_ref_frames, 1)); in SlidingWindowPictureMarking()
904 if (num_ref_pics == std::max<int>(sps->max_num_ref_frames, 1)) { in SlidingWindowPictureMarking()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc624 vp9_info->num_ref_pics = 0; in PopulateCodecSpecific()
627 vp9_info->num_ref_pics = num_ref_pics_[layer_id.spatial_layer_id]; in PopulateCodecSpecific()
/external/webrtc/webrtc/video/
Dvideo_send_stream_tests.cc2230 EXPECT_GT(vp9_header.num_ref_pics, 0u); in TEST_F()