Home
last modified time | relevance | path

Searched refs:VideoConfig (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DVideoConfig.cpp30 VideoConfig::VideoConfig() : in VideoConfig() function in android::telephony::imsmedia::VideoConfig
52 VideoConfig::VideoConfig(VideoConfig* config) : in VideoConfig() function in android::telephony::imsmedia::VideoConfig
76 VideoConfig::VideoConfig(const VideoConfig& config) : in VideoConfig() function in android::telephony::imsmedia::VideoConfig
98 VideoConfig::~VideoConfig() {} in ~VideoConfig()
100 VideoConfig& VideoConfig::operator=(const VideoConfig& config) in operator =()
126 bool VideoConfig::operator==(const VideoConfig& config) const in operator ==()
142 bool VideoConfig::operator!=(const VideoConfig& config) const in operator !=()
158 status_t VideoConfig::writeToParcel(Parcel* out) const in writeToParcel()
277 status_t VideoConfig::readFromParcel(const Parcel* in) in readFromParcel()
399 void VideoConfig::setVideoMode(const int32_t mode) in setVideoMode()
[all …]
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DVideoConfigTest.java26 import android.telephony.imsmedia.VideoConfig;
62 VideoConfig.RTPFB_NACK | VideoConfig.RTPFB_TMMBR | VideoConfig.RTPFB_TMMBN;
73 VideoConfig config = createVideoConfig(); in testConstructorAndGetters()
85 assertThat(config.getVideoMode()).isEqualTo(VideoConfig.VIDEO_MODE_RECORDING); in testConstructorAndGetters()
86 assertThat(config.getCodecType()).isEqualTo(VideoConfig.VIDEO_CODEC_AVC); in testConstructorAndGetters()
89 assertThat(config.getCodecProfile()).isEqualTo(VideoConfig.AVC_PROFILE_BASELINE); in testConstructorAndGetters()
90 assertThat(config.getCodecLevel()).isEqualTo(VideoConfig.AVC_LEVEL_12); in testConstructorAndGetters()
92 assertThat(config.getPacketizationMode()).isEqualTo(VideoConfig.MODE_NON_INTERLEAVED); in testConstructorAndGetters()
105 VideoConfig config = createVideoConfig(); in testParcel()
109 VideoConfig parcelConfig = VideoConfig.CREATOR.createFromParcel(parcel); in testParcel()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtpTx.cpp44 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in create()
46 if (pConfig->getVideoMode() == VideoConfig::VIDEO_MODE_PREVIEW) in create()
57 mConfig = new VideoConfig(pConfig); in create()
105 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in update()
107 if (*reinterpret_cast<VideoConfig*>(mConfig) == *pConfig) in update()
127 (mVideoMode == VideoConfig::VIDEO_MODE_PREVIEW || in update()
128 pConfig->getVideoMode() == VideoConfig::VIDEO_MODE_PREVIEW)) in update()
152 mConfig = new VideoConfig(pConfig); in update()
162 if (pConfig->getVideoMode() != VideoConfig::VIDEO_MODE_PAUSE_IMAGE && mSurface == nullptr) in update()
204 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(mConfig); in start()
[all …]
DVideoManager.cpp62 const int sessionId, const int rtpFd, const int rtcpFd, VideoConfig* config) in openSession()
137 ImsMediaResult VideoManager::modifySession(const int sessionId, VideoConfig* config) in modifySession()
179 VideoConfig* config = new VideoConfig(); in sendMessage()
199 VideoConfig* config = new VideoConfig(); in sendMessage()
277 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(param->mConfig); in processEvent()
323 VideoConfig* config = reinterpret_cast<VideoConfig*>(paramA); in processEvent()
390 VideoConfig* config = reinterpret_cast<VideoConfig*>(paramB); in processEvent()
DVideoStreamGraphRtpRx.cpp43 mConfig = new VideoConfig(reinterpret_cast<VideoConfig*>(config)); in create()
92 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in update()
94 if (*reinterpret_cast<VideoConfig*>(mConfig) == *pConfig) in update()
111 mConfig = new VideoConfig(pConfig); in update()
179 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(mConfig); in start()
DVideoStreamGraphRtcp.cpp42 mConfig = new VideoConfig(reinterpret_cast<VideoConfig*>(config)); in create()
93 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in update()
95 if (*reinterpret_cast<VideoConfig*>(mConfig) == *pConfig) in update()
106 mConfig = new VideoConfig(pConfig); in update()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DVideoConfig.h48 class VideoConfig : public RtpConfig
176 VideoConfig();
177 VideoConfig(VideoConfig* config);
178 VideoConfig(const VideoConfig& config);
179 virtual ~VideoConfig();
180 VideoConfig& operator=(const VideoConfig& config);
181 bool operator==(const VideoConfig& config) const;
182 bool operator!=(const VideoConfig& config) const;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtcpEncoderNodeTests.cpp49 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
53 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
54 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
56 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
64 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NONE;
140 void setupVideoConfig(VideoConfig& videoConfig) in setupVideoConfig()
154 videoConfig.setCodecType(VideoConfig::CODEC_AVC); in setupVideoConfig()
191 VideoConfig videoConfig; in TEST_F()
203 VideoConfig videoConfig; in TEST_F()
276 VideoConfig videoConfig; in TEST_F()
[all …]
DRtcpDecoderNodeTests.cpp50 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
54 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
55 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
57 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
64 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NONE;
129 VideoConfig videoConfig;
159 void setupVideoConfig(VideoConfig& videoConfig) in setupVideoConfig()
173 videoConfig.setCodecType(VideoConfig::CODEC_AVC); in setupVideoConfig()
206 VideoConfig videoConfig; in TEST_F()
DRtpEncoderNodeTest.cpp61 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
65 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
66 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
68 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
76 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NONE;
150 VideoConfig mVideoConfig;
237 mVideoConfig.setCodecType(VideoConfig::CODEC_AVC); in setupVideoConfig()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/
DIVideoSourceNode.cpp35 mCodecProfile = VideoConfig::CODEC_PROFILE_NONE; in IVideoSourceNode()
36 mCodecLevel = VideoConfig::CODEC_LEVEL_NONE; in IVideoSourceNode()
70 if (mVideoMode == VideoConfig::VIDEO_MODE_PREVIEW || in Start()
71 mVideoMode == VideoConfig::VIDEO_MODE_RECORDING) in Start()
131 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in SetConfig()
143 if (mVideoMode == VideoConfig::VIDEO_MODE_PREVIEW || in SetConfig()
144 mVideoMode == VideoConfig::VIDEO_MODE_RECORDING) in SetConfig()
164 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in IsSameConfig()
194 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in UpdateConfig()
DVideoRtpPayloadDecoderNode.cpp87 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in SetConfig()
99 VideoConfig* pConfig = reinterpret_cast<VideoConfig*>(config); in IsSameConfig()
117 case VideoConfig::CODEC_AVC: in OnDataFromFrontNode()
120 case VideoConfig::CODEC_HEVC: in OnDataFromFrontNode()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtcpTest.cpp44 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
45 const int32_t kCodecType = VideoConfig::CODEC_AVC;
48 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
49 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
51 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
59 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NACK | VideoConfig::RTP_FB_TMMBR |
60 VideoConfig::RTP_FB_TMMBN | VideoConfig::PSFB_PLI | VideoConfig::PSFB_FIR;
74 VideoConfig config;
DVideoStreamGraphRtpTxTest.cpp44 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
45 const int32_t kCodecType = VideoConfig::CODEC_AVC;
48 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
49 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
51 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
59 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NONE;
75 VideoConfig config;
176 config.setVideoMode(VideoConfig::VIDEO_MODE_RECORDING); in TEST_F()
192 config.setVideoMode(VideoConfig::VIDEO_MODE_PAUSE_IMAGE); in TEST_F()
197 config.setVideoMode(VideoConfig::VIDEO_MODE_RECORDING); in TEST_F()
[all …]
DVideoManagerTest.cpp52 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
53 const int32_t kCodecType = VideoConfig::CODEC_AVC;
56 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
57 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
59 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
67 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NONE;
77 VideoConfig resConfig;
99 const int id, const int event, const ImsMediaResult res, const VideoConfig& config) in onCallbackConfig()
131 VideoConfig config;
234 void testEventResponse(const int32_t sessionId, const int32_t event, VideoConfig* config, in testEventResponse()
[all …]
DVideoStreamGraphRtpRxTest.cpp44 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
45 const int32_t kCodecType = VideoConfig::CODEC_AVC;
48 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
49 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
51 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
59 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NONE;
78 VideoConfig config;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DVideoConfigTest.cpp39 const int32_t kVideoMode = VideoConfig::VIDEO_MODE_PREVIEW;
40 const int32_t kCodecType = VideoConfig::CODEC_AVC;
43 const int32_t kCodecProfile = VideoConfig::AVC_PROFILE_BASELINE;
44 const int32_t kCodecLevel = VideoConfig::AVC_LEVEL_12;
46 const int32_t kPacketizationMode = VideoConfig::MODE_NON_INTERLEAVED;
54 const int32_t kRtcpFbTypes = VideoConfig::RTP_FB_NONE;
63 VideoConfig config1;
64 VideoConfig config2;
65 VideoConfig config3;
140 VideoConfig configTest; in TEST_F()
[all …]
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DVideoConfig.java35 public final class VideoConfig extends RtpConfig { class
279 VideoConfig(Parcel in) { in VideoConfig() method in VideoConfig
301 VideoConfig(Builder builder) { in VideoConfig() method in VideoConfig
440 if (o == null || !(o instanceof VideoConfig) || hashCode() != o.hashCode()) { in equals()
448 VideoConfig s = (VideoConfig) o; in equals()
504 public static final @NonNull Parcelable.Creator<VideoConfig>
506 public VideoConfig createFromParcel(Parcel in) {
508 return new VideoConfig(in);
511 public VideoConfig[] newArray(int size) {
512 return new VideoConfig[size];
[all …]
DIImsVideoSessionCallback.aidl20 import android.telephony.imsmedia.VideoConfig;
33 void onModifySessionResponse(in VideoConfig config, int result); in onModifySessionResponse()
34 void onFirstMediaPacketReceived(in VideoConfig config); in onFirstMediaPacketReceived()
DVideoSessionCallback.java93 public void onModifySessionResponse(final VideoConfig config, in onModifySessionResponse()
106 public void onFirstMediaPacketReceived(final VideoConfig config) { in onFirstMediaPacketReceived()
188 public void onModifySessionResponse(final VideoConfig config, in onModifySessionResponse()
204 public void onFirstMediaPacketReceived(final VideoConfig config) { in onFirstMediaPacketReceived()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DMainActivity.java38 import android.telephony.imsmedia.VideoConfig;
129 private int mSelectedVideoCodec = VideoConfig.VIDEO_CODEC_AVC;
130 private int mSelectedVideoMode = VideoConfig.VIDEO_MODE_RECORDING;
133 private int mSelectedCodecProfile = VideoConfig.AVC_PROFILE_BASELINE;
134 private int mSelectedCodecLevel = VideoConfig.AVC_LEVEL_12;
177 private VideoConfig mVideoConfig;
329 AVC(VideoConfig.VIDEO_CODEC_AVC),
330 HEVC(VideoConfig.VIDEO_CODEC_HEVC);
348 VIDEO_MODE_PREVIEW(VideoConfig.VIDEO_MODE_PREVIEW),
349 VIDEO_MODE_RECORDING(VideoConfig.VIDEO_MODE_RECORDING),
[all …]
DDeviceInfo.java6 import android.telephony.imsmedia.VideoConfig;
191 private Set<Integer> mRtcpFbTypes = new HashSet<>(Arrays.asList(VideoConfig.RTP_FB_NONE,
192 VideoConfig.RTPFB_NACK, VideoConfig.RTPFB_TMMBR, VideoConfig.RTPFB_TMMBN,
193 VideoConfig.PSFB_PLI, VideoConfig.PSFB_FIR));
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtcpEncoderNode.cpp138 VideoConfig* videoConfig = reinterpret_cast<VideoConfig*>(config); in SetConfig()
157 VideoConfig* videoConfig = reinterpret_cast<VideoConfig*>(config); in IsSameConfig()
254 if (mRtcpFbTypes & VideoConfig::RTP_FB_NACK) in SendNack()
295 if (type == kPsfbPli && mRtcpFbTypes & VideoConfig::PSFB_PLI) in SendPictureLost()
307 else if (type == kPsfbFir && mRtcpFbTypes & VideoConfig::PSFB_FIR) in SendPictureLost()
353 if (type == kRtpFbTmmbr && mRtcpFbTypes & VideoConfig::RTP_FB_TMMBR) in SendTmmbrn()
357 else if (type == kRtpFbTmmbn && mRtcpFbTypes & VideoConfig::RTP_FB_TMMBN) in SendTmmbrn()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DVideoListener.java21 import android.telephony.imsmedia.VideoConfig;
79 final VideoConfig config = VideoConfig.CREATOR.createFromParcel(parcel); in onMessage()
85 final VideoConfig config = VideoConfig.CREATOR.createFromParcel(parcel); in onMessage()
DVideoSession.java30 import android.telephony.imsmedia.VideoConfig;
132 public void modifySession(VideoConfig config) { in modifySession()
203 handleModifySession((VideoConfig) msg.obj); in handleMessage()
230 handleModifySessionRespose((VideoConfig) msg.obj, msg.arg1); in handleMessage()
233 handleFirstMediaPacketInd((VideoConfig) msg.obj); in handleMessage()
267 private void handleModifySession(VideoConfig config) { in handleModifySession()
319 private void handleModifySessionRespose(VideoConfig config, int error) { in handleModifySessionRespose()
327 private void handleFirstMediaPacketInd(VideoConfig config) { in handleFirstMediaPacketInd()

12