Shaka Packager SDK
packager
media
base
video_util.h
1
// Copyright 2019 Google LLC. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
7
#ifndef PACKAGER_MEDIA_BASE_VIDEO_UTIL_H_
8
#define PACKAGER_MEDIA_BASE_VIDEO_UTIL_H_
9
10
#include <stdint.h>
11
12
namespace
shaka
{
13
namespace
media {
14
15
// Derive pixel aspect ratio from Display Aspect Ratio and Frame Aspect Ratio.
16
void
DerivePixelWidthHeight(uint32_t frame_width,
17
uint32_t frame_height,
18
uint32_t display_width,
19
uint32_t display_height,
20
uint32_t* pixel_width,
21
uint32_t* pixel_height);
22
23
}
// namespace media
24
}
// namespace shaka
25
26
#endif // PACKAGER_MEDIA_BASE_VIDEO_UTIL_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition:
gflags_hex_bytes.cc:11
Generated on Tue Jan 21 2020 16:58:51 for Shaka Packager SDK by
1.8.13