Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 25 of 31) sorted by relevance

12

/external/opencore/codecs_v2/audio/mp3/dec/src/
Dpvmp3_get_main_data_size.cpp121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, in pvmp3_get_main_data_size() local
125 numBytes >>= (20 - info->version_x); in pvmp3_get_main_data_size()
132 pVars->predicted_frame_size = numBytes; in pvmp3_get_main_data_size()
135 numBytes -= 17; in pvmp3_get_main_data_size()
139 numBytes -= 32; in pvmp3_get_main_data_size()
144 numBytes >>= 1; in pvmp3_get_main_data_size()
145 pVars->predicted_frame_size = numBytes; in pvmp3_get_main_data_size()
149 numBytes -= 9; in pvmp3_get_main_data_size()
153 numBytes -= 17; in pvmp3_get_main_data_size()
159 numBytes++; in pvmp3_get_main_data_size()
[all …]
Dpvmp3_seek_synch.cpp179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, in pvmp3_frame_synch() local
182 numBytes >>= (20 - version); in pvmp3_frame_synch()
186 numBytes >>= 1; in pvmp3_frame_synch()
190 numBytes++; in pvmp3_frame_synch()
193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch()
196 pExt->CurrentFrameLength = numBytes + 3; in pvmp3_frame_synch()
199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch()
208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); in pvmp3_frame_synch()
/external/opencore/fileformats/mp4/composer/src/
Dbasedescriptor.cpp51 int32 numBytes = renderSizeOfClassToFileStream(fp); in renderBaseDescriptorMembers() local
53 if (numBytes > 0) in renderBaseDescriptorMembers()
55 numBytesRendered += numBytes; in renderBaseDescriptorMembers()
Des_id_inc.cpp62 int32 numBytes = renderBaseDescriptorMembers(fp); in renderToFileStream() local
64 if (numBytes == 0) in renderToFileStream()
68 rendered += numBytes; // (1 + 1(variable) for _sizeOfClass) in renderToFileStream()
Des_id_ref.cpp60 int32 numBytes = renderBaseDescriptorMembers(fp); in renderToFileStream() local
62 if (numBytes == 0) in renderToFileStream()
66 rendered += numBytes; // (1 + 1(variable) for _sizeOfClass) in renderToFileStream()
Dslconfigdescriptor.cpp77 int32 numBytes = renderBaseDescriptorMembers(fp); in renderToFileStream() local
79 if (numBytes == 0) in renderToFileStream()
83 rendered += numBytes; in renderToFileStream()
Desdescriptor.cpp104 int32 numBytes = renderBaseDescriptorMembers(fp); in renderToFileStream() local
106 if (numBytes == 0) in renderToFileStream()
110 rendered += numBytes; // (1 + variable for _sizeOfClass) in renderToFileStream()
Ddecoderconfigdescriptor.cpp153 int32 numBytes = renderBaseDescriptorMembers(fp); in renderToFileStream() local
155 if (numBytes == 0) in renderToFileStream()
159 rendered += numBytes; in renderToFileStream()
/external/webkit/WebCore/platform/text/
DTextCodecUTF16.cpp73 size_t numBytes = length + m_haveBufferedByte; in decode() local
74 size_t numChars = numBytes / 2; in decode()
105 if (numBytes & 1) { in decode()
/external/opencore/codecs_v2/utilities/m4v_config_parser/src/
Dm4v_config_parser.cpp74 if (byte_pos > (psBits->numBytes - psBits->bytePos)) in movePointerTo()
76 byte_pos = (psBits->numBytes - psBits->bytePos); in movePointerTo()
93 i = LocateFrameHeader(ptr, psBits->numBytes - initial_byte_aligned_position); in SearchNextM4VFrame()
94 if (psBits->numBytes <= initial_byte_aligned_position + i) in SearchNextM4VFrame()
107 psBits.numBytes = length; in iGetM4VConfigInfo()
233 if (psBits->dataBitPos >= (psBits->numBytes << 3)) in iDecodeVOLHeader()
620 if (dataBytePos > pStream->numBytes - 4) in ShowBits()
623 for (i = 0; i < pStream->numBytes - dataBytePos; i++) in ShowBits()
657 if ((dataBitPos + ucNBits) > (uint32)(pStream->numBytes << 3)) in FlushBits()
689 if ((dataBitPos + ucNBits) > (pStream->numBytes << 3)) in ReadBits()
[all …]
/external/webkit/WebCore/platform/graphics/chromium/
DVDMXParser.cpp51 bool skip(size_t numBytes) in skip() argument
53 if (m_offset + numBytes > m_length) in skip()
55 m_offset += numBytes; in skip()
/external/opencore/oscl/oscl/osclmemory/src/
Doscl_mem_audit.h65 uint32 numBytes; member
79 numBytes = peakNumBytes = sizeIn; in MM_Stats_t()
95 numBytes += delta.numBytes; in update()
98 if (numBytes > peakNumBytes) in update()
100 peakNumBytes = numBytes; in update()
108 totalNumBytes += delta.numBytes; in update()
113 numBytes -= delta.numBytes; in update()
Doscl_mem_audit.cpp253 delta.numBytes = sizeIn; in MM_allocate()
330 delta.numBytes = size; in MM_deallocate()
/external/webkit/WebKit/mac/Plugins/
DWebNetscapePluginEventHandlerCarbon.mm307 ByteCount numBytes;
308 … GetEventParameter(rawKeyEventRef, kEventParamKeyMacCharCodes, typeChar, NULL, 0, &numBytes, NULL);
313 char *buffer = (char *)malloc(numBytes);
314 …status = GetEventParameter(rawKeyEventRef, kEventParamKeyMacCharCodes, typeChar, NULL, numBytes, N…
323 for (i = 0; i < numBytes; i++) {
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dpvm4vencoder.cpp261 psBits->numBytes = FSILength; in ParseFSI()
632 if (dataBytePos > pStream->numBytes - 4) in ShowBits()
635 for (i = 0; i < pStream->numBytes - dataBytePos; i++) in ShowBits()
669 if ((dataBitPos + ucNBits) > (uint32)(pStream->numBytes << 3)) in FlushBits()
701 if ((dataBitPos + ucNBits) > (pStream->numBytes << 3)) in ReadBits()
740 if ((dataBitPos + 8) > (uint32)(pStream->numBytes << 3)) in ByteAlign()
/external/opencore/codecs_v2/utilities/m4v_config_parser/include/
Dm4v_config_parser.h53 uint32 numBytes; member
/external/opencore/codecs_v2/video/m4v_h263/enc/include/
Dpvm4vencoder.h81 uint32 numBytes; member
/external/opencore/oscl/oscl/osclproc/src/
Doscl_init.cpp136 …tf(aFile, " ERROR: Memory Leaks! numAllocs %d, numBytes %d\n", stats->numAllocs, stats->numBytes); in _OsclMemCleanup()
/external/opencore/codecs_v2/utilities/pv_config_parser/src/
Dpv_video_config_parser.cpp77 psBits.numBytes = aInputs->inBytes; in pv_video_config_parser()
/external/webkit/WebKit/mac/Misc/
DWebNSURLExtras.mm641 CFIndex numBytes = CFURLGetBytes((CFURLRef)self, buffer, 2048);
642 if (numBytes == -1) {
643 numBytes = CFURLGetBytes((CFURLRef)self, NULL, 0);
644 urlBytes = static_cast<UInt8*>(malloc(numBytes));
645 CFURLGetBytes((CFURLRef)self, urlBytes, numBytes);
/external/opencore/android/author/
Dandroid_audio_input.h352 void *_data, size_t numBytes) const;
Dandroid_audio_input.cpp1075 size_t numBytes) const { in RampVolume()
1080 int32 kStopFrame = timeInFrames + numBytes / sizeof(int16); in RampVolume()
/external/opencore/engines/2way/test/src/
Dtest_engine.cpp811 …leoutput, " ERROR: Memory Leaks! numAllocs %d, numBytes %d\n", stats->numAllocs, stats->numBytes); in local_main()
/external/opencore/engines/player/test/src/
Dtest_pv_player_engine_testset8.cpp1287 iInitialNumBytes = stats->numBytes; in Run()
1916 …e %d allocs, %d bytes.\n", stats->numAllocs - iInitialNumAllocs, stats->numBytes - iInitialNumByte… in PrintMemStats()
/external/opencore/engines/adapters/player/framemetadatautility/test/src/
Dtest_pv_frame_metadata_utility.cpp820 …ntf(file, " ERROR: Memory Leaks! numAllocs %d, numBytes %d\n", stats->numAllocs, stats->numBytes); in local_main()

12