Home
last modified time | relevance | path

Searched refs:nalu (Results 1 - 9 of 9) sorted by relevance

/third_party/ffmpeg/libavformat/
H A 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 in get_next_nal_unit()
201 decrypt_nal_unit(HLSCryptoContext *crypto_ctx, NALUnit *nalu) decrypt_nal_unit() argument
237 NALUnit nalu; decrypt_video_frame() local
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A 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()
250 debug_printf("nalu.create_bitstream(2 * MAX_COMPRESSED_SPS) failed\n"); in sps_to_nalu_bytes()
260 if (wrap_sps_nalu(&nalu, &rbsp) <= 0u) { in sps_to_nalu_bytes()
261 debug_printf("wrap_sps_nalu(&nalu, &rbsp) didn't write any bytes.\n"); in sps_to_nalu_bytes()
265 // Deep copy nalu into headerBitstream, nalu gets out of scope here and its destructor frees the nalu object buffer in sps_to_nalu_bytes()
267 uint8_t *naluBytes = nalu.get_bitstream_buffer(); in sps_to_nalu_bytes()
268 size_t naluByteSize = nalu in sps_to_nalu_bytes()
288 d3d12_video_encoder_bitstream rbsp, nalu; pps_to_nalu_bytes() local
331 d3d12_video_encoder_bitstream rbsp, nalu; write_end_of_stream_nalu() local
368 d3d12_video_encoder_bitstream rbsp, nalu; write_end_of_sequence_nalu() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A 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 in clone_alu()
[all...]
H A 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 in clone_alu_and_replace_src_defs()
1306 nir_ssa_def *nalu = clone_alu_and_replace_src_defs(b, alu, def); propagate_condition_eval() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A 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()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A 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()
H A 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()
H A Dradeon_vcn_enc_3_0.c112 RADEON_ENC_BEGIN(enc->cmd.nalu); in radeon_enc_nalu_pps_hevc()
H A Dradeon_vcn_enc.h416 uint32_t nalu; member

Completed in 11 milliseconds