w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pbmtolj.c File Reference
#include "pbm.h"
#include <assert.h>
Include dependency graph for pbmtolj.c:

Go to the source code of this file.

Functions

static void putinit ()
 
static void putbit ()
 
static void putflush ()
 
static void putrest ()
 
static void putitem ()
 
static void packbits ()
 
static void deltarow ()
 
int main (int argc, argv)
 
static void putbit (bit b)
 

Variables

static int dpi = 75
 
static int floating = 0
 
static int pack = 0
 
static int delta = 0
 
static int resets = 3
 
static char * rowBuffer
 
static char * prevRowBuffer
 
static char * packBuffer
 
static char * deltaBuffer
 
static int rowBufferSize
 
static int rowBufferIndex
 
static int packBufferSize
 
static int packBufferIndex
 
static int deltaBufferSize
 
static int deltaBufferIndex
 
static int item
 
static int bitsperitem
 
static int bitshift
 
static int itemsperline
 
static int firstitem
 

Function Documentation

◆ deltarow()

static void deltarow ( )
static

Definition at line 399 of file pbmtolj.c.

References code, deltaBuffer, deltaBufferIndex, memcmp, memcpy, prevRowBuffer, ptr, rowBuffer, rowBufferIndex, and skip.

Referenced by main().

◆ main()

◆ packbits()

static void packbits ( )
static

Definition at line 335 of file pbmtolj.c.

References fprintf, memcpy, packBuffer, packBufferIndex, ptr, rowBuffer, and rowBufferIndex.

Referenced by main().

◆ putbit() [1/2]

static void putbit ( )
static

Referenced by main().

◆ putbit() [2/2]

static void putbit ( bit  b)
static

Definition at line 291 of file pbmtolj.c.

References b, bitshift, bitsperitem, item, PBM_BLACK, and putitem().

◆ putflush()

static void putflush ( )
static

Definition at line 306 of file pbmtolj.c.

References bitsperitem, and putitem().

Referenced by main().

◆ putinit()

static void putinit ( )
static

Definition at line 259 of file pbmtolj.c.

References bitshift, bitsperitem, dpi, firstitem, floating, item, itemsperline, printf(), and resets.

Referenced by main().

◆ putitem()

static void putitem ( )
static

Definition at line 326 of file pbmtolj.c.

References assert(), bitsperitem, item, rowBuffer, rowBufferIndex, and rowBufferSize.

Referenced by putbit(), and putflush().

◆ putrest()

static void putrest ( )
static

Definition at line 313 of file pbmtolj.c.

References printf(), and resets.

Referenced by main().

Variable Documentation

◆ bitshift

int bitshift
static

Definition at line 256 of file pbmtolj.c.

Referenced by putbit(), and putinit().

◆ bitsperitem

int bitsperitem
static

Definition at line 256 of file pbmtolj.c.

Referenced by putbit(), putflush(), putinit(), and putitem().

◆ delta

int delta = 0
static
Examples
/dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ktx/libs/freetype/include/freetype/freetype.h, and /dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ptx/libs/freetype/include/freetype/freetype.h.

Definition at line 36 of file pbmtolj.c.

