Home
last modified time | relevance | path

Searched refs:codec_id (Results 1 – 11 of 11) sorted by relevance

/xiu/library/container/flv/src/
H A Dflv_tag_header.rs140 pub codec_id: u8, field
154 codec_id: 0, in defalut()
170 tag_header.codec_id = flags & 0x0f; in unmarshal()
172 if tag_header.codec_id == define::AvcCodecId::H264 as u8 in unmarshal()
173 || tag_header.codec_id == define::AvcCodecId::HEVC as u8 in unmarshal()
201 let byte_1st = self.frame_type << 4 | self.codec_id; in marshal()
204 if self.codec_id == define::AvcCodecId::H264 as u8 in marshal()
205 || self.codec_id == define::AvcCodecId::HEVC as u8 in marshal()
H A Ddemuxer_tag.rs128 pub codec_id: u8, field
142 codec_id: 0, in defalut()
166 self.tag.codec_id = flags & 0x0f; in parse_tag_header()
168 if self.tag.codec_id == define::AvcCodecId::H264 as u8 in parse_tag_header()
169 || self.tag.codec_id == define::AvcCodecId::HEVC as u8 in parse_tag_header()
H A Ddemuxer.rs96 pub codec_id: u8, field
105 codec_id: 0, in new()
133 if tag_header.codec_id == AvcCodecId::H264 as u8 { in demux()
145 codec_id: AvcCodecId::H264 as u8, in demux()
H A Ddefine.rs41 pub fn u8_2_avc_codec_id(codec_id: u8) -> AvcCodecId { in u8_2_avc_codec_id()
42 match codec_id { in u8_2_avc_codec_id()
/xiu/library/container/mpegts/src/
H A Dpes.rs13 pub codec_id: u8, field
39 codec_id: 0, in new()
161 if define::epsi_stream_type::PSI_STREAM_H264 == stream_data.codec_id && !h264_h265_with_aud in write_pes_header()
H A Dpmt.rs85 let stream_type = if stream.codec_id == epsi_stream_type::PSI_STREAM_AUDIO_OPUS { in write()
88 stream.codec_id in write()
H A Dts.rs380 cur_stream.codec_id = codecid; in pmt_add_stream()
/xiu/protocol/rtsp/src/
H A Drtsp_codec.rs33 pub codec_id: RtspCodecId, field
H A Drtsp_channel.rs116 match self.codec_info.codec_id { in create_unpacker()
130 match self.codec_info.codec_id { in create_packer()
/xiu/protocol/rtmp/src/remuxer/
H A Drtsp2rtmp.rs365 codec_id: 7, in gen_rtmp_video_seq_header()
401 codec_id: 7, in gen_rtmp_video_frame_data()
/xiu/protocol/rtsp/src/session/
H A Dmod.rs602 let codec_id = rtsp_codec::RTSP_CODEC_NAME_2_ID in new_tracks() localVariable
607 codec_id, in new_tracks()
619 let codec_id = rtsp_codec::RTSP_CODEC_NAME_2_ID in new_tracks() localVariable
624 codec_id, in new_tracks()