Home
last modified time | relevance | path

Searched refs:frameType (Results 1 – 25 of 26) 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/sdk/android/api/org/webrtc/
DEncodedImage.java55 public final FrameType frameType; field in EncodedImage
73 int encodedHeight, long captureTimeNs, FrameType frameType, int rotation, in EncodedImage() argument
80 this.frameType = frameType; in EncodedImage()
109 return frameType.getNative(); in getFrameType()
137 private EncodedImage.FrameType frameType; field in EncodedImage.Builder
171 public Builder setFrameType(EncodedImage.FrameType frameType) { in setFrameType() argument
172 this.frameType = frameType; in setFrameType()
193 frameType, rotation, completeFrame, qp); in createEncodedImage()
/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/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/audio/
Dchannel_send_frame_transformer_delegate_unittest.cc36 (AudioFrameType frameType,
43 return [this](AudioFrameType frameType, uint8_t payloadType, in callback()
46 return SendFrame(frameType, payloadType, rtp_timestamp, payload, in callback()
Dchannel_send.cc156 int32_t SendData(AudioFrameType frameType,
166 int32_t SendRtpAudio(AudioFrameType frameType,
344 int32_t ChannelSend::SendData(AudioFrameType frameType, in SendData() argument
356 frameType, payloadType, rtp_timestamp, rtp_rtcp_->StartTimestamp(), in SendData()
361 return SendRtpAudio(frameType, payloadType, rtp_timestamp, payload, in SendData()
365 int32_t ChannelSend::SendRtpAudio(AudioFrameType frameType, in SendRtpAudio() argument
434 frameType, payloadType, rtp_timestamp + rtp_rtcp_->StartTimestamp(), in SendRtpAudio()
921 [this](AudioFrameType frameType, uint8_t payloadType, in InitFrameTransformerDelegate()
925 return SendRtpAudio(frameType, payloadType, rtp_timestamp, payload, in InitFrameTransformerDelegate()
Dchannel_send_frame_transformer_delegate.h33 std::function<int32_t(AudioFrameType frameType,
/external/webrtc/modules/audio_coding/test/
DChannel.cc22 int32_t Channel::SendData(AudioFrameType frameType, in SendData() argument
43 if (frameType == AudioFrameType::kEmptyFrame) { in SendData()
DChannel.h50 int32_t SendData(AudioFrameType frameType,
DEncodeDecodeTest.h31 int32_t SendData(const AudioFrameType frameType,
/external/lz4/programs/
Dlz4io.c1291 LZ4IO_frameType_t frameType; member
1444 if (cfinfo->frameSummary.frameType != lz4Frame) cfinfo->eqFrameTypes = 0; in LZ4IO_getCompressedFileInfo()
1475 LZ4IO_frameTypeNames[frameInfo.frameType], in LZ4IO_getCompressedFileInfo()
1502 frameInfo.frameType = legacyFrame; in LZ4IO_getCompressedFileInfo()
1503 …if (cfinfo->frameSummary.frameType != legacyFrame && cfinfo->frameCount != 0) cfinfo->eqFrameTypes… in LZ4IO_getCompressedFileInfo()
1510 LZ4IO_frameTypeNames[frameInfo.frameType], in LZ4IO_getCompressedFileInfo()
1519 frameInfo.frameType = skippableFrame; in LZ4IO_getCompressedFileInfo()
1520 …if (cfinfo->frameSummary.frameType != skippableFrame && cfinfo->frameCount != 0) cfinfo->eqFrameTy… in LZ4IO_getCompressedFileInfo()
1591 … cfinfo.eqFrameTypes ? LZ4IO_frameTypeNames[cfinfo.frameSummary.frameType] : "-" , in LZ4IO_displayCompressedFilesInfo()
/external/webrtc/sdk/android/src/java/org/webrtc/
DHardwareVideoEncoder.java358 for (EncodedImage.FrameType frameType : encodeInfo.frameTypes) { in encode()
359 if (frameType == EncodedImage.FrameType.VideoFrameKey) { in encode()
580 final EncodedImage.FrameType frameType = isKeyFrame
599 .setFrameType(frameType)
DAndroidVideoDecoder.java245 if (frame.frameType != EncodedImage.FrameType.VideoFrameKey) { in decode()
/external/webrtc/sdk/objc/base/
DRTCEncodedImage.h45 @property(nonatomic, assign) RTCFrameType frameType;
DRTCEncodedImage.m24 @synthesize frameType = _frameType;
/external/webrtc/sdk/objc/api/peerconnection/
DRTCEncodedImage+Private.mm93 self.frameType = static_cast<RTCFrameType>(encodedImage._frameType);
122 encodedImage._frameType = webrtc::VideoFrameType(self.frameType);
/external/aac/libSACenc/src/
Dsacenc_bitstream.h283 const SPATIALFRAME_TYPE frameType);
Dsacenc_bitstream.cpp605 const SPATIALFRAME_TYPE frameType) { in fdk_sacenc_getSpatialFrame() argument
608 switch (frameType) { in fdk_sacenc_getSpatialFrame()
/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()
/external/lz4/lib/
Dlz4frame.h173 …LZ4F_frameType_t frameType; /* read-only field : LZ4F_frame or LZ4F_skippableFrame… member
/external/webrtc/sdk/android/tests/src/org/webrtc/
DHardwareVideoEncoderTest.java237 assertThat(videoFrame.frameType).isEqualTo(FrameType.VideoFrameKey); in testDeliversOutputData()
/external/zstd/lib/decompress/
Dzstd_decompress.c269 zfhPtr->frameType = ZSTD_skippableFrame; in ZSTD_getFrameHeader_advanced()
318 zfhPtr->frameType = ZSTD_frame; in ZSTD_getFrameHeader_advanced()
356 if (zfh.frameType == ZSTD_skippableFrame) { in ZSTD_getFrameContentSize()
1724 && zds->fParams.frameType != ZSTD_skippableFrame in ZSTD_decompressStream()
1742 && zds->fParams.frameType != ZSTD_skippableFrame in ZSTD_decompressStream()
/external/webrtc/sdk/objc/components/video_codec/
DRTCVideoEncoderH264.mm455 for (NSNumber *frameType in frameTypes) {
456 if ((RTCFrameType)frameType.intValue == RTCFrameTypeVideoFrameKey) {
808 frame.frameType = isKeyframe ? RTCFrameTypeVideoFrameKey : RTCFrameTypeVideoFrameDelta;
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DHardwareVideoEncoderTest.java102 .setFrameType(frame.frameType) in onEncodedFrame()
/external/zstd/lib/
Dzstd.h2316 …ZSTD_frameType_e frameType; /* if == ZSTD_skippableFrame, frameContentSize is the size of… member

12