Searched defs:profile (Results 1 - 25 of 56) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitenc.h36 Word16 profile; member in struct:BITSTREAMENCODER_INIT
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothManager.java76 * Get the current connection state of the profile to the remote device.
79 * the connection state of the local Bluetooth adapter for certain profile.
86 * @param profile GATT or GATT_SERVER
87 * @return State of the profile connection. One of
92 public int getConnectionState(BluetoothDevice device, int profile) { argument
95 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile);
106 * Get connected devices for the specified profile.
111 * the connection state of Bluetooth for this profile.
117 * @param profile GATT or GATT_SERVER
120 public List<BluetoothDevice> getConnectedDevices(int profile) { argument
164 getDevicesMatchingConnectionStates(int profile, int[] states) argument
[all...]
H A DBluetoothProfile.java26 * to get the Profile Proxy. Each public profile implements this
34 * This extra represents the current connection state of the profile of the
37 public static final String EXTRA_STATE = "android.bluetooth.profile.extra.STATE";
42 * This extra represents the previous connection state of the profile of the
46 "android.bluetooth.profile.extra.PREVIOUS_STATE";
48 /** The profile is in disconnected state */
50 /** The profile is in connecting state */
52 /** The profile is in connected state */
54 /** The profile is in disconnecting state */
58 * Headset and Handsfree profile
179 onServiceConnected(int profile, BluetoothProfile proxy) argument
187 onServiceDisconnected(int profile) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc_core.c63 Word16 profile = 1; local
131 hAacEnc->bseInit.profile = profile;
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp73 unsigned profile,
102 dst[2] = (profile << 6)
72 MakeADTSCompoundFromAACFrames( unsigned profile, unsigned samplingFreqIndex, unsigned channelConfig, const List<sp<ABuffer> > &frames) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java36 public static CamcorderProfile profile = CamcorderProfile.get(mCameraId, mProfileQuality); field in class:MediaRecorderStressTestRunner
38 public static int mVideoEncoder = profile.videoCodec;
39 public static int mAudioEncoder = profile.audioCodec;
40 public static int mFrameRate = profile.videoFrameRate;
41 public static int mVideoWidth = profile.videoFrameWidth;
42 public static int mVideoHeight = profile.videoFrameHeight;
43 public static int mBitRate = profile.videoBitRate;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp92 uint32 profile = 0x01; local
108 tmpvar = (uint32) BitstreamReadBits16(stream, 8); /* profile */
130 profile = tmpvar;
133 // save the profile and level for the query
292 if (profile != 0x10 && profile != 0x11 && profile != 0x12)
299 if (profile != 0x01 && profile != 0x02 && profile !
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.h42 unsigned char profile, level; member in struct:android::VideoFormats::config_t
H A DVideoFormats.cpp163 mConfigs[i][j].profile = mConfigs[i][j].level = 0;
172 mConfigs[i][j].profile = (1ul << PROFILE_CBP);
236 unsigned profile, level, res[3]; local
241 &profile,
253 if (profile > mConfigs[i][j].profile) {
254 mConfigs[i][j].profile = profile;
310 // 1 byte profile
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp44 fprintf(stderr, " -p encoder profile. see omx il header (default: encoder specific)\n");
163 int profile = -1; // Encoder specific default local
225 profile = atoi(optarg);
289 if (profile != -1) {
290 enc_meta->setInt32(kKeyVideoProfile, profile);
H A Dsf2.cpp307 uint8_t profile = ptr[1]; local
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_EXTERNAL_BitstreamParser.c34 M4OSA_Int32 profile; member in struct:__anon315
589 ALOGV("getAVCProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
596 M4OSA_UInt16 index = 7; /* the 5th and 6th bytes contain the level and profile */
641 /* get H263 profile */
673 ALOGV("getH263ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
691 *pProfile = mpeg4ProfileLevelTable[i].profile;
696 ALOGV("getMPEG4ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
/frameworks/av/media/libstagefright/
H A DUtils.cpp143 uint8_t profile = ptr[1]; local
259 avcc[1] = 0x64; // profile
H A DAACExtractor.cpp155 uint8_t profile, sf_index, channel, header[2]; local
160 profile = (header[0] >> 6) & 0x3;
168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
H A DMPEG2TSWriter.cpp306 unsigned profile = (codec_specific_data[0] >> 3) - 1; local
323 profile << 6
H A Davc_utils.cpp270 const char *AVCProfileToString(uint8_t profile) { argument
271 switch (profile) {
319 memcpy(out, seqParamSet->data() + 1, 3); // profile/level...
321 uint8_t profile = out[0]; local
357 ALOGI("found AVC codec config (%d x %d, %s-profile level %d.%d) "
361 AVCProfileToString(profile),
367 ALOGI("found AVC codec config (%d x %d, %s-profile level %d.%d)",
370 AVCProfileToString(profile),
423 unsigned profile, unsigned sampling_freq_index,
459 ((profile
422 MakeAACCodecSpecificData( unsigned profile, unsigned sampling_freq_index, unsigned channel_configuration) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder2.cpp290 static AUDIO_OBJECT_TYPE getAOTFromProfile(OMX_U32 profile) { argument
291 if (profile == OMX_AUDIO_AACObjectLC) {
293 } else if (profile == OMX_AUDIO_AACObjectHE) {
295 } else if (profile == OMX_AUDIO_AACObjectELD) {
298 ALOGW("Unsupported AAC profile - defaulting to AAC-LC");
355 ALOGE("Unable to initialize encoder for profile / sample-rate / bit-rate / channels");
/frameworks/av/media/libstagefright/codecs/on2/h264dec/inc/
H A DH264SwDecApi.h120 u32 profile; member in struct:__anon701
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java169 private void recordVideoAndPlayback(int profile) throws Exception { argument
181 if (profile != USE_TEST_RUNNER_PROFILE) {
182 assertTrue(String.format("Camera doesn't support profile %d", profile),
183 CamcorderProfile.hasProfile(CAMERA_ID, profile));
184 CamcorderProfile camcorderProfile = CamcorderProfile.get(CAMERA_ID, profile);
329 // Set camcorder profile for time lapse
330 CamcorderProfile profile =
332 mRecorder.setProfile(profile);
/frameworks/base/services/java/com/android/server/net/
H A DLockdownVpnTracker.java85 ConnectivityService connService, Vpn vpn, VpnProfile profile) {
90 mProfile = Preconditions.checkNotNull(profile);
154 Slog.e(TAG, "Invalid VPN profile; requires IP-based server and DNS");
84 LockdownVpnTracker(Context context, INetworkManagementService netService, ConnectivityService connService, Vpn vpn, VpnProfile profile) argument
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp106 uint8_t profile, sf_index, channel, header[2]; local
113 profile = (header[0] >> 6) & 0x3;
126 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
/frameworks/wilhelm/tests/examples/
H A DxaVideoDecoderCapabilities.cpp95 // Map a video codec and profile to string
97 const char *videoProfileToString(XAuint32 codec, XAuint32 profile) { argument
155 return id_pair_to_string(codec, profile, table, sizeof(table) / sizeof(table[0]));
271 /* get the number of profile / level combinations */
274 fprintf(stdout, "decoder %s has %d profile/level combinations:\n\t",
276 /* display the profile / level combinations */
282 XAuint32 profile = decDescriptor.profileSetting; local
284 fprintf(stdout, "%u/%u ", profile, level);
286 printf("(%s/%s) ", videoProfileToString(decoder, profile),
308 fprintf(stdout, "profile / level
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipProfile.java36 * Defines a SIP profile, including a SIP account, domain and server information.
96 * Creates a builder based on the given profile.
98 public Builder(SipProfile profile) { argument
99 if (profile == null) throw new NullPointerException();
101 mProfile = (SipProfile) profile.clone();
106 mUri = profile.getUri();
107 mUri.setUserPassword(profile.getPassword());
108 mDisplayName = profile.getDisplayName();
109 mProxyAddress = profile.getProxyAddress();
110 mProfile.mPort = profile
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java94 private FromHeader createFromHeader(SipProfile profile, String tag) argument
96 return mHeaderFactory.createFromHeader(profile.getSipAddress(), tag);
99 private ToHeader createToHeader(SipProfile profile) throws ParseException { argument
100 return createToHeader(profile, null);
103 private ToHeader createToHeader(SipProfile profile, String tag) argument
105 return mHeaderFactory.createToHeader(profile.getSipAddress(), tag);
152 private ContactHeader createContactHeader(SipProfile profile) argument
154 return createContactHeader(profile, null, 0);
157 private ContactHeader createContactHeader(SipProfile profile, argument
161 ? createSipUri(profile
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.h95 /* if profile/level is set to zero, encoder will choose the closest one for you */
96 AVCProfile profile; /* profile of the bitstream to be compliant with*/ member in struct:tagAVCEncParam
184 encoding parameters against the specified profile/level and the list of supported

Completed in 1365 milliseconds

123