aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.c
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2020-03-05 16:41:27 +0000
committerDave Barach <openvpp@barachs.net>2020-03-06 13:35:09 +0000
commitfb8ed8b95529db095b7305938db17a545ca9eeef (patch)
tree190ba1018c062769d71415b5e5624b0d4f8a629f /src/vnet/interface.c
parent1322375357fb7596fc976b5613181a3587163099 (diff)
crypto: align per thread data to cache line
Type: improvement Change-Id: I6bad46403c07b211dfda7229aed1b5e19342865f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/interface.c')
0 files changed, 0 insertions, 0 deletions
#dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * IRepresentationStream.h
 *****************************************************************************
 * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved
 *
 * Email: libdash-dev@vicky.bitmovin.net
 *
 * This source code and its use and distribution, is subject to the terms
 * and conditions of the applicable license agreement.
 *****************************************************************************/

#ifndef LIBDASH_FRAMEWORK_MPD_IREPRESENTATIONSTREAM_H_
#define LIBDASH_FRAMEWORK_MPD_IREPRESENTATIONSTREAM_H_

#include "ISegment.h"

namespace libdash
{
namespace framework
{
namespace mpd
{
enum RepresentationStreamType
{
    SingleMediaSegment,
    SegmentList,
    SegmentTemplate,
    UNDEFINED
};

class IRepresentationStream
{
public:
    virtual ~IRepresentationStream() {}

    virtual dash::mpd::ISegment* getInitializationSegment() = 0;
    virtual dash::mpd::ISegment* getIndexSegment(size_t segmentNumber) = 0;
    virtual dash::mpd::ISegment* getMediaSegment(size_t segmentNumber) = 0;
    virtual dash::mpd::ISegment* getBitstreamSwitchingSegment() = 0;
    virtual RepresentationStreamType getStreamType() = 0;
    virtual uint32_t getSize() = 0;
    virtual uint32_t getFirstSegmentNumber() = 0;
    virtual uint32_t getCurrentSegmentNumber() = 0;
    virtual uint32_t getLastSegmentNumber() = 0;
    virtual uint32_t getAverageSegmentDuration() = 0;
    virtual void     setSegmentOffset(uint32_t offset) = 0;
    virtual uint64_t getTime(size_t segmentNumber) = 0;
    virtual size_t getSegmentNumber(uint64_t time) = 0;


};
}
}
}
#endif /* LIBDASH_FRAMEWORK_MPD_IREPRESENTATIONSTREAM_H_ */