#include <string.h>
#include <algorithm>
#include "base/logging.h"
#include "base/notreached.h"
#include "media/gpu/h264_dpb.h"
namespace media {
H264Picture::H264Picture()
: … { … }
H264Picture::~H264Picture() = default;
V4L2H264Picture* H264Picture::AsV4L2H264Picture() { … }
VaapiH264Picture* H264Picture::AsVaapiH264Picture() { … }
D3D11H264Picture* H264Picture::AsD3D11H264Picture() { … }
H264DPB::H264DPB() : … { … }
H264DPB::~H264DPB() = default;
void H264DPB::Clear() { … }
void H264DPB::set_max_num_pics(size_t max_num_pics) { … }
void H264DPB::UpdatePicPositions() { … }
void H264DPB::Delete(scoped_refptr<H264Picture> pic) { … }
void H264DPB::DeleteUnused() { … }
void H264DPB::StorePic(scoped_refptr<H264Picture> pic) { … }
int H264DPB::CountRefPics() { … }
void H264DPB::MarkAllUnusedForRef() { … }
scoped_refptr<H264Picture> H264DPB::GetShortRefPicByPicNum(int pic_num) { … }
scoped_refptr<H264Picture> H264DPB::GetLongRefPicByLongTermPicNum(int pic_num) { … }
scoped_refptr<H264Picture> H264DPB::GetLongRefPicByLongTermIdx(int idx) { … }
scoped_refptr<H264Picture> H264DPB::GetLowestFrameNumWrapShortRefPic() { … }
void H264DPB::GetNotOutputtedPicsAppending(H264Picture::Vector* out) { … }
void H264DPB::GetShortTermRefPicsAppending(H264Picture::Vector* out) { … }
void H264DPB::GetLongTermRefPicsAppending(H264Picture::Vector* out) { … }
}