Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dhls_sample_encryption.c153 static void remove_scep_3_bytes(NALUnit *nalu) in remove_scep_3_bytes() argument
158 uint8_t *data = nalu->data; in remove_scep_3_bytes()
160 while (i < nalu->length) { in remove_scep_3_bytes()
161 if (nalu->length - i > 3 && AV_RB24(&data[i]) == 0x000003) { in remove_scep_3_bytes()
170 nalu->length = j; in remove_scep_3_bytes()
173 static int get_next_nal_unit(CodecParserContext *ctx, NALUnit *nalu) in get_next_nal_unit() argument
178 nalu->start_code_length = 4; in get_next_nal_unit()
180 nalu->start_code_length = 3; in get_next_nal_unit()
184 ctx->buf_ptr += nalu->start_code_length; in get_next_nal_unit()
194 nalu->data = (uint8_t *)nalu_start + nalu->start_code_length; in get_next_nal_unit()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_encoder_nalu_writer_h264.cpp242 d3d12_video_encoder_bitstream rbsp, nalu; in sps_to_nalu_bytes() local
249 if (!nalu.create_bitstream(2 * MAX_COMPRESSED_SPS)) { in sps_to_nalu_bytes()
260 if (wrap_sps_nalu(&nalu, &rbsp) <= 0u) { in sps_to_nalu_bytes()
267 uint8_t *naluBytes = nalu.get_bitstream_buffer(); in sps_to_nalu_bytes()
268 size_t naluByteSize = nalu.get_byte_count(); in sps_to_nalu_bytes()
288 d3d12_video_encoder_bitstream rbsp, nalu; in pps_to_nalu_bytes() local
294 if (!nalu.create_bitstream(2 * MAX_COMPRESSED_PPS)) { in pps_to_nalu_bytes()
306 if (wrap_pps_nalu(&nalu, &rbsp) <= 0u) { in pps_to_nalu_bytes()
313 uint8_t *naluBytes = nalu.get_bitstream_buffer(); in pps_to_nalu_bytes()
314 size_t naluByteSize = nalu.get_byte_count(); in pps_to_nalu_bytes()
[all …]
/third_party/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.c1216 nir_alu_instr *nalu = nir_alu_instr_create(b->shader, alu->op); in clone_alu_and_replace_src_defs() local
1217 nalu->exact = alu->exact; in clone_alu_and_replace_src_defs()
1219 nir_ssa_dest_init(&nalu->instr, &nalu->dest.dest, in clone_alu_and_replace_src_defs()
1223 nalu->dest.saturate = alu->dest.saturate; in clone_alu_and_replace_src_defs()
1224 nalu->dest.write_mask = alu->dest.write_mask; in clone_alu_and_replace_src_defs()
1228 nalu->src[i].src = nir_src_for_ssa(src_defs[i]); in clone_alu_and_replace_src_defs()
1229 nalu->src[i].negate = alu->src[i].negate; in clone_alu_and_replace_src_defs()
1230 nalu->src[i].abs = alu->src[i].abs; in clone_alu_and_replace_src_defs()
1231 memcpy(nalu->src[i].swizzle, alu->src[i].swizzle, in clone_alu_and_replace_src_defs()
1232 sizeof(nalu->src[i].swizzle)); in clone_alu_and_replace_src_defs()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c1263 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); in r600_bytecode_add_alu_type() local
1267 if (!nalu) in r600_bytecode_add_alu_type()
1269 memcpy(nalu, alu, sizeof(struct r600_bytecode_alu)); in r600_bytecode_add_alu_type()
1297 free(nalu); in r600_bytecode_add_alu_type()
1306 if (nalu->src[i].kc_bank && nalu->src[i].kc_rel) in r600_bytecode_add_alu_type()
1312 if (nalu->src[i].rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1315 if (nalu->dst.rel && !bc->ar_loaded) in r600_bytecode_add_alu_type()
1320 if ((r = r600_bytecode_alloc_kcache_lines(bc, nalu, type))) { in r600_bytecode_add_alu_type()
1321 free(nalu); in r600_bytecode_add_alu_type()
1326 bc->cf_last->curr_bs_head = nalu; in r600_bytecode_add_alu_type()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_vcn_enc_1_2.c268 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_sps()
350 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_sps_hevc()
463 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_prefix()
507 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_sei()
610 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps()
645 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps_hevc()
703 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_vps()
757 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_aud_hevc()
1437 enc->cmd.nalu = RENCODE_IB_PARAM_DIRECT_OUTPUT_NALU; in radeon_enc_1_2_init()
Dradeon_vcn_enc_2_0.c232 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_sps_hevc()
335 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps_hevc()
475 enc->cmd.nalu = RENCODE_IB_PARAM_DIRECT_OUTPUT_NALU; in radeon_enc_2_0_init()
Dradeon_vcn_enc_3_0.c112 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps_hevc()
Dradeon_vcn_enc.h416 uint32_t nalu; member
/third_party/openh264/codec/build/iOS/dec/welsdec/welsdec.xcodeproj/
Dproject.pbxproj75 …4465B18BC5EAA0017DF25 /* nalu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
212 4CE4465B18BC5EAA0017DF25 /* nalu.h */,