Home
last modified time | relevance | path

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

/external/webrtc/modules/video_coding/
Ddecoding_state.cc81 for (const NaluInfo& nalu : frame->GetNaluInfos()) { in SetState() local
82 if (nalu.type == H264::NaluType::kPps) { in SetState()
83 if (nalu.pps_id < 0) { in SetState()
85 } else if (nalu.sps_id < 0) { in SetState()
88 received_pps_[nalu.pps_id] = nalu.sps_id; in SetState()
90 } else if (nalu.type == H264::NaluType::kSps) { in SetState()
91 if (nalu.sps_id < 0) { in SetState()
94 received_sps_.insert(nalu.sps_id); in SetState()
323 for (const NaluInfo& nalu : nalus) { in HaveSpsAndPps() local
325 if (nalu.sps_id == -1 && nalu.pps_id == -1) in HaveSpsAndPps()
[all …]
Dh264_sps_pps_tracker.cc62 const NaluInfo& nalu = h264_header.nalus[i]; in CopyAndFixBitstream() local
63 switch (nalu.type) { in CopyAndFixBitstream()
65 SpsInfo& sps_info = sps_data_[nalu.sps_id]; in CopyAndFixBitstream()
71 pps_data_[nalu.pps_id].sps_id = nalu.sps_id; in CopyAndFixBitstream()
79 if (nalu.pps_id == -1) { in CopyAndFixBitstream()
84 pps = pps_data_.find(nalu.pps_id); in CopyAndFixBitstream()
87 << "No PPS with id << " << nalu.pps_id << " received"; in CopyAndFixBitstream()
Dh264_sps_pps_tracker_unittest.cc44 for (const auto& nalu : codec_header.nalus) { in ExpectSpsPpsIdr() local
45 if (nalu.type == H264::NaluType::kSps) { in ExpectSpsPpsIdr()
46 EXPECT_EQ(sps_id, nalu.sps_id); in ExpectSpsPpsIdr()
48 } else if (nalu.type == H264::NaluType::kPps) { in ExpectSpsPpsIdr()
49 EXPECT_EQ(sps_id, nalu.sps_id); in ExpectSpsPpsIdr()
50 EXPECT_EQ(pps_id, nalu.pps_id); in ExpectSpsPpsIdr()
52 } else if (nalu.type == H264::NaluType::kIdr) { in ExpectSpsPpsIdr()
53 EXPECT_EQ(pps_id, nalu.pps_id); in ExpectSpsPpsIdr()
/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_h264.cc120 NaluInfo nalu; in ProcessStapAOrSingleNalu() local
121 nalu.type = payload_data[start_offset] & kTypeMask; in ProcessStapAOrSingleNalu()
122 nalu.sps_id = -1; in ProcessStapAOrSingleNalu()
123 nalu.pps_id = -1; in ProcessStapAOrSingleNalu()
126 switch (nalu.type) { in ProcessStapAOrSingleNalu()
175 nalu.sps_id = sps->id; in ProcessStapAOrSingleNalu()
189 nalu.pps_id = pps_id; in ProcessStapAOrSingleNalu()
190 nalu.sps_id = sps_id; in ProcessStapAOrSingleNalu()
205 nalu.pps_id = *pps_id; in ProcessStapAOrSingleNalu()
208 << static_cast<int>(nalu.type); in ProcessStapAOrSingleNalu()
[all …]
Drtp_format_h264_unittest.cc101 for (const rtc::Buffer& nalu : nalus) { in CreateFrame() local
102 frame_size += (kStartCodeSize + nalu.size()); in CreateFrame()
106 for (const rtc::Buffer& nalu : nalus) { in CreateFrame() local
112 memcpy(frame.data() + offset + 3, nalu.data(), nalu.size()); in CreateFrame()
113 offset += (kStartCodeSize + nalu.size()); in CreateFrame()
411 rtc::Buffer nalu[] = {GenerateNalUnit(kNalHeaderSize + frame_payload_size)}; in TestFua() local
412 rtc::Buffer frame = CreateFrame(nalu); in TestFua()
434 EXPECT_THAT(fua_header, Each(Eq((kFuA << 8) | nalu[0][0]))); in TestFua()
Drtp_format_h264.cc56 for (const auto& nalu : in RtpPacketizerH264() local
59 payload.subview(nalu.payload_start_offset, nalu.payload_size)); in RtpPacketizerH264()
/external/webrtc/sdk/objc/unittests/
Dnalu_rewriter_xctest.mm32 // SPS nalu.
35 // PPS nalu.
55 // SPS nalu.
58 // PPS nalu.
78 const uint8_t* nalu = nullptr;
81 XCTAssertFalse(reader.ReadNalu(&nalu, &nalu_length));
82 XCTAssertEqual(nullptr, nalu);
89 const uint8_t* nalu = nullptr;
92 XCTAssertTrue(reader.ReadNalu(&nalu, &nalu_length));
93 XCTAssertEqual(annex_b_test_data + 4, nalu);
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_clone.c277 nir_alu_instr *nalu = nir_alu_instr_create(state->ns, alu->op); in clone_alu() local
278 nalu->exact = alu->exact; in clone_alu()
279 nalu->no_signed_wrap = alu->no_signed_wrap; in clone_alu()
280 nalu->no_unsigned_wrap = alu->no_unsigned_wrap; in clone_alu()
282 __clone_dst(state, &nalu->instr, &nalu->dest.dest, &alu->dest.dest); in clone_alu()
283 nalu->dest.saturate = alu->dest.saturate; in clone_alu()
284 nalu->dest.write_mask = alu->dest.write_mask; in clone_alu()
287 __clone_src(state, &nalu->instr, &nalu->src[i].src, &alu->src[i].src); in clone_alu()
288 nalu->src[i].negate = alu->src[i].negate; in clone_alu()
289 nalu->src[i].abs = alu->src[i].abs; in clone_alu()
[all …]
Dnir_opt_if.c1054 nir_alu_instr *nalu = nir_alu_instr_create(b->shader, alu->op); in clone_alu_and_replace_src_defs() local
1055 nalu->exact = alu->exact; in clone_alu_and_replace_src_defs()
1057 nir_ssa_dest_init(&nalu->instr, &nalu->dest.dest, in clone_alu_and_replace_src_defs()
1061 nalu->dest.saturate = alu->dest.saturate; in clone_alu_and_replace_src_defs()
1062 nalu->dest.write_mask = alu->dest.write_mask; in clone_alu_and_replace_src_defs()
1066 nalu->src[i].src = nir_src_for_ssa(src_defs[i]); in clone_alu_and_replace_src_defs()
1067 nalu->src[i].negate = alu->src[i].negate; in clone_alu_and_replace_src_defs()
1068 nalu->src[i].abs = alu->src[i].abs; in clone_alu_and_replace_src_defs()
1069 memcpy(nalu->src[i].swizzle, alu->src[i].swizzle, in clone_alu_and_replace_src_defs()
1070 sizeof(nalu->src[i].swizzle)); in clone_alu_and_replace_src_defs()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c1195 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); in r600_bytecode_add_alu_type() local
1199 if (!nalu) in r600_bytecode_add_alu_type()
1201 memcpy(nalu, alu, sizeof(struct r600_bytecode_alu)); in r600_bytecode_add_alu_type()
1226 free(nalu); in r600_bytecode_add_alu_type()
1235 if (nalu->src[i].kc_bank && nalu->src[i].kc_rel) in r600_bytecode_add_alu_type()
1241 if (nalu->src[i].rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1244 if (nalu->dst.rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1249 if ((r = r600_bytecode_alloc_kcache_lines(bc, nalu, type))) { in r600_bytecode_add_alu_type()
1250 free(nalu); in r600_bytecode_add_alu_type()
1255 bc->cf_last->curr_bs_head = nalu; in r600_bytecode_add_alu_type()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc_2_0.c106 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_sps_hevc()
202 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps_hevc()
383 enc->cmd.nalu = RENCODE_IB_PARAM_DIRECT_OUTPUT_NALU; in radeon_enc_2_0_init()
Dradeon_vcn_enc_1_2.c283 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_sps()
365 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_sps_hevc()
456 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps()
491 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps_hevc()
549 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_vps()
603 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_aud_hevc()
1233 enc->cmd.nalu = RENCODE_IB_PARAM_DIRECT_OUTPUT_NALU; in radeon_enc_1_2_init()
Dradeon_vcn_enc_3_0.c115 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps_hevc()
Dradeon_vcn_enc.h388 uint32_t nalu; member
/external/cldr/common/testData/transforms/
Dhy-fonipa-t-hy.txt116 ունենալու unɛnalu