Referenced by _cairo_gl_gradient_sample_width(), _cairo_pdf_operators_emit_glyph_string_with_positioning(), _cairo_strtod(), _cairo_truetype_reverse_cmap(), _color_delta_to_shifted_short(), _CubicSolve(), _Gen816Enc(), _gradient_color_average(), _SCSUFromUnicode(), _SCSUFromUnicodeWithOffsets(), _updateOffsets(), Efont::CharstringInterp::act_nominal_width_delta(), adaptBias(), TextPage::addChar(), StringAccum::adjust_length(), number::impl::DecimalQuantity::adjustExponent(), ScriptRunIterator::adjustLimit(), number::impl::DecimalQuantity::adjustMagnitude(), StringSegment::adjustOffset(), graphite2::Pass::adjustSlot(), af_glyph_hints_align_strong_points(), af_iup_shift(), af_latin_compute_stem_width(), af_latin_hint_edges(), af_latin_hints_apply(), af_latin_hints_link_segments(), af_latin_metrics_scale_dim(), Slurper::append_next_line(), U_NAMESPACE_BEGIN::appendCodePointDelta(), OT::apply_lookup(), approx_unit_arc(), Bezier::approximate(), TensorProductPatch::approximate(), TriangularPatch::approximate(), TensorProductPatch::approximateRow(), asm_loop_fixup(), asm_retf(), avl_cat(), between(), Bitio_Write(), boxChangeRefcount(), brw_copy4(), brw_copy8(), brw_copy_from_indirect(), brw_copy_indirect_to_indirect(), build_dimen_tables(), build_page(), buildDefFormat(), SplashScreen::buildDispersedMatrix(), caryll_ElementInterfaceOf(), cf2_doBlend(), cf2_interpT2CharString(), cff_blend_doBlend(), MakeType1CharstringInterp::Subr::change_callers(), characterIteratorMove(), check_nucleus_complexity(), graphite2::TtfUtil::CheckCmapSubtable4(), TextLine::coalesce(), TextBlock::coalesce(), CommandCopyLenCode(), number::impl::DecimalQuantity::compact(), Catalog::convertPageLabelToInt(), convertRGBToHSV(), number::impl::DecimalQuantity::convertToAccurateDouble(), crec_snap_caller(), CVTSeekStem(), TransformSimplifier::decompose(), decompress_smooth_data(), do_delimiter(), do_make_math_accent(), dograce_(), ClipperLib::ClipperOffset::DoOffset(), TextPage::dump(), emit_branch(), emit_call(), emit_cnb(), emit_cond_branch(), emit_condbranch(), emit_jmp(), emit_kdelta(), emit_kdelta1(), emit_kdelta2(), emit_op(), emit_sjcc(), emit_tnb(), EncodeData(), ClipperLib::ClipperOffset::Execute(), TextString::expand(), Splash::fillWithPattern(), FindLongestMatch(), poppler::ustring::from_utf8(), fs_fixup_line(), FT_Angle_Diff(), ft_bitmap_assure_buffer(), ft_corner_orientation(), FT_Glyph_Transform(), FT_Matrix_Invert(), FT_Outline_Decompose(), ft_outline_glyph_transform(), ft_raster1_transform(), FT_Set_Transform(), ft_smooth_transform(), ft_stroker_cap(), FT_Stroker_ConicTo(), FT_Stroker_CubicTo(), ft_stroker_inside(), FT_Stroker_LineTo(), ft_stroker_outside(), ft_stroker_subpath_start(), get_delimiter_height(), OT::VarData::get_delta(), OT::HintingDevice::get_delta_pixels(), OT::glyf::Glyph::get_points(), get_singular_values(), getdimen(), getfield(), getMirror(), TextPage::getText(), gray_render_line(), gray_render_scanline(), gsubSimpleSubTable(), handle_ms_encoding(), CompoundTransliterator::handleTransliterate(), AnyTransliterator::handleTransliterate(), BreakTransliterator::handleTransliterate(), NameUnicodeTransliterator::handleTransliterate(), NormalizationTransliterator::handleTransliterate(), TitlecaseTransliterator::handleTransliterate(), CaseMapTransliterator::handleTransliterate(), i965_stream_add_pending_relocation(), InitCommand(), intel_gradient_sample_width(), isSameGfxColor(), jmp_next(), jmprel(), join_left(), join_right(), l_set_node_data(), learn(), lenient8IteratorMove(), lj_asm_patchexit(), lj_dispatch_call(), lj_dispatch_ins(), Load_SBit_Image(), main(), make_accent(), make_fraction(), make_left_right(), make_math_accent(), make_op(), make_over_delimiter(), make_radical(), make_scripts(), make_under(), make_under_delimiter(), make_vcenter(), Efont::OpenType::GsubSingle::mark_out_glyphs(), ClipperLib::Minkowski(), mlist_to_hlist(), BaseSeekInputStream::moveStart(), FileStream::moveStart(), CachedFileStream::moveStart(), BaseMemStream< T >::moveStart(), MemStream::moveStart(), near(), NeedsUCS2Table(), nextstop(), numaChangeRefcount(), bounds_t::offset(), ChineseCalendar::offsetMonth(), otl_read_gsub_single(), otl_readMarkArray(), out_fix(), pass2_fs_dither(), pfr_glyph_load_simple(), pixaChangeRefcount(), pixBlendGray(), pixChangeRefcount(), pixFindSkewSweepAndSearchScore(), pixOctcubeQuantMixed(), png_colorspace_endpoints_match(), TextLine::primaryDelta(), TextWord::primaryDelta(), drvCFDG::print_rgb_as_hsv(), print_scaled(), cff1_cs_opset_extents_t::process_seac(), ps_mask_table_merge(), psh_blues_scale_zones(), psh_blues_set_zones(), psh_blues_set_zones_0(), psh_blues_snap_stem(), psh_dimension_quantize_len(), psh_glyph_find_blue_points(), psh_glyph_interpolate_other_points(), psh_glyph_interpolate_strong_points(), psh_hint_align(), psh_hint_table_align_hints(), Efont::psres_escape(), ptaChangeRefcount(), quantize_fs_dither(), radialEdge(), re_node_set_add_intersect(), re_node_set_merge(), readPackedDelta(), readttfencodings(), Bezier::reduceDegree(), RemainingInputBlockSize(), render_curveto(), resizestack(), graphite2::Pass::resolveKern(), CalendarAstronomer::riseOrSet(), safeIncrement(), scaled_to_string(), FoFiTrueType::scanLookupSubTable(), TextBlock::secondaryDelta(), OT::VarData::serialize(), OT::SingleSubst::serialize(), OT::SingleSubstFormat1::serialize(), OT::CmapSubtableFormat4::serialize_idDelta_array(), OT::VarData::set_item_delta(), setbm2_(), Image::Indexed::setNcolsMove(), ExtraData::setNoNoDelta(), FieldPositionHandler::setShift(), OffsetList::shift(), shift_elements(), Efont::Type1Font::shift_indices(), FieldPositionOnlyHandler::shiftLast(), FieldPositionIteratorHandler::shiftLast(), sink_sweep_ins(), size(), sqlen(), Store(), storeMapping(), stringIteratorMove(), OT::SingleSubstFormat1::subset(), OT::SBIXStrike::subset(), t1_ReverseSubPaths(), tex_scaletable(), ThunderDecode(), TIFFGrowStrips(), CalendarAstronomer::timeOfAngle(), poppler::ustring::to_utf8(), U_NAMESPACE_BEGIN::toLower(), U_NAMESPACE_BEGIN::toUpper(), toUpperOrTitle(), BytesDictionaryMatcher::transform(), DataDict::transform(), transform_path(), OT::contour_point_vector_t::translate(), ClipperLib::TranslatePath(), trueAnomaly(), TT_Load_Simple_Glyph(), u_strFromJavaModifiedUTF8WithSub_68(), u_strToJavaModifiedUTF8_68(), u_strToPunycode_68(), ucase_addCaseClosure_68(), ucase_fold_68(), ucase_toFullFolding_68(), ucase_toFullLower_68(), ucase_tolower_68(), ucase_totitle_68(), ucase_toupper_68(), ucnv_getNextUChar_68(), ucol_getRulesEx_68(), UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM(), udata_swapPackage(), MakeType1CharstringInterp::Subr::unify(), Efont::OpenType::GsubSingle::unparse(), UpdateSizeHint(), utext_moveIndex32_68(), utf8IteratorMove(), Filter::UngetFILED::vi_read(), hb_collect_features_context_t::visited(), vqsCreateDelta(), TextPage::writeLinePrinter(), and wrt_E().

