mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
e45f0bc2b5
Backed out changeset 476cd5c9c5a9 (bug 908503) Backed out changeset add95b3c2e7f (bug 908503) Backed out changeset 30957caad928 (bug 908503) Backed out changeset f6f386352d12 (bug 908503)
28 lines
636 B
C++
28 lines
636 B
C++
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef MEDIA_MP4_AVC_H_
|
|
#define MEDIA_MP4_AVC_H_
|
|
|
|
#include <vector>
|
|
|
|
#include "mp4_demuxer/basictypes.h"
|
|
|
|
namespace mp4_demuxer {
|
|
|
|
struct AVCDecoderConfigurationRecord;
|
|
|
|
class AVC {
|
|
public:
|
|
static bool ConvertFrameToAnnexB(int length_size, std::vector<uint8_t>* buffer);
|
|
|
|
static bool ConvertConfigToAnnexB(
|
|
const AVCDecoderConfigurationRecord& avc_config,
|
|
std::vector<uint8_t>* buffer);
|
|
};
|
|
|
|
} // namespace mp4_demuxer
|
|
|
|
#endif // MEDIA_MP4_AVC_H_
|