Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 2170) sorted by relevance

12345678910>>...87

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_transform.c94 u32 h264bsdProcessBlock(i32 *data, u32 qp, u32 skip, u32 coeffMap) in h264bsdProcessBlock() argument
113 data[0] = (data[0] * tmp1); in h264bsdProcessBlock()
120 d1 = data[1]; in h264bsdProcessBlock()
121 d2 = data[14]; in h264bsdProcessBlock()
122 d3 = data[15]; in h264bsdProcessBlock()
123 data[1] = (d1 * tmp2); in h264bsdProcessBlock()
124 data[14] = (d2 * tmp2); in h264bsdProcessBlock()
125 data[15] = (d3 * tmp3); in h264bsdProcessBlock()
127 d1 = data[2]; in h264bsdProcessBlock()
128 d2 = data[5]; in h264bsdProcessBlock()
[all …]
Dh264bsd_intra_prediction.c162 static void Get4x4NeighbourPels(u8 *a, u8 *l, u8 *data, u8 *above, u8 *left,
164 static void Intra16x16VerticalPrediction(u8 *data, u8 *above);
165 static void Intra16x16HorizontalPrediction(u8 *data, u8 *left);
166 static void Intra16x16DcPrediction(u8 *data, u8 *above, u8 *left,
168 static void Intra16x16PlanePrediction(u8 *data, u8 *above, u8 *left);
169 static void IntraChromaDcPrediction(u8 *data, u8 *above, u8 *left,
171 static void IntraChromaHorizontalPrediction(u8 *data, u8 *left);
172 static void IntraChromaVerticalPrediction(u8 *data, u8 *above);
173 static void IntraChromaPlanePrediction(u8 *data, u8 *above, u8 *left);
175 static void Intra4x4VerticalPrediction(u8 *data, u8 *above);
[all …]
/frameworks/base/libs/hwui/
DMatrix.cpp46 data[kScaleX] = 1.0f; in loadIdentity()
47 data[kSkewY] = 0.0f; in loadIdentity()
48 data[2] = 0.0f; in loadIdentity()
49 data[kPerspective0] = 0.0f; in loadIdentity()
51 data[kSkewX] = 0.0f; in loadIdentity()
52 data[kScaleY] = 1.0f; in loadIdentity()
53 data[6] = 0.0f; in loadIdentity()
54 data[kPerspective1] = 0.0f; in loadIdentity()
56 data[8] = 0.0f; in loadIdentity()
57 data[9] = 0.0f; in loadIdentity()
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp42 const DecryptHandle* handle, Parcel* data) { in writeDecryptHandleToParcelData() argument
43 data->writeInt32(handle->decryptId); in writeDecryptHandleToParcelData()
44 data->writeString8(handle->mimeType); in writeDecryptHandleToParcelData()
45 data->writeInt32(handle->decryptApiType); in writeDecryptHandleToParcelData()
46 data->writeInt32(handle->status); in writeDecryptHandleToParcelData()
49 data->writeInt32(size); in writeDecryptHandleToParcelData()
51 data->writeInt32(handle->copyControlVector.keyAt(i)); in writeDecryptHandleToParcelData()
52 data->writeInt32(handle->copyControlVector.valueAt(i)); in writeDecryptHandleToParcelData()
56 data->writeInt32(size); in writeDecryptHandleToParcelData()
58 data->writeString8(handle->extendedData.keyAt(i)); in writeDecryptHandleToParcelData()
[all …]
/frameworks/native/libs/binder/
DIBatteryStats.cpp38 Parcel data, reply; in noteStartSensor() local
39 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartSensor()
40 data.writeInt32(uid); in noteStartSensor()
41 data.writeInt32(sensor); in noteStartSensor()
42 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); in noteStartSensor()
46 Parcel data, reply; in noteStopSensor() local
47 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopSensor()
48 data.writeInt32(uid); in noteStopSensor()
49 data.writeInt32(sensor); in noteStopSensor()
50 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); in noteStopSensor()
[all …]
DIAppOpsService.cpp40 Parcel data, reply; in checkOperation() local
41 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in checkOperation()
42 data.writeInt32(code); in checkOperation()
43 data.writeInt32(uid); in checkOperation()
44 data.writeString16(packageName); in checkOperation()
45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation()
52 Parcel data, reply; in noteOperation() local
53 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in noteOperation()
54 data.writeInt32(code); in noteOperation()
55 data.writeInt32(uid); in noteOperation()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp114 Parcel data, reply; in createTrack() local
116 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor()); in createTrack()
117 data.writeInt32((int32_t) streamType); in createTrack()
118 data.writeInt32(sampleRate); in createTrack()
119 data.writeInt32(format); in createTrack()
120 data.writeInt32(channelMask); in createTrack()
122 data.writeInt64(frameCount); in createTrack()
124 data.writeInt32(lFlags); in createTrack()
127 data.writeInt32(true); in createTrack()
128 data.writeStrongBinder(IInterface::asBinder(sharedBuffer)); in createTrack()
[all …]
DIAudioPolicyService.cpp100 Parcel data, reply; in setDeviceConnectionState() local
101 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setDeviceConnectionState()
102 data.writeInt32(static_cast <uint32_t>(device)); in setDeviceConnectionState()
103 data.writeInt32(static_cast <uint32_t>(state)); in setDeviceConnectionState()
104 data.writeCString(device_address); in setDeviceConnectionState()
105 data.writeCString(device_name); in setDeviceConnectionState()
106 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState()
114 Parcel data, reply; in getDeviceConnectionState() local
115 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getDeviceConnectionState()
116 data.writeInt32(static_cast <uint32_t>(device)); in getDeviceConnectionState()
[all …]
DIAudioPolicyServiceClient.cpp38 inline void readAudioConfigBaseFromParcel(const Parcel& data, audio_config_base_t *config) { in readAudioConfigBaseFromParcel() argument
39 config->sample_rate = data.readUint32(); in readAudioConfigBaseFromParcel()
40 config->channel_mask = (audio_channel_mask_t) data.readInt32(); in readAudioConfigBaseFromParcel()
41 config->format = (audio_format_t) data.readInt32(); in readAudioConfigBaseFromParcel()
44 inline void writeAudioConfigBaseToParcel(Parcel& data, const audio_config_base_t *config) in writeAudioConfigBaseToParcel() argument
46 data.writeUint32(config->sample_rate); in writeAudioConfigBaseToParcel()
47 data.writeInt32((int32_t) config->channel_mask); in writeAudioConfigBaseToParcel()
48 data.writeInt32((int32_t) config->format); in writeAudioConfigBaseToParcel()
51 inline void readRecordClientInfoFromParcel(const Parcel& data, record_client_info_t *clientInfo) { in readRecordClientInfoFromParcel() argument
52 clientInfo->uid = (uid_t) data.readUint32(); in readRecordClientInfoFromParcel()
[all …]
/frameworks/av/camera/
DICamera.cpp73 Parcel data, reply; in disconnect() local
74 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in disconnect()
75 remote()->transact(DISCONNECT, data, &reply); in disconnect()
84 Parcel data, reply; in setPreviewTarget() local
85 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewTarget()
87 data.writeStrongBinder(b); in setPreviewTarget()
88 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget()
97 Parcel data, reply; in setPreviewCallbackFlag() local
98 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewCallbackFlag()
99 data.writeInt32(flag); in setPreviewCallbackFlag()
[all …]
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp78 Parcel data, reply; in setCamera() local
79 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setCamera()
80 data.writeStrongBinder(IInterface::asBinder(camera)); in setCamera()
81 data.writeStrongBinder(IInterface::asBinder(proxy)); in setCamera()
82 remote()->transact(SET_CAMERA, data, &reply); in setCamera()
89 Parcel data, reply; in setInputSurface() local
90 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setInputSurface()
91 surface->writeToParcel(&data); in setInputSurface()
92 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
99 Parcel data, reply; in querySurfaceMediaSource() local
[all …]
DIMediaPlayer.cpp87 static void writeVector(Parcel& data, Vector<uint8_t> const& vector) { in writeVector() argument
88 data.writeUint32(vector.size()); in writeVector()
89 data.write(vector.array(), vector.size()); in writeVector()
103 Parcel data, reply; in disconnect() local
104 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in disconnect()
105 remote()->transact(DISCONNECT, data, &reply); in disconnect()
113 Parcel data, reply; in setDataSource() local
114 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in setDataSource()
115 data.writeInt32(httpService != NULL); in setDataSource()
117 data.writeStrongBinder(IInterface::asBinder(httpService)); in setDataSource()
[all …]
DIMediaMetadataRetriever.cpp44 static void sendSchedPolicy(Parcel& data) in sendSchedPolicy() argument
48 data.writeInt32(policy); in sendSchedPolicy()
51 static void setSchedPolicy(const Parcel& data) in setSchedPolicy() argument
53 SchedPolicy policy = (SchedPolicy) data.readInt32(); in setSchedPolicy()
86 Parcel data, reply; in disconnect() local
87 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in disconnect()
88 remote()->transact(DISCONNECT, data, &reply); in disconnect()
96 Parcel data, reply; in setDataSource() local
97 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in setDataSource()
98 data.writeInt32(httpService != NULL); in setDataSource()
[all …]
DIHDCP.cpp46 Parcel data, reply; in notify() local
47 data.writeInterfaceToken(IHDCPObserver::getInterfaceDescriptor()); in notify()
48 data.writeInt32(msg); in notify()
49 data.writeInt32(ext1); in notify()
50 data.writeInt32(ext2); in notify()
52 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize()); in notify()
54 remote()->transact(OBSERVER_NOTIFY, data, &reply, IBinder::FLAG_ONEWAY); in notify()
66 Parcel data, reply; in setObserver() local
67 data.writeInterfaceToken(IHDCP::getInterfaceDescriptor()); in setObserver()
68 data.writeStrongBinder(IInterface::asBinder(observer)); in setObserver()
[all …]
DIStreamSource.cpp59 Parcel data, reply; in setListener() local
60 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setListener()
61 data.writeStrongBinder(IInterface::asBinder(listener)); in setListener()
62 remote()->transact(SET_LISTENER, data, &reply); in setListener()
66 Parcel data, reply; in setBuffers() local
67 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setBuffers()
68 data.writeInt64(static_cast<int64_t>(buffers.size())); in setBuffers()
70 data.writeStrongBinder(IInterface::asBinder(buffers.itemAt(i))); in setBuffers()
72 remote()->transact(SET_BUFFERS, data, &reply); in setBuffers()
76 Parcel data, reply; in onBufferAvailable() local
[all …]
/frameworks/native/services/powermanager/
DIPowerManager.cpp41 Parcel data, reply; in acquireWakeLock() local
42 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in acquireWakeLock()
44 data.writeStrongBinder(lock); in acquireWakeLock()
45 data.writeInt32(flags); in acquireWakeLock()
46 data.writeString16(tag); in acquireWakeLock()
47 data.writeString16(packageName); in acquireWakeLock()
48 data.writeInt32(0); // no WorkSource in acquireWakeLock()
49 data.writeString16(NULL, 0); // no history tag in acquireWakeLock()
50 return remote()->transact(ACQUIRE_WAKE_LOCK, data, &reply, in acquireWakeLock()
57 Parcel data, reply; in acquireWakeLockWithUid() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DFrameParser.java70 private static short getUnsignedByte(ByteBuffer data) { in getUnsignedByte() argument
71 return (short) (data.get() & 0x00ff); in getUnsignedByte()
77 private static int getUnsignedShort(ByteBuffer data) { in getUnsignedShort() argument
78 return (data.getShort() & 0xffff); in getUnsignedShort()
88 private void parseEthernetFrame(ByteBuffer data) { in parseEthernetFrame() argument
90 data.position(data.position() + ETHERNET_SRC_MAC_ADDR_LEN + ETHERNET_DST_MAC_ADDR_LEN); in parseEthernetFrame()
91 short etherType = data.getShort(); in parseEthernetFrame()
94 parseIpv4Packet(data); in parseEthernetFrame()
97 parseArpPacket(data); in parseEthernetFrame()
100 parseIpv6Packet(data); in parseEthernetFrame()
[all …]
/frameworks/base/libs/storage/
DIMountService.cpp65 Parcel data, reply; in registerListener() local
66 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in registerListener()
67 data.writeStrongBinder(IInterface::asBinder(listener)); in registerListener()
68 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener()
81 Parcel data, reply; in unregisterListener() local
82 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in unregisterListener()
83 data.writeStrongBinder(IInterface::asBinder(listener)); in unregisterListener()
84 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener()
97 Parcel data, reply; in isUsbMassStorageConnected() local
98 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in isUsbMassStorageConnected()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderNative.java75 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
81 data.enforceInterface(IContentProvider.descriptor); in onTransact()
83 String callingPkg = data.readString(); in onTransact()
84 Uri url = Uri.CREATOR.createFromParcel(data); in onTransact()
87 int num = data.readInt(); in onTransact()
92 projection[i] = data.readString(); in onTransact()
96 Bundle queryArgs = data.readBundle(); in onTransact()
98 data.readStrongBinder()); in onTransact()
100 data.readStrongBinder()); in onTransact()
136 data.enforceInterface(IContentProvider.descriptor); in onTransact()
[all …]
/frameworks/av/drm/libmediadrm/
DIDrm.cpp67 Parcel data, reply; in initCheck() local
68 data.writeInterfaceToken(IDrm::getInterfaceDescriptor()); in initCheck()
69 status_t status = remote()->transact(INIT_CHECK, data, &reply); in initCheck()
78 Parcel data, reply; in isCryptoSchemeSupported() local
79 data.writeInterfaceToken(IDrm::getInterfaceDescriptor()); in isCryptoSchemeSupported()
80 data.write(uuid, 16); in isCryptoSchemeSupported()
81 data.writeString8(mimeType); in isCryptoSchemeSupported()
82 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); in isCryptoSchemeSupported()
93 Parcel data, reply; in createPlugin() local
94 data.writeInterfaceToken(IDrm::getInterfaceDescriptor()); in createPlugin()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp182 (const uint8_t *)buffer->data() + buffer->range_offset(); in StripStartcode()
313 mSocket, buffer->data(), buffer->size(), 0, in send()
326 write(fd, buffer->data(), buffer->size()); in send()
331 uint8_t *data = buffer->data() + buffer->size(); in addSR() local
333 data[0] = 0x80 | 0; in addSR()
334 data[1] = 200; // SR in addSR()
335 data[2] = 0; in addSR()
336 data[3] = 6; in addSR()
337 data[4] = mSourceID >> 24; in addSR()
338 data[5] = (mSourceID >> 16) & 0xff; in addSR()
[all …]
DARTPSource.cpp191 uint8_t *data = buffer->data() + buffer->size(); in addFIR() local
193 data[0] = 0x80 | 4; in addFIR()
194 data[1] = 206; // PSFB in addFIR()
195 data[2] = 0; in addFIR()
196 data[3] = 4; in addFIR()
197 data[4] = kSourceID >> 24; in addFIR()
198 data[5] = (kSourceID >> 16) & 0xff; in addFIR()
199 data[6] = (kSourceID >> 8) & 0xff; in addFIR()
200 data[7] = kSourceID & 0xff; in addFIR()
202 data[8] = 0x00; // SSRC of media source (unused) in addFIR()
[all …]
/frameworks/native/services/audiomanager/
DIPlayer.cpp51 Parcel data, reply; in start() local
52 data.writeInterfaceToken(IPlayer::getInterfaceDescriptor()); in start()
53 remote()->transact(START, data, &reply); in start()
58 Parcel data, reply; in pause() local
59 data.writeInterfaceToken(IPlayer::getInterfaceDescriptor()); in pause()
60 remote()->transact(PAUSE, data, &reply); in pause()
65 Parcel data, reply; in stop() local
66 data.writeInterfaceToken(IPlayer::getInterfaceDescriptor()); in stop()
67 remote()->transact(STOP, data, &reply); in stop()
72 Parcel data, reply; in setVolume() local
[all …]
DIAudioManager.cpp40 Parcel data, reply; in trackPlayer() local
41 data.writeInterfaceToken(IAudioManager::getInterfaceDescriptor()); in trackPlayer()
42 data.writeInt32(1); // non-null PlayerIdCard parcelable in trackPlayer()
44 data.writeInt32((int32_t) playerType); in trackPlayer()
46 data.writeInt32((int32_t) usage); in trackPlayer()
47 data.writeInt32((int32_t) content); in trackPlayer()
48 data.writeInt32(0 /*source: none here, this is a player*/); in trackPlayer()
49 data.writeInt32(0 /*flags*/); in trackPlayer()
51 data.writeInt32(1 /*FLATTEN_TAGS*/); in trackPlayer()
52 data.writeString16(String16("")); // no tags in trackPlayer()
[all …]
/frameworks/native/libs/gui/
DISurfaceComposer.cpp58 Parcel data, reply; in createConnection() local
59 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in createConnection()
60 remote()->transact(BnSurfaceComposer::CREATE_CONNECTION, data, &reply); in createConnection()
67 Parcel data, reply; in createScopedConnection() local
68 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in createScopedConnection()
69 data.writeStrongBinder(IInterface::asBinder(parent)); in createScopedConnection()
70 remote()->transact(BnSurfaceComposer::CREATE_SCOPED_CONNECTION, data, &reply); in createScopedConnection()
79 Parcel data, reply; in setTransactionState() local
80 data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); in setTransactionState()
82 data.writeUint32(static_cast<uint32_t>(state.size())); in setTransactionState()
[all …]

12345678910>>...87