Home
last modified time | relevance | path

Searched refs:outputBuffer (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/libstagefright/codecs/avc/enc/
DAVCEncoder.cpp419 MediaBuffer *outputBuffer; in read() local
420 CHECK_EQ(OK, mGroup->acquire_buffer(&outputBuffer)); in read()
421 uint8_t *outPtr = (uint8_t *) outputBuffer->data(); in read()
422 uint32_t dataLength = outputBuffer->size(); in read()
446 memcpy((uint8_t *)outputBuffer->data(), "\x00\x00\x00\x01", 4); in read()
447 outputBuffer->set_range(0, dataLength + 4); in read()
449 dataLength = outputBuffer->size() - in read()
450 (outputBuffer->range_length() + 4); in read()
454 memcpy(((uint8_t *) outputBuffer->data()) + in read()
455 outputBuffer->range_length(), in read()
[all …]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/
DM4vH263Encoder.cpp381 MediaBuffer *outputBuffer; in read() local
382 CHECK_EQ(OK, mGroup->acquire_buffer(&outputBuffer)); in read()
383 uint8_t *outPtr = (uint8_t *) outputBuffer->data(); in read()
384 int32_t dataLength = outputBuffer->size(); in read()
393 outputBuffer->meta_data()->setInt32(kKeyIsCodecConfig, 1); in read()
394 outputBuffer->set_range(0, dataLength); in read()
395 *out = outputBuffer; in read()
406 outputBuffer->release(); in read()
411 outputBuffer->release(); in read()
426 outputBuffer->set_range(0, 0); in read()
[all …]
/frameworks/base/media/libstagefright/codecs/aacdec/
Dwrite_output.h95 Int16 outputBuffer[],
106 Int16 outputBuffer[],
120 Int16 outputBuffer[],
Dstereo_2_mono.h86 Int16 outputBuffer[],
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorVideoEncoder.cpp486 MediaBuffer* outputBuffer = NULL; in VideoEditorVideoEncoder_getDSI() local
530 result = encoder->read(&outputBuffer, NULL); in VideoEditorVideoEncoder_getDSI()
532 VIDEOEDITOR_CHECK(outputBuffer->meta_data()->findInt32( in VideoEditorVideoEncoder_getDSI()
541 (const uint8_t*)outputBuffer->data() + outputBuffer->range_offset(), in VideoEditorVideoEncoder_getDSI()
542 outputBuffer->range_length(), encoder->getFormat().get()); in VideoEditorVideoEncoder_getDSI()
543 outputBuffer->release(); in VideoEditorVideoEncoder_getDSI()
548 (M4OSA_UInt32)outputBuffer->range_length(); in VideoEditorVideoEncoder_getDSI()
552 (void *)((M4OSA_MemAddr8)(outputBuffer->data())+outputBuffer->range_offset()), in VideoEditorVideoEncoder_getDSI()
554 outputBuffer->release(); in VideoEditorVideoEncoder_getDSI()
1142 MediaBuffer* outputBuffer = NULL; in VideoEditorVideoEncoder_encode() local
[all …]
DVideoEditorAudioDecoder.cpp719 MediaBuffer* outputBuffer = NULL; in VideoEditorAudioDecoder_step() local
734 result = pDecoderContext->mDecoder->read(&outputBuffer, NULL); in VideoEditorAudioDecoder_step()
738 CHECK(outputBuffer == NULL); in VideoEditorAudioDecoder_step()
764 outputBuffer, pOutputBuffer); in VideoEditorAudioDecoder_step()
/frameworks/base/services/java/com/android/server/
DPackageManagerBackupAgent.java125 ByteArrayOutputStream outputBuffer = new ByteArrayOutputStream(); // we'll reuse these in onBackup() local
126 DataOutputStream outputBufferStream = new DataOutputStream(outputBuffer); in onBackup()
153 writeEntity(data, GLOBAL_METADATA_KEY, outputBuffer.toByteArray()); in onBackup()
207 outputBuffer.reset(); in onBackup()
214 + " entityLen=" + outputBuffer.size()); in onBackup()
218 writeEntity(data, packName, outputBuffer.toByteArray()); in onBackup()
/frameworks/media/libvideoeditor/vss/src/
DM4VSS3GPP_Clip.c2007 M4AD_Buffer outputBuffer; in M4VSS3GPP_intCheckAndGetCodecAacProperties() local
2039 outputBuffer.m_bufferSize = in M4VSS3GPP_intCheckAndGetCodecAacProperties()
2044 if( outputBuffer.m_bufferSize > 0 ) { in M4VSS3GPP_intCheckAndGetCodecAacProperties()
2046 outputBuffer.m_dataAddress = in M4VSS3GPP_intCheckAndGetCodecAacProperties()
2047 (M4OSA_MemAddr8)M4OSA_32bitAlignedMalloc(outputBuffer.m_bufferSize \ in M4VSS3GPP_intCheckAndGetCodecAacProperties()
2050 if( M4OSA_NULL == outputBuffer.m_dataAddress ) { in M4VSS3GPP_intCheckAndGetCodecAacProperties()
2060 pClipCtxt->pAudioDecCtxt, M4OSA_NULL, &outputBuffer, M4OSA_FALSE); in M4VSS3GPP_intCheckAndGetCodecAacProperties()
2086 free(outputBuffer.m_dataAddress); in M4VSS3GPP_intCheckAndGetCodecAacProperties()
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp1544 uint8 *outputBuffer; in PVDecPostProcess() local
1550 outputBuffer = outputYUV; in PVDecPostProcess()
1556 outputBuffer = video->currVop->yChan; in PVDecPostProcess()
1560 outputBuffer = decCtrl->outputFrame; in PVDecPostProcess()
1567 PostFilter(video, video->postFilterType, outputBuffer); in PVDecPostProcess()
1575 oscl_memcpy(outputBuffer, decCtrl->outputFrame, tmpvar*3 / 2); /* 3/3/01 */ in PVDecPostProcess()
1579 outputBuffer = decCtrl->outputFrame; in PVDecPostProcess()
1582 decCtrl->outputFrame = outputBuffer; in PVDecPostProcess()
/frameworks/media/libvideoeditor/vss/mcs/src/
DM4MCS_API.c10559 M4AD_Buffer outputBuffer; in M4MCS_intCheckAndGetCodecProperties() local
10606 outputBuffer.m_bufferSize = in M4MCS_intCheckAndGetCodecProperties()
10611 if( outputBuffer.m_bufferSize > 0 ) { in M4MCS_intCheckAndGetCodecProperties()
10613 outputBuffer.m_dataAddress = in M4MCS_intCheckAndGetCodecProperties()
10614 (M4OSA_MemAddr8)M4OSA_32bitAlignedMalloc(outputBuffer.m_bufferSize \ in M4MCS_intCheckAndGetCodecProperties()
10617 if( M4OSA_NULL == outputBuffer.m_dataAddress ) { in M4MCS_intCheckAndGetCodecProperties()
10627 M4OSA_NULL, &outputBuffer, M4OSA_FALSE); in M4MCS_intCheckAndGetCodecProperties()
10659 free(outputBuffer.m_dataAddress); in M4MCS_intCheckAndGetCodecProperties()