Home
last modified time | relevance | path

Searched refs:frameType (Results 1 – 25 of 45) sorted by relevance

12

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractor.java205 /* package */ static int frameSizeBytesByTypeNb(int frameType) { in frameSizeBytesByTypeNb() argument
206 return frameSizeBytesByTypeNb[frameType]; in frameSizeBytesByTypeNb()
209 /* package */ static int frameSizeBytesByTypeWb(int frameType) { in frameSizeBytesByTypeWb() argument
210 return frameSizeBytesByTypeWb[frameType]; in frameSizeBytesByTypeWb()
317 int frameType = (frameHeader >> 3) & 0x0f; in peekNextSampleSize() local
318 return getFrameSizeInBytes(frameType); in peekNextSampleSize()
321 private int getFrameSizeInBytes(int frameType) throws ParserException { in getFrameSizeInBytes() argument
322 if (!isValidFrameType(frameType)) { in getFrameSizeInBytes()
324 "Illegal AMR " + (isWideBand ? "WB" : "NB") + " frame type " + frameType); in getFrameSizeInBytes()
327 return isWideBand ? frameSizeBytesByTypeWb[frameType] : frameSizeBytesByTypeNb[frameType]; in getFrameSizeInBytes()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Ddecoding_state_unittest.cc38 packet.frameType = kVideoFrameDelta; in TEST()
48 packet.frameType = kVideoFrameKey; in TEST()
53 packet.frameType = kVideoFrameDelta; in TEST()
169 packet.frameType = kVideoFrameDelta; in TEST()
184 packet.frameType = kEmptyFrame; in TEST()
191 packet.frameType = kVideoFrameDelta; in TEST()
199 packet.frameType = kEmptyFrame; in TEST()
213 packet.frameType = kVideoFrameDelta; in TEST()
262 packet.frameType = kVideoFrameKey; in TEST()
276 packet.frameType = kVideoFrameDelta; in TEST()
[all …]
Djitter_buffer_unittest.cc39 packet_.frameType = kVideoFrameKey; in SetUp()
423 packet_->frameType = kVideoFrameKey; in TEST_F()
442 packet_->frameType = kVideoFrameKey; in TEST_F()
481 packet_->frameType = kVideoFrameKey; in TEST_F()
508 packet_->frameType = kVideoFrameKey;
552 packet_->frameType = kVideoFrameKey;
566 packet_->frameType = kVideoFrameDelta;
609 packet_->frameType = kVideoFrameKey; in TEST_F()
654 packet_->frameType = kVideoFrameDelta; in TEST_F()
680 packet_->frameType = kVideoFrameKey; in TEST_F()
[all …]
Dvideo_receiver_unittest.cc89 header.frameType = kEmptyFrame; in TEST_F()
113 header.frameType = kEmptyFrame; in TEST_F()
121 header.frameType = kVideoFrameKey; in TEST_F()
128 header.frameType = kEmptyFrame; in TEST_F()
164 header.frameType = kEmptyFrame; in TEST_F()
178 header.frameType = kVideoFrameKey; in TEST_F()
180 header.frameType = kVideoFrameDelta; in TEST_F()
189 header.frameType = kEmptyFrame; in TEST_F()
Dpacket.cc27 frameType(kEmptyFrame), in VCMPacket()
47 frameType(rtpHeader.frameType), in VCMPacket()
71 frameType(kVideoFrameDelta), in VCMPacket()
88 frameType = kEmptyFrame; in Reset()
Dsession_info.cc474 if (packet.frameType == kEmptyFrame) { in InsertPacket()
499 frame_type_ = packet.frameType; in InsertPacket()
518 frame_type_ = packet.frameType; in InsertPacket()
526 } else if (frame_type_ == kEmptyFrame && packet.frameType != kEmptyFrame) { in InsertPacket()
529 frame_type_ = packet.frameType; in InsertPacket()
Dcodec_timer.h42 int32_t RequiredDecodeTimeMs(FrameType frameType) const;
Dpacket.h43 FrameType frameType; variable
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DVideoTagPayloadReader.java51 private int frameType; field in VideoTagPayloadReader
70 int frameType = (header >> 4) & 0x0F; in parseHeader() local
76 this.frameType = frameType; in parseHeader()
77 return (frameType != VIDEO_FRAME_VIDEO_INFO); in parseHeader()
105 boolean isKeyframe = frameType == VIDEO_FRAME_KEYFRAME; in parsePayload()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc109 bool RTPSenderAudio::MarkerBit(FrameType frameType, int8_t payload_type) { in MarkerBit() argument
124 if (frameType != kAudioFrameCN) { in MarkerBit()
143 if (frameType == kAudioFrameCN) { in MarkerBit()
152 int32_t RTPSenderAudio::SendAudio(FrameType frameType, in SendAudio() argument
201 if (frameType == kEmptyFrame) { in SendAudio()
252 if (frameType == kEmptyFrame) { in SendAudio()
260 bool markerBit = MarkerBit(frameType, payloadType); in SendAudio()
355 (frameType == kAudioFrameSpeech), in SendAudio()
Drtp_sender_audio.h36 int32_t SendAudio(FrameType frameType,
71 bool MarkerBit(const FrameType frameType, const int8_t payloadType);
Drtp_sender_video.cc226 const FrameType frameType, in SendVideo() argument
240 &(rtpHdr->codecHeader), frameType)); in SendVideo()
247 frameType == kVideoFrameKey ? &key_fec_params_ : &delta_fec_params_; in SendVideo()
Drtp_receiver_audio.cc351 rtp_header->frameType = kAudioFrameCN; in ParseAudioCodecSpecific()
353 rtp_header->frameType = kAudioFrameSpeech; in ParseAudioCodecSpecific()
Drtp_sender_video.h48 const FrameType frameType,
Drtp_receiver_video.cc86 rtp_header->frameType = parsed_payload.frame_type; in ParseRtpPacket()
Dfec_test_helper.cc34 rtp_packet->header.frameType = kVideoFrameDelta; in NextPacket()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractorNonParameterizedTest.java178 private byte[] newWideBandAmrFrameWithType(int frameType) { in newWideBandAmrFrameWithType() argument
179 byte frameHeader = (byte) ((frameType << 3) & (0b01111100)); in newWideBandAmrFrameWithType()
180 int frameContentInBytes = frameSizeBytesByTypeWb(frameType) - 1; in newWideBandAmrFrameWithType()
185 private byte[] newNarrowBandAmrFrameWithType(int frameType) { in newNarrowBandAmrFrameWithType() argument
186 byte frameHeader = (byte) ((frameType << 3) & (0b01111100)); in newNarrowBandAmrFrameWithType()
187 int frameContentInBytes = frameSizeBytesByTypeNb(frameType) - 1; in newNarrowBandAmrFrameWithType()
/external/webrtc/webrtc/modules/audio_coding/test/
DChannel.cc22 int32_t Channel::SendData(FrameType frameType, in SendData() argument
40 if (frameType == kAudioFrameCN) { in SendData()
45 if (frameType == kEmptyFrame) { in SendData()
DChannel.h53 int32_t SendData(FrameType frameType,
DEncodeDecodeTest.h32 int32_t SendData(const FrameType frameType,
/external/webrtc/webrtc/modules/utility/source/
Dcoder.h41 int32_t SendData(FrameType frameType,
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtp_generator.cc32 rtp_header->frameType = kAudioFrameSpeech; in GetRtpHeader()
/external/webrtc/webrtc/modules/video_coding/test/
Dstream_generator.cc64 packet.frameType = type; in GeneratePacket()
/external/aac/libSACenc/src/
Dsacenc_bitstream.h283 const SPATIALFRAME_TYPE frameType);
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiFrameProtector.java268 int frameType = header.readIntLE(); in handleHeader() local
269 checkArgument(frameType == HEADER_TYPE_DEFAULT, "Invalid header field: frame type"); in handleHeader()

12