Lines Matching refs:DEBUG_ASSERT

41     DEBUG_ASSERT(kMinFrameBufferCapacity <= kDefaultFrameBufferCapacity);  in frameBufferCapacityForStream()
123 DEBUG_ASSERT(start_time != AV_NOPTS_VALUE); in getStreamStartTime()
159 DEBUG_ASSERT(frameIndexRange.orientation() != IndexRange::Orientation::Backward); in getStreamFrameIndexRange()
168 DEBUG_ASSERT(defaultSeekPrerollFrameCount >= 0); in getStreamSeekPrerollFrameCount()
186 DEBUG_ASSERT(avStream.codecpar->channels <= 2); in getStreamSeekPrerollFrameCount()
251 DEBUG_ASSERT(avformat_open_input_result < 0); in openInputFile()
255 DEBUG_ASSERT(pavInputFormatContext == nullptr); in openInputFile()
262 DEBUG_ASSERT(pavCodecContext != nullptr); in openDecodingContext()
266 DEBUG_ASSERT(avcodec_open2_result < 0); in openDecodingContext()
279 DEBUG_ASSERT(ppavInputFormatContext != nullptr); in take()
290 DEBUG_ASSERT(m_pavInputFormatContext == nullptr); in close()
308 DEBUG_ASSERT(ppavCodecContext != nullptr); in take()
325 DEBUG_ASSERT(m_pSwrContext != nullptr); in take()
336 DEBUG_ASSERT(m_pSwrContext == nullptr); in close()
471 DEBUG_ASSERT(m_pavPacket); in getSupportedFileExtensions()
477 DEBUG_ASSERT(!m_pavPacket); in getSupportedFileExtensions()
512 DEBUG_ASSERT(avformat_find_stream_info_result < 0); in getSupportedFileExtensions()
545 DEBUG_ASSERT(pDecoder); in getSupportedFileExtensions()
549 DEBUG_ASSERT(pavStream != nullptr); in getSupportedFileExtensions()
550 DEBUG_ASSERT(pavStream->index == av_find_best_stream_result); in getSupportedFileExtensions()
562 DEBUG_ASSERT(avcodec_parameters_to_context_result < 0); in getSupportedFileExtensions()
676 DEBUG_ASSERT(!m_pavDecodedFrame); in getSupportedFileExtensions()
760 DEBUG_ASSERT(!m_pavResampledFrame); in getSupportedFileExtensions()
767 DEBUG_ASSERT(pResampledChannelCount); in getSupportedFileExtensions()
769 DEBUG_ASSERT(pResampledSampleRate); in getSupportedFileExtensions()
776 DEBUG_ASSERT(!m_pavResampledFrame); in getSupportedFileExtensions()
778 DEBUG_ASSERT(!m_pavDecodedFrame); in getSupportedFileExtensions()
794 DEBUG_ASSERT(!pavPacket->buf); in getSupportedFileExtensions()
820 DEBUG_ASSERT(pavPacket->data); in getSupportedFileExtensions()
821 DEBUG_ASSERT(pavPacket->size > 0); in getSupportedFileExtensions()
829 DEBUG_ASSERT(pavPacket->stream_index == pavStream->index); in getSupportedFileExtensions()
837 DEBUG_ASSERT(frameIndexRange().containsIndex(startIndex)); in getSupportedFileExtensions()
854 DEBUG_ASSERT(seekIndex >= kMinFrameIndex); in getSupportedFileExtensions()
855 DEBUG_ASSERT(seekIndex <= startIndex); in getSupportedFileExtensions()
891 DEBUG_ASSERT(m_pavPacket); in getSupportedFileExtensions()
892 DEBUG_ASSERT(ppavNextPacket); in getSupportedFileExtensions()
971 DEBUG_ASSERT(m_pavDecodedFrame->pts = m_pavResampledFrame->pts); in getSupportedFileExtensions()
972 DEBUG_ASSERT(m_pavDecodedFrame->nb_samples = in getSupportedFileExtensions()
984 DEBUG_ASSERT(m_frameBuffer.signalInfo() == getSignalInfo()); in getSupportedFileExtensions()
1008 DEBUG_ASSERT(writableFrameRange.isSubrangeOf(frameIndexRange())); in getSupportedFileExtensions()
1012 DEBUG_ASSERT(readableRange.orientation() != IndexRange::Orientation::Backward); in getSupportedFileExtensions()
1024 DEBUG_ASSERT(m_frameBuffer.isValid()); in getSupportedFileExtensions()
1044 DEBUG_ASSERT(writableFrameRange.empty() || m_frameBuffer.isEmpty()); in getSupportedFileExtensions()
1054 DEBUG_ASSERT(m_pavDecodedFrame->pts != AV_NOPTS_VALUE); in getSupportedFileExtensions()
1056 DEBUG_ASSERT(decodedFrameCount > 0); in getSupportedFileExtensions()
1069 DEBUG_ASSERT(!pavNextPacket); in getSupportedFileExtensions()
1082 DEBUG_ASSERT(m_frameBuffer.isEmpty()); in getSupportedFileExtensions()
1083 DEBUG_ASSERT(m_frameBuffer.writeIndex() < frameIndexRange().end()); in getSupportedFileExtensions()
1104 DEBUG_ASSERT(writableFrameRange.empty()); in getSupportedFileExtensions()
1105 DEBUG_ASSERT(!pavNextPacket); in getSupportedFileExtensions()
1115 DEBUG_ASSERT(!decodedFrameRange.empty()); in getSupportedFileExtensions()
1141 DEBUG_ASSERT(leadinRange.orientation() != IndexRange::Orientation::Backward); in getSupportedFileExtensions()
1158 DEBUG_ASSERT(leadoutRange.orientation() != IndexRange::Orientation::Backward); in getSupportedFileExtensions()
1209 DEBUG_ASSERT(!pavNextPacket); in getSupportedFileExtensions()