◆ deltaBuffer

char * deltaBuffer
static

Definition at line 38 of file pbmtolj.c.

Referenced by deltarow(), and main().

◆ deltaBufferIndex

int deltaBufferIndex
static

Definition at line 41 of file pbmtolj.c.

Referenced by deltarow(), and main().

◆ deltaBufferSize

int deltaBufferSize
static

Definition at line 41 of file pbmtolj.c.

Referenced by main().

◆ dpi

◆ firstitem

int firstitem
static

Definition at line 256 of file pbmtolj.c.

Referenced by putinit().

◆ floating

int floating = 0
static

Definition at line 34 of file pbmtolj.c.

Referenced by __gmp_doprnt(), decode_switches(), define_makeflags(), init_switches(), main(), and putinit().

◆ item

int item
static

Definition at line 256 of file pbmtolj.c.

Referenced by putbit(), putinit(), and putitem().

◆ itemsperline

int itemsperline
static

Definition at line 256 of file pbmtolj.c.

Referenced by putinit().

◆ pack

int pack = 0
static

Definition at line 35 of file pbmtolj.c.

Referenced by main(), putbits(), and unpack().

◆ packBuffer

char * packBuffer
static

Definition at line 38 of file pbmtolj.c.

Referenced by main(), and packbits().

◆ packBufferIndex

int packBufferIndex
static

Definition at line 40 of file pbmtolj.c.

Referenced by main(), and packbits().

◆ packBufferSize

int packBufferSize
static

Definition at line 40 of file pbmtolj.c.

Referenced by main().

◆ prevRowBuffer

char * prevRowBuffer
static

Definition at line 38 of file pbmtolj.c.

Referenced by deltarow(), and main().

◆ resets

int resets = 3
static

Definition at line 37 of file pbmtolj.c.

Referenced by main(), putinit(), and putrest().

◆ rowBuffer

char* rowBuffer
static

Definition at line 38 of file pbmtolj.c.

Referenced by deltarow(), main(), packbits(), and putitem().

◆ rowBufferIndex

int rowBufferIndex
static

Definition at line 39 of file pbmtolj.c.

Referenced by deltarow(), main(), packbits(), and putitem().

◆ rowBufferSize

int rowBufferSize
static

Definition at line 39 of file pbmtolj.c.

Referenced by main(), and putitem().