static void dump_videohdr(AVFormatContext *s, VIDEOHDR *vhdr) { #ifdef DEBUG av_log(s, AV_LOG_DEBUG, "VIDEOHDR\n"); dstruct(s, vhdr, lpData, "p"); dstruct(s, vhdr, dwBufferLength, "lu"); dstruct(s, vhdr, dwBytesUsed, "lu"); dstruct(s, vhdr, dwTimeCaptured, "lu"); dstruct(s, vhdr, dwUser, "lu"); dstruct(s, vhdr, dwFlags, "lu"); dstruct(s, vhdr, dwReserved[0], "lu"); dstruct(s, vhdr, dwReserved[1], "lu"); dstruct(s, vhdr, dwReserved[2], "lu"); dstruct(s, vhdr, dwReserved[3], "lu"); #endif }
void Derived::PDDLPrint( std::ostream & s, unsigned indent, const TokenStruct< std::string > & ts, Domain & d ) { s << "( :DERIVED ( " << name; TokenStruct< std::string > dstruct( ts ); for ( unsigned i = 0; i < params.size(); ++i ) { std::stringstream ss; ss << "?" << d.types[params[i]]->getName() << dstruct.size(); dstruct.insert( ss.str() ); s << " " << ss.str(); if ( d.typed ) s << " - " << d.types[params[i]]->name; } s << " )\n"; if ( cond ) cond->PDDLPrint( s, 1, dstruct, d ); s << "\n)\n"; }
static void dump_captureparms(AVFormatContext *s, CAPTUREPARMS *cparms) { av_log(s, AV_LOG_DEBUG, "CAPTUREPARMS\n"); dstruct(s, cparms, dwRequestMicroSecPerFrame, "lu"); dstruct(s, cparms, fMakeUserHitOKToCapture, "d"); dstruct(s, cparms, wPercentDropForError, "u"); dstruct(s, cparms, fYield, "d"); dstruct(s, cparms, dwIndexSize, "lu"); dstruct(s, cparms, wChunkGranularity, "u"); dstruct(s, cparms, fUsingDOSMemory, "d"); dstruct(s, cparms, wNumVideoRequested, "u"); dstruct(s, cparms, fCaptureAudio, "d"); dstruct(s, cparms, wNumAudioRequested, "u"); dstruct(s, cparms, vKeyAbort, "u"); dstruct(s, cparms, fAbortLeftMouse, "d"); dstruct(s, cparms, fAbortRightMouse, "d"); dstruct(s, cparms, fLimitEnabled, "d"); dstruct(s, cparms, wTimeLimit, "u"); dstruct(s, cparms, fMCIControl, "d"); dstruct(s, cparms, fStepMCIDevice, "d"); dstruct(s, cparms, dwMCIStartTime, "lu"); dstruct(s, cparms, dwMCIStopTime, "lu"); dstruct(s, cparms, fStepCaptureAt2x, "d"); dstruct(s, cparms, wStepCaptureAverageFrames, "u"); dstruct(s, cparms, dwAudioBufferSize, "lu"); dstruct(s, cparms, fDisableWriteCache, "d"); dstruct(s, cparms, AVStreamMaster, "u"); }
static void dump_bih(AVFormatContext *s, BITMAPINFOHEADER *bih) { av_log(s, AV_LOG_DEBUG, "BITMAPINFOHEADER\n"); dstruct(s, bih, biSize, "lu"); dstruct(s, bih, biWidth, "ld"); dstruct(s, bih, biHeight, "ld"); dstruct(s, bih, biPlanes, "d"); dstruct(s, bih, biBitCount, "d"); dstruct(s, bih, biCompression, "lu"); av_log(s, AV_LOG_DEBUG, " biCompression:\t\"%.4s\"\n", (char*) &bih->biCompression); dstruct(s, bih, biSizeImage, "lu"); dstruct(s, bih, biXPelsPerMeter, "lu"); dstruct(s, bih, biYPelsPerMeter, "lu"); dstruct(s, bih, biClrUsed, "lu"); dstruct(s, bih, biClrImportant, "lu"); }
static void dump_bih(void *s, BITMAPINFOHEADER *bih) { dshowdebug(" BITMAPINFOHEADER\n"); dstruct(s, bih, biSize, "lu"); dstruct(s, bih, biWidth, "ld"); dstruct(s, bih, biHeight, "ld"); dstruct(s, bih, biPlanes, "d"); dstruct(s, bih, biBitCount, "d"); dstruct(s, bih, biCompression, "lu"); dshowdebug(" biCompression:\t\"%.4s\"\n", (char*) &bih->biCompression); dstruct(s, bih, biSizeImage, "lu"); dstruct(s, bih, biXPelsPerMeter, "lu"); dstruct(s, bih, biYPelsPerMeter, "lu"); dstruct(s, bih, biClrUsed, "lu"); dstruct(s, bih, biClrImportant, "lu"); }