Home
last modified time | relevance | path

Searched refs:inputData (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp297 VO_CODECBUFFER inputData; in read() local
298 memset(&inputData, 0, sizeof(inputData)); in read()
299 inputData.Buffer = (unsigned char*) mInputFrame; in read()
300 inputData.Length = nSamples * sizeof(int16_t); in read()
301 CHECK(VO_ERR_NONE == mApiHandle->SetInputData(mEncoderHandle,&inputData)); in read()
DSoftAACEncoder.cpp496 VO_CODECBUFFER inputData; in onQueueFilled() local
497 memset(&inputData, 0, sizeof(inputData)); in onQueueFilled()
498 inputData.Buffer = (unsigned char *)mInputFrame; in onQueueFilled()
499 inputData.Length = numBytesPerInputFrame; in onQueueFilled()
501 mApiHandle->SetInputData(mEncoderHandle, &inputData)); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp405 VO_CODECBUFFER inputData; in onQueueFilled() local
406 memset(&inputData, 0, sizeof(inputData)); in onQueueFilled()
407 inputData.Buffer = (unsigned char *) mInputFrame; in onQueueFilled()
408 inputData.Length = mInputSize; in onQueueFilled()
411 mApiHandle->SetInputData(mEncoderHandle, &inputData)); in onQueueFilled()
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp218 int uniqueId, int convertId, const DrmBuffer* inputData) { in onConvertData() argument
222 if (NULL != inputData && 0 < inputData->length) { in onConvertData()
223 int length = inputData->length; in onConvertData()
227 memcpy(convertedData->data, inputData->data, length); in onConvertData()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp682 uint8_t *inputData = NULL; in onQueueFilled() local
691 inputData = in onQueueFilled()
694 if (inputData == NULL) { in onQueueFilled()
702 inputData = (uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
707 inputData, mInputFrameData, mVideoWidth, mVideoHeight); in onQueueFilled()
708 inputData = mInputFrameData; in onQueueFilled()
710 CHECK(inputData != NULL); in onQueueFilled()
718 vin.yChan = inputData; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp809 uint8_t *inputData = NULL; in onQueueFilled() local
818 inputData = in onQueueFilled()
821 if (inputData == NULL) { in onQueueFilled()
829 inputData = (uint8_t *)inHeader->pBuffer + inHeader->nOffset; in onQueueFilled()
834 inputData, mInputFrameData, mVideoWidth, mVideoHeight); in onQueueFilled()
835 inputData = mInputFrameData; in onQueueFilled()
837 CHECK(inputData != NULL); in onQueueFilled()
838 videoInput.YCbCr[0] = inputData; in onQueueFilled()
/frameworks/av/drm/common/
DDrmEngineBase.cpp110 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
111 return onConvertData(uniqueId, convertId, inputData); in convertData()
DIDrmManagerService.cpp513 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
520 data.writeInt32(inputData->length); in convertData()
521 data.write(inputData->data, inputData->length); in convertData()
1235 DrmBuffer* inputData = new DrmBuffer((char *)data.readInplace(bufferSize), bufferSize); in onTransact() local
1237 DrmConvertedStatus* drmConvertedStatus = convertData(uniqueId, convertId, inputData); in onTransact()
1255 delete inputData; inputData = NULL; in onTransact()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java767 public DrmConvertedStatus convertData(int convertId, byte[] inputData) { in convertData() argument
768 if (null == inputData || 0 >= inputData.length) { in convertData()
771 return _convertData(mUniqueId, convertId, inputData); in convertData()
897 int uniqueId, int convertId, byte[] inputData); in _convertData() argument
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp107 DrmConvertedStatus* DrmManagerClient::convertData(int convertId, const DrmBuffer* inputData) { in convertData() argument
108 return mDrmManagerClientImpl->convertData(mUniqueId, convertId, inputData); in convertData()
DDrmManagerClientImpl.cpp233 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
235 if (NULL != inputData) { in convertData()
237 getDrmManagerService()->convertData(uniqueId, convertId, inputData); in convertData()
/frameworks/av/drm/libdrmframework/plugins/common/include/
DDrmEngineBase.h76 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
344 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
DIDrmEngine.h288 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp400 const DrmBuffer* inputData) { argument
405 if (NULL != inputData && convertSessionMap.isCreated(convertId)) {
410 inputData->data,
411 inputData->length,
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp186 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
188 return mDrmManager->convertData(uniqueId, convertId, inputData); in convertData()
DDrmManager.cpp364 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData() argument
370 drmConvertedStatus = drmEngine->convertData(uniqueId, convertId, inputData); in convertData()
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h70 DrmConvertedStatus* onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData);
/frameworks/av/drm/libdrmframework/include/
DIDrmManagerService.h136 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
225 int uniqueId, int convertId, const DrmBuffer* inputData);
DDrmManagerService.h95 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
DDrmManagerClientImpl.h266 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
DDrmManager.h108 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
/frameworks/av/include/drm/
DDrmManagerClient.h352 DrmConvertedStatus* convertData(int convertId, const DrmBuffer* inputData);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h293 const DrmBuffer* inputData);
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp670 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) { in android_drm_DrmManagerClient_convertData() argument
674 char* mData = Utility::getByteArrayValue(env, inputData, &dataLength); in android_drm_DrmManagerClient_convertData()