/external/webrtc/modules/video_coding/ |
D | rtp_frame_reference_finder.cc | 91 frame->id.picture_id += picture_id_offset_; in HandOffFrame() 114 return ManageFramePidOrSeqNum(frame, generic_header->picture_id); in ManageFrameInternal() 184 frame->id.picture_id = descriptor.frame_id; in ManageFrameGeneric() 201 int picture_id) { in ManageFramePidOrSeqNum() argument 204 if (picture_id != kNoPictureId) { in ManageFramePidOrSeqNum() 205 frame->id.picture_id = unwrapper_.Unwrap(picture_id & 0x7FFF); in ManageFramePidOrSeqNum() 208 frame->references[0] = frame->id.picture_id - 1; in ManageFramePidOrSeqNum() 257 frame->id.picture_id = frame->last_seq_num(); in ManageFramePidOrSeqNum() 261 if (AheadOf<uint16_t>(frame->id.picture_id, last_picture_id_gop)) { in ManageFramePidOrSeqNum() 262 seq_num_it->second.first = frame->id.picture_id; in ManageFramePidOrSeqNum() [all …]
|
D | decoding_state_unittest.cc | 474 vp9_hdr.picture_id = 10; in TEST() 488 vp9_hdr.picture_id = 11; in TEST() 497 vp9_hdr.picture_id = 12; in TEST() 518 vp9_hdr.picture_id = 10; in TEST() 534 vp9_hdr.picture_id = 15; in TEST() 543 vp9_hdr.picture_id = 12; in TEST() 551 vp9_hdr.picture_id = 20; in TEST() 574 vp9_hdr.picture_id = 10; in TEST() 600 vp9_hdr.picture_id = 15; in TEST() 608 vp9_hdr.picture_id = 16; in TEST() [all …]
|
D | frame_buffer2.cc | 170 next_frame_it->first.picture_id != frame->id.picture_id || in FindNextFrame() 364 if (frame.references[i] >= frame.id.picture_id) in ValidReferences() 402 prev_frame->first.picture_id != id.picture_id || in IsCompleteSuperFrame() 420 next_frame->first.picture_id != id.picture_id || in IsCompleteSuperFrame() 438 !last_continuous_frame_ ? -1 : last_continuous_frame_->picture_id; in InsertFrame() 442 << id.picture_id << ":" in InsertFrame() 451 << id.picture_id << ":" in InsertFrame() 458 << id.picture_id << ":" in InsertFrame() 483 << id.picture_id << ":" in InsertFrame() 486 << last_decoded_frame->picture_id << ":" in InsertFrame() [all …]
|
D | rtp_frame_reference_finder.h | 99 FrameDecision ManageFramePidOrSeqNum(RtpFrameObject* frame, int picture_id); 115 bool MissingRequiredFrameVp9(uint16_t picture_id, const GofInfo& info); 120 void FrameReceivedVp9(uint16_t picture_id, GofInfo* info); 124 bool UpSwitchInIntervalVp9(uint16_t picture_id,
|
D | frame_buffer2_unittest.cc | 155 std::unique_ptr<FrameObjectFake> CreateFrame(uint16_t picture_id, in CreateFrame() argument 168 frame->id.picture_id = picture_id; in CreateFrame() 183 int InsertFrame(uint16_t picture_id, in InsertFrame() argument 191 CreateFrame(picture_id, spatial_layer, ts_ms, inter_layer_predicted, in InsertFrame() 195 int InsertNackedFrame(uint16_t picture_id, int64_t ts_ms) { in InsertNackedFrame() argument 197 CreateFrame(picture_id, 0, ts_ms, false, true, kFrameSize); in InsertNackedFrame() 218 void CheckFrame(size_t index, int picture_id, int spatial_layer) { in CheckFrame() argument 221 ASSERT_EQ(picture_id, frames_[index]->id.picture_id); in CheckFrame() 285 test_frame->id.picture_id = 0; in TEST_F() 557 frame->id.picture_id = pid; in TEST_F()
|
D | decoding_state.cc | 240 bool VCMDecodingState::ContinuousPictureId(int picture_id) const { in ContinuousPictureId() 242 if (picture_id < picture_id_) { in ContinuousPictureId() 246 return ((next_picture_id & 0x7FFF) == picture_id); in ContinuousPictureId() 249 return ((next_picture_id & 0x7F) == picture_id); in ContinuousPictureId() 253 return (next_picture_id == picture_id); in ContinuousPictureId()
|
/external/webrtc/api/video/ |
D | encoded_frame.h | 26 VideoLayerFrameId() : picture_id(-1), spatial_layer(0) {} in VideoLayerFrameId() 27 VideoLayerFrameId(int64_t picture_id, uint8_t spatial_layer) in VideoLayerFrameId() 28 : picture_id(picture_id), spatial_layer(spatial_layer) {} in VideoLayerFrameId() 31 return picture_id == rhs.picture_id && spatial_layer == rhs.spatial_layer; 39 if (picture_id == rhs.picture_id) 41 return picture_id < rhs.picture_id; 48 int64_t picture_id; member
|
/external/webrtc/modules/video_coding/utility/ |
D | decoded_frames_history.cc | 40 layers_[frameid.spatial_layer].last_picture_id = frameid.picture_id; in InsertDecoded() 42 .buffer[PictureIdToIndex(frameid.picture_id)] = true; in InsertDecoded() 46 int new_index = PictureIdToIndex(frameid.picture_id); in InsertDecoded() 49 RTC_DCHECK(history.last_picture_id < frameid.picture_id); in InsertDecoded() 53 int64_t id_jump = frameid.picture_id - *history.last_picture_id; in InsertDecoded() 70 history.last_picture_id = frameid.picture_id; in InsertDecoded() 84 if (frameid.picture_id <= *history.last_picture_id - window_size_) { in WasDecoded() 90 if (frameid.picture_id > history.last_picture_id) in WasDecoded() 93 return history.buffer[PictureIdToIndex(frameid.picture_id)]; in WasDecoded()
|
D | decoded_frames_history_unittest.cc | 129 EXPECT_EQ(history.GetLastDecodedFrameId()->picture_id, -1233); in TEST() 133 EXPECT_EQ(history.GetLastDecodedFrameId()->picture_id, 0); in TEST() 136 EXPECT_EQ(history.GetLastDecodedFrameId()->picture_id, 1); in TEST()
|
/external/webrtc/video/ |
D | picture_id_tests.cc | 76 int16_t picture_id; member 105 parsed->picture_id = vp8_header->pictureId; in ParsePayload() 110 parsed->picture_id = vp9_header->picture_id; in ParsePayload() 126 EXPECT_EQ(last.picture_id, current.picture_id); in VerifyPictureId() 132 EXPECT_TRUE((AheadOf<uint16_t, kPictureIdWraparound>(current.picture_id, in VerifyPictureId() 133 last.picture_id))); in VerifyPictureId() 136 int diff = ForwardDiff<uint16_t, kPictureIdWraparound>(last.picture_id, in VerifyPictureId() 137 current.picture_id); in VerifyPictureId()
|
D | video_receive_stream_unittest.cc | 180 test_frame->id.picture_id = 0; in TEST_F() 211 test_frame->id.picture_id = 0; in TEST_F() 227 test_frame->id.picture_id = 0; in TEST_F() 291 test_frame->id.picture_id = 0; in TEST_F() 304 test_frame->id.picture_id = 0; in TEST_F() 317 test_frame->id.picture_id = 0; in TEST_F() 336 test_frame->id.picture_id = 0; in TEST_F() 407 int picture_id) { in MakeFrame() argument 410 frame->id.picture_id = picture_id; in MakeFrame()
|
D | video_receive_stream2_unittest.cc | 183 test_frame->id.picture_id = 0; in TEST_F() 214 test_frame->id.picture_id = 0; in TEST_F() 230 test_frame->id.picture_id = 0; in TEST_F() 295 test_frame->id.picture_id = 0; in TEST_F() 308 test_frame->id.picture_id = 0; in TEST_F() 321 test_frame->id.picture_id = 0; in TEST_F() 340 test_frame->id.picture_id = 0; in TEST_F() 411 int picture_id) { in MakeFrame() argument 414 frame->id.picture_id = picture_id; in MakeFrame()
|
D | video_stream_decoder_impl_unittest.cc | 151 FrameBuilder& WithPictureId(int picture_id) { in WithPictureId() argument 152 frame_->id.picture_id = picture_id; in WithPictureId()
|
D | rtp_video_stream_receiver2_unittest.cc | 808 EXPECT_EQ(frame->references[0], frame->id.picture_id - 90); in TEST_F() 809 EXPECT_EQ(frame->references[1], frame->id.picture_id - 80); in TEST_F() 944 first_picture_id = frame->id.picture_id; in TEST_F() 950 EXPECT_EQ(frame->id.picture_id - first_picture_id, 3); in TEST_F() 1016 first_picture_id = frame->id.picture_id; in TEST_F() 1033 EXPECT_EQ(frame->id.picture_id - first_picture_id, 18); in TEST_F() 1037 EXPECT_EQ(frame->id.picture_id - first_picture_id, 14); in TEST_F() 1102 EXPECT_EQ(frame->id.picture_id & 0xFFFF, 3); in TEST_F() 1114 EXPECT_EQ(frame->id.picture_id & 0xFFFF, 4); in TEST_F()
|
D | rtp_video_stream_receiver_unittest.cc | 801 EXPECT_EQ(frame->references[0], frame->id.picture_id - 90); in TEST_F() 802 EXPECT_EQ(frame->references[1], frame->id.picture_id - 80); in TEST_F() 937 first_picture_id = frame->id.picture_id; in TEST_F() 943 EXPECT_EQ(frame->id.picture_id - first_picture_id, 3); in TEST_F() 1009 first_picture_id = frame->id.picture_id; in TEST_F() 1026 EXPECT_EQ(frame->id.picture_id - first_picture_id, 18); in TEST_F() 1030 EXPECT_EQ(frame->id.picture_id - first_picture_id, 14); in TEST_F() 1095 EXPECT_EQ(frame->id.picture_id & 0xFFFF, 3); in TEST_F() 1107 EXPECT_EQ(frame->id.picture_id & 0xFFFF, 4); in TEST_F()
|
/external/webrtc/call/ |
D | rtp_payload_params_unittest.cc | 51 state2.picture_id = kPictureId; in TEST() 93 state.picture_id = kPictureId; in TEST() 117 EXPECT_EQ(kPictureId + 1, vp9_header.picture_id); in TEST() 141 EXPECT_EQ(kPictureId + 1, vp9_header.picture_id); in TEST() 153 state.picture_id = kInitialPictureId1; in TEST() 169 EXPECT_EQ(kInitialPictureId1 + 1, state.picture_id); in TEST() 175 state.picture_id = kMaxTwoBytePictureId; in TEST() 191 EXPECT_EQ(0, params.state().picture_id); // Wrapped. in TEST() 197 state.picture_id = kInitialPictureId1; in TEST() 226 EXPECT_EQ(kInitialPictureId1 + 2, params.state().picture_id); in TEST() [all …]
|
D | rtp_payload_params.cc | 140 state_.picture_id = in RtpPayloadParams() 141 state ? state->picture_id : (random.Rand<int16_t>() & 0x7FFF); in RtpPayloadParams() 195 state_.picture_id = (static_cast<uint16_t>(state_.picture_id) + 1) & 0x7FFF; in SetCodecSpecific() 200 vp8_header.pictureId = state_.picture_id; in SetCodecSpecific() 212 vp9_header.picture_id = state_.picture_id; in SetCodecSpecific() 230 .picture_id = state_.picture_id; in SetCodecSpecific()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_video_generic.cc | 94 uint16_t picture_id = generic_header->picture_id; in BuildHeader() local 96 header_[1] = (picture_id >> 8) & 0x7F; in BuildHeader() 97 header_[2] = picture_id & 0xFF; in BuildHeader()
|
D | video_rtp_depacketizer_vp9.cc | 41 uint32_t picture_id; in ParsePictureId() local 45 RETURN_FALSE_ON_ERROR(parser->ReadBits(&picture_id, 15)); in ParsePictureId() 48 RETURN_FALSE_ON_ERROR(parser->ReadBits(&picture_id, 7)); in ParsePictureId() 51 vp9->picture_id = picture_id; in ParsePictureId() 110 if (vp9->picture_id == kNoPictureId) in ParseRefIndices() 124 uint32_t scaled_pid = vp9->picture_id; in ParseRefIndices()
|
D | rtp_format_video_generic_unittest.cc | 79 .picture_id = 37; in TEST() 102 .picture_id = 37; in TEST() 118 .picture_id = 37; in TEST() 133 .picture_id = 0x8137; in TEST()
|
D | video_rtp_depacketizer_vp9_unittest.cc | 33 EXPECT_EQ(expected.picture_id, actual.picture_id); in VerifyHeader() 96 expected.picture_id = kMaxOneBytePictureId; in TEST() 114 expected.picture_id = kMaxTwoBytePictureId; in TEST() 203 expected.picture_id = kPictureId; in TEST()
|
D | rtp_format_vp9_unittest.cc | 34 EXPECT_EQ(expected.picture_id, actual.picture_id); in VerifyHeader() 226 expected_.picture_id = kMaxOneBytePictureId; // 2 byte payload descriptor in TEST_F() 243 expected_.picture_id = kMaxTwoBytePictureId; // 3 byte payload descriptor in TEST_F() 304 expected_.picture_id = 2; in TEST_F()
|
/external/mesa3d/src/gallium/frontends/va/ |
D | picture_hevc_enc.c | 49 context->desc.h265enc.decoded_curr_pic = h265->decoded_curr_pic.picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 52 context->desc.h265enc.reference_frames[i] = h265->reference_frames[i].picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 86 UINT_TO_PTR(h265->decoded_curr_pic.picture_id), in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 102 if (h265->ref_pic_list0[i].picture_id != VA_INVALID_ID) { in vlVaHandleVAEncSliceParameterBufferTypeHEVC() 105 UINT_TO_PTR(h265->ref_pic_list0[i].picture_id))); in vlVaHandleVAEncSliceParameterBufferTypeHEVC() 107 if (h265->ref_pic_list1[i].picture_id != VA_INVALID_ID && h265->slice_type == 1) { in vlVaHandleVAEncSliceParameterBufferTypeHEVC() 110 UINT_TO_PTR(h265->ref_pic_list1[i].picture_id))); in vlVaHandleVAEncSliceParameterBufferTypeHEVC()
|
D | picture_h264_enc.c | 56 UINT_TO_PTR(h264->CurrPic.picture_id), in vlVaHandleVAEncPictureParameterBufferTypeH264() 84 if (h264->RefPicList0[i].picture_id != VA_INVALID_ID) { in vlVaHandleVAEncSliceParameterBufferTypeH264() 87 UINT_TO_PTR(h264->RefPicList0[i].picture_id))); in vlVaHandleVAEncSliceParameterBufferTypeH264() 89 if (h264->RefPicList1[i].picture_id != VA_INVALID_ID && h264->slice_type == 1) { in vlVaHandleVAEncSliceParameterBufferTypeH264() 92 UINT_TO_PTR(h264->RefPicList1[i].picture_id))); in vlVaHandleVAEncSliceParameterBufferTypeH264()
|
/external/webrtc/modules/video_coding/codecs/vp9/include/ |
D | vp9_globals.h | 166 picture_id = kNoPictureId; in InitRTPVideoHeaderVP9() 190 int16_t picture_id; // PictureID index, 15 bits; member
|