static void add_entry1(TiffEncoderContext *s,

                       enum TiffTags tag, enum TiffTypes type, int val)

{

    uint16_t w  = val;

    uint32_t dw = val;

    add_entry(s, tag, type, 1, type == TIFF_SHORT ? (void *)&w : (void *)&dw);

}

static void add_entry1(TiffEncoderContext *s,

                       enum TiffTags tag, enum TiffTypes type, int val)

{

    uint16_t w  = val;

    uint32_t dw = val;

    add_entry(s, tag, type, 1, type == TIFF_SHORT ? (void *)&w : (void *)&dw);

}

static void FUNC_0(TiffEncoderContext *VAR_0,

                       enum TiffTags VAR_1, enum TiffTypes VAR_2, int VAR_3)

{

    uint16_t w  = VAR_3;

    uint32_t dw = VAR_3;

    add_entry(VAR_0, VAR_1, VAR_2, 1, VAR_2 == TIFF_SHORT ? (void *)&w : (void *)&dw);

}

static void FUNC_0(TiffEncoderContext *VAR_0,
enum TiffTags VAR_1, enum TiffTypes VAR_2, int VAR_3)
{ uint16_t w  = VAR_3; uint32_t dw = VAR_3; add_entry(VAR_0, VAR_1, VAR_2, 1, VAR_2 == TIFF_SHORT ? (void *)&w : (void *)&dw); }