/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4SYS_AccessUnit.h | 63 M4SYS_StreamDescription* stream ; member in struct:__anon179
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 123 status_t AudioSystem::setStreamVolume(audio_stream_type_t stream, float value, argument 126 if (uint32_t(stream) >= AUDIO_STREAM_CNT) return BAD_VALUE; 129 af->setStreamVolume(stream, value, output); 133 status_t AudioSystem::setStreamMute(audio_stream_type_t stream, bool mute) argument 135 if (uint32_t(stream) >= AUDIO_STREAM_CNT) return BAD_VALUE; 138 af->setStreamMute(stream, mute); 142 status_t AudioSystem::getStreamVolume(audio_stream_type_t stream, float* volume, argument 145 if (uint32_t(stream) >= AUDIO_STREAM_CNT) return BAD_VALUE; 148 *volume = af->streamVolume(stream, output); 152 status_t AudioSystem::getStreamMute(audio_stream_type_t stream, boo argument 372 getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames, audio_stream_type_t stream) argument 433 audio_stream_type_t stream; local 588 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument 599 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 608 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 656 initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) argument 665 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument 674 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument 683 getStrategyForStream(audio_stream_type_t stream) argument 690 getDevicesForStream(audio_stream_type_t stream) argument 729 isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) argument 738 isSourceActive(audio_source_t stream, bool* state) argument [all...] |
H A D | IAudioFlinger.cpp | 261 virtual status_t setStreamVolume(audio_stream_type_t stream, float value, argument 266 data.writeInt32((int32_t) stream); 273 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted) argument 277 data.writeInt32((int32_t) stream); 283 virtual float streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const argument 287 data.writeInt32((int32_t) stream); 293 virtual bool streamMute(audio_stream_type_t stream) const 297 data.writeInt32((int32_t) stream); 485 virtual status_t setStreamOutput(audio_stream_type_t stream, audio_io_handle_t output) argument 489 data.writeInt32((int32_t) stream); 809 int stream = data.readInt32(); local 817 int stream = data.readInt32(); local 823 int stream = data.readInt32(); local 830 int stream = data.readInt32(); local 954 uint32_t stream = data.readInt32(); local [all...] |
H A D | IAudioFlingerClient.cpp | 49 uint32_t stream = *(const uint32_t *)param2; local 50 ALOGV("ioConfigChanged stream %d", stream); 51 data.writeInt32(stream); 78 uint32_t stream; local 80 stream = data.readInt32(); 81 param2 = &stream; 82 ALOGV("STREAM_CONFIG_CHANGED stream %d", stream);
|
H A D | IAudioPolicyService.cpp | 124 audio_stream_type_t stream, 132 data.writeInt32(static_cast <uint32_t>(stream)); 142 audio_stream_type_t stream, 148 data.writeInt32((int32_t) stream); 155 audio_stream_type_t stream, 161 data.writeInt32((int32_t) stream); 219 virtual status_t initStreamVolume(audio_stream_type_t stream, argument 225 data.writeInt32(static_cast <uint32_t>(stream)); 232 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream, argument 238 data.writeInt32(static_cast <uint32_t>(stream)); 123 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument 141 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 154 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 245 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument 260 getStrategyForStream(audio_stream_type_t stream) argument 269 getDevicesForStream(audio_stream_type_t stream) argument 323 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument 424 audio_stream_type_t stream = local 444 uint32_t stream = data.readInt32(); local 455 uint32_t stream = data.readInt32(); local 509 audio_stream_type_t stream = local 519 audio_stream_type_t stream = local 531 audio_stream_type_t stream = local 543 audio_stream_type_t stream = local 551 audio_stream_type_t stream = local 599 audio_stream_type_t stream = (audio_stream_type_t) data.readInt32(); local [all...] |
H A D | IMediaPlayer.cpp | 203 status_t setAudioStreamType(audio_stream_type_t stream) argument 207 data.writeInt32((int32_t) stream);
|
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamInSource.cpp | 26 AudioStreamInSource::AudioStreamInSource(audio_stream_in *stream) : argument 28 mStream(stream), 33 ALOG_ASSERT(stream != NULL);
|
H A D | AudioStreamOutSink.cpp | 25 AudioStreamOutSink::AudioStreamOutSink(audio_stream_out *stream) : argument 27 mStream(stream), 30 ALOG_ASSERT(stream != NULL);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | cod_main.h | 30 #include "stream.h" 93 FrameStream *stream; member in struct:__anon608
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | stream.c | 18 * File: stream.c * 24 #include "stream.h" 26 void voAWB_InitFrameBuffer(FrameStream *stream) argument 28 stream->set_ptr = NULL; 29 stream->frame_ptr_bk = stream->frame_ptr; 30 stream->set_len = 0; 31 stream->framebuffer_len = 0; 32 stream->frame_storelen = 0; 36 FrameStream *stream, 35 voAWB_UpdateFrameBuffer( FrameStream *stream, VO_MEM_OPERATOR *pMemOP ) argument 50 voAWB_FlushFrameBuffer(FrameStream *stream) argument [all...] |
H A D | voAMRWBEnc.c | 1600 FrameStream *stream; local 1650 st->stream = (FrameStream *)mem_malloc(pMemOP, sizeof(FrameStream), 32, VO_INDEX_ENC_AMRWB); 1651 if(st->stream == NULL) 1654 st->stream->frame_ptr = (unsigned char *)mem_malloc(pMemOP, Frame_Maxsize, 32, VO_INDEX_ENC_AMRWB); 1655 if(st->stream->frame_ptr == NULL) 1658 stream = st->stream; 1659 voAWB_InitFrameBuffer(stream); 1695 FrameStream *stream; local 1703 stream 1732 FrameStream *stream = (FrameStream *)gData->stream; local 1787 FrameStream *stream = (FrameStream *)(gData->stream); local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | bitstream_io.cpp | 45 AVCEnc_Status BitstreamEncInit(AVCEncBitstream *stream, uint8 *buffer, int buf_size, argument 48 if (stream == NULL || buffer == NULL || buf_size <= 0) 53 stream->bitstreamBuffer = buffer; 55 stream->buf_size = buf_size; 57 stream->write_pos = 0; 59 stream->count_zeros = 0; 61 stream->current_word = 0; 63 stream->bit_left = WORD_SIZE; 65 stream->overrunBuffer = overrunBuffer; 67 stream 82 AVCBitstreamSaveWord(AVCEncBitstream *stream) argument 142 BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code) argument 194 BitstreamWrite1Bit(AVCEncBitstream *stream, uint code) argument 252 byte_aligned(AVCEncBitstream *stream) argument 262 AVCBitstreamUseOverrunBuffer(AVCEncBitstream* stream, int numExtraBytes) argument [all...] |
H A D | header.cpp | 25 AVCEnc_Status EncodeSPS(AVCEncObject *encvid, AVCEncBitstream *stream) argument 35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc); 36 status = BitstreamWrite1Bit(stream, seqParam->constrained_set0_flag); 37 status = BitstreamWrite1Bit(stream, seqParam->constrained_set1_flag); 38 status = BitstreamWrite1Bit(stream, seqParam->constrained_set2_flag); 39 status = BitstreamWrite1Bit(stream, seqParam->constrained_set3_flag); 40 status = BitstreamWriteBits(stream, 4, 0); /* forbidden zero bits */ 46 status = BitstreamWriteBits(stream, 8, seqParam->level_idc); 47 status = ue_v(stream, seqParam->seq_parameter_set_id); 48 status = ue_v(stream, seqPara 113 EncodeVUI(AVCEncBitstream* stream, AVCVUIParams* vui) argument 200 EncodeHRD(AVCEncBitstream* stream, AVCHRDParams* hrd) argument 227 EncodePPS(AVCEncObject *encvid, AVCEncBitstream *stream) argument 316 EncodeSliceHeader(AVCEncObject *encvid, AVCEncBitstream *stream) argument 506 ref_pic_list_reordering(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr, int slice_type) argument 587 dec_ref_pic_marking(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr) argument [all...] |
H A D | residual.cpp | 25 AVCEncBitstream *stream = encvid->bitstream; local 35 ue_v(stream, 25); 37 i = stream->bit_left & 0x7; 40 BitstreamWriteBits(stream, 0, i); 58 status = BitstreamWriteBits(stream, 32, code); 67 status = BitstreamWriteBits(stream, 16, code); 91 status = BitstreamWriteBits(stream, 32, code); 100 status = BitstreamWriteBits(stream, 16, code); 124 status = BitstreamWriteBits(stream, 32, code); 133 status = BitstreamWriteBits(stream, 1 152 AVCEncBitstream *stream = encvid->bitstream; local [all...] |
H A D | slice.cpp | 28 AVCEncBitstream *stream = encvid->bitstream; local 140 ue_v(stream, video->mb_skip_run); 161 AVCEncBitstream *stream = encvid->bitstream; local 419 ue_v(stream, video->mb_skip_run); 555 AVCEncBitstream *stream = encvid->bitstream; local 564 status = ue_v(stream, mb_type); 568 status = sub_mb_pred(video, currMB, stream); 572 status = mb_pred(video, currMB, stream) ; 578 status = EncodeCBP(currMB, stream); 584 status = se_v(stream, currM 686 mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument 772 sub_mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument 920 EncodeIntra4x4Mode(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument [all...] |
H A D | vlc_encode.cpp | 106 AVCEnc_Status EncodeCBP(AVCMacroblock *currMB, AVCEncBitstream *stream) argument 120 status = ue_v(stream, codeNum); 125 AVCEnc_Status ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff, int nC) argument 169 status = BitstreamWriteBits(stream, 6, code); 188 status = BitstreamWriteBits(stream, len, code); 194 AVCEnc_Status ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff) argument 209 status = BitstreamWriteBits(stream, len, code); 215 AVCEnc_Status ce_TotalZeros(AVCEncBitstream *stream, int total_zeros, int TotalCoeff) argument 260 status = BitstreamWriteBits(stream, len, code); 266 AVCEnc_Status ce_TotalZerosChromaDC(AVCEncBitstream *stream, in argument 294 ce_RunBefore(AVCEncBitstream *stream, int run_before, int zerosLeft) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 49 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream) argument 51 uint8 *bitstreamBuffer = stream->bitstreamBuffer; 55 stream->curr_word |= (stream->next_word >> stream->incnt); // stream->incnt cannot be 32 56 stream->next_word <<= (31 - stream->incnt); 57 stream->next_word <<= 1; 58 num_bits = stream 124 BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size) argument 140 BitstreamOpen(BitstreamDecVideo *stream, int) argument 175 BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) argument 193 BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 215 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument 238 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument 257 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument 270 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument 286 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument 311 BitstreamReadBits16(BitstreamDecVideo *stream, int nbits) argument 333 BitstreamRead1Bits(BitstreamDecVideo *stream) argument 355 PV_BitstreamFlushBitsCheck(BitstreamDecVideo *stream, int nbits) argument 382 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits) argument 396 BitstreamReadBits32HC(BitstreamDecVideo *stream) argument 415 BitstreamCheckEndBuffer(BitstreamDecVideo *stream) argument 422 PV_BitstreamShowBitsByteAlign(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 441 PV_BitstreamShowBitsByteAlignNoForceStuffing(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 460 PV_BitstreamByteAlign(BitstreamDecVideo *stream) argument 487 BitstreamByteAlignNoForceStuffing(BitstreamDecVideo *stream) argument 513 getPointer(BitstreamDecVideo *stream) argument 529 movePointerTo(BitstreamDecVideo *stream, int32 pos) argument 565 validStuffing(BitstreamDecVideo *stream) argument 577 validStuffing_h263(BitstreamDecVideo *stream) argument 603 PVSearchNextH263Frame(BitstreamDecVideo *stream) argument 632 PVSearchNextM4VFrame(BitstreamDecVideo *stream) argument 652 PVLocateM4VFrameBoundary(BitstreamDecVideo *stream) argument 663 PVLocateH263FrameBoundary(BitstreamDecVideo *stream) argument 682 quickSearchVideoPacketHeader(BitstreamDecVideo *stream, int marker_length) argument 706 quickSearchH263SliceHeader(BitstreamDecVideo *stream) argument 784 quickSearchMotionMarker(BitstreamDecVideo *stream) argument 875 quickSearchDCM(BitstreamDecVideo *stream) argument 950 quickSearchGOBHeader(BitstreamDecVideo *stream) argument [all...] |
H A D | bitstream.h | 33 PV_STATUS BitstreamFillBuffer(BitstreamDecVideo *stream); 34 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream); 35 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size); 36 int BitstreamOpen(BitstreamDecVideo *stream, int layer); 37 void BitstreamClose(BitstreamDecVideo *stream); 39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code); 40 uint32 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits); 42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits); 43 uint BitstreamRead1Bits(BitstreamDecVideo *stream); 45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, in 51 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument 69 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument 83 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument 95 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument 110 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument [all...] |
H A D | combined_decode.cpp | 47 BitstreamDecVideo *stream = video->bitstream; local 124 startPacket = getPointer(stream); 137 BitstreamShowBits16(stream, stuffing_length, &code); 140 PV_BitstreamFlushBits(stream, stuffing_length); 141 BitstreamShowBits16(stream, stuffing_length, &code); 161 movePointerTo(stream, (startPacket & -8)); 176 movePointerTo(stream, (startPacket & -8)); 188 BitstreamShowBits16(stream, stuffing_length, &code); 191 PV_BitstreamFlushBits(stream, stuffing_length); 192 BitstreamShowBits16(stream, stuffing_lengt 347 BitstreamDecVideo *stream = video->bitstream; local 528 BitstreamDecVideo *stream = video->bitstream; local [all...] |
H A D | conceal.cpp | 34 BitstreamDecVideo *stream = video->bitstream; local 38 movePointerTo(stream, startFirstPartition); 48 PV_VlcDecMCBPC_com_intra(stream);
|
H A D | datapart_decode.cpp | 43 BitstreamDecVideo *stream = video->bitstream; local 100 if ((status = quickSearchVideoPacketHeader(stream, resync_marker_length)) != PV_SUCCESS) 142 BitstreamDecVideo *stream = video->bitstream; local 151 int32 startSecondPart, startFirstPart = getPointer(stream); 159 BitstreamShowBits16(stream, 9, &code); 162 PV_BitstreamFlushBits(stream, 9); 163 BitstreamShowBits16(stream, 9, &code); 169 MCBPC = PV_VlcDecMCBPC_com_intra(stream); 183 movePointerTo(stream, startFirstPart); 191 BitstreamShowBits16(stream, 307 BitstreamDecVideo *stream = video->bitstream; local 519 BitstreamDecVideo *stream = video->bitstream; local 576 BitstreamDecVideo *stream = video->bitstream; local [all...] |
H A D | dec_pred_intra_dc.cpp | 25 BitstreamDecVideo *stream, 41 status = PV_VlcDecIntraDCPredSize(stream, compnum, &DC_size); 52 code = (int) BitstreamReadBits16_INLINE(stream, DC_size); 66 if (DC_size > 8) BitstreamRead1Bits_INLINE(stream); 23 PV_DecodePredictedIntraDC( int compnum, BitstreamDecVideo *stream, int16 *INTRADC_delta) argument
|
H A D | packet_util.cpp | 33 BitstreamDecVideo *stream = video->bitstream; local 47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32); 51 // DecNextStartCode(stream); 52 PV_BitstreamByteAlign(stream); 53 BitstreamReadBits32(stream, resync_marker_length); 55 *next_MB = (int) BitstreamReadBits16(stream, nbits); 65 quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision); 72 if (BitstreamRead1Bits(stream)) 80 tmpvar16 = BitstreamRead1Bits(stream); 85 BitstreamRead1Bits(stream); 148 BitstreamDecVideo *stream = video->bitstream; local 199 BitstreamDecVideo *stream = video->bitstream; local [all...] |
H A D | pvdec_api.cpp | 73 BitstreamDecVideo *stream; local 169 stream = IMEM_BitstreamDecVideo; 183 stream = (BitstreamDecVideo *) oscl_malloc(sizeof(BitstreamDecVideo)); 186 if (stream == NULL) 194 if ((buffer_size = BitstreamOpen(stream, idx)) < 0) 201 video->vol[idx]->bitstream = stream; 209 BitstreamReset(stream, decCtrl->volbuf[idx], decCtrl->volbuf_size[idx]); 886 if (oscl_memcmp(h263_prefix, video_buffer, 3) == 0) /* we have short header stream */ 1036 BitstreamDecVideo *stream; local 1065 stream [all...] |
H A D | vlc_decode.cpp | 103 PV_STATUS DecodeUserData(BitstreamDecVideo *stream) argument 108 BitstreamReadBits32HC(stream); 109 BitstreamShowBits32(stream, 24, &code); 114 BitstreamReadBits16(stream, 8); 115 BitstreamShowBits32(stream, 24, &code); 116 status = BitstreamCheckEndBuffer(stream); 135 BitstreamDecVideo *stream = video->bitstream; local 164 status = PV_VlcDecMV(stream, &vlc_code_mag); 174 status = PV_VlcDecMV(stream, &vlc_code_mag); 191 status = PV_VlcDecMV(stream, 267 PV_DecodeMBVec(BitstreamDecVideo *stream, MOT *mv_x, MOT *mv_y, int f_code_f) argument 452 PV_VlcDecMV(BitstreamDecVideo *stream, int *mv) argument 503 PV_VlcDecMCBPC_com_intra(BitstreamDecVideo *stream) argument 536 PV_VlcDecMCBPC_com_inter(BitstreamDecVideo *stream) argument 557 PV_VlcDecMCBPC_com_inter_H263(BitstreamDecVideo *stream) argument 590 PV_VlcDecCBPY(BitstreamDecVideo *stream, int intra) argument 628 PV_VlcDecIntraDCPredSize(BitstreamDecVideo *stream, int compnum, uint *DC_size) argument 839 VlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1022 VlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1201 VlcDecTCOEFShortHeader(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1261 VlcDecTCOEFShortHeader_AnnexI(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1316 VlcDecTCOEFShortHeader_AnnexT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1389 VlcDecTCOEFShortHeader_AnnexIT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1471 RvlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1554 RvlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument [all...] |