Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(976)

Side by Side Diff: media/filters/vp8_bool_decoder.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/filters/video_renderer_algorithm.h ('k') | media/filters/vp8_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 5
6 /* 6 /*
7 * Copyright (c) 2010, The WebM Project authors. All rights reserved. 7 * Copyright (c) 2010, The WebM Project authors. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 28 matching lines...) Expand all
39 // This file is modified from the dboolhuff.{c,h} from the WebM's libvpx 39 // This file is modified from the dboolhuff.{c,h} from the WebM's libvpx
40 // project. (http://www.webmproject.org/code) 40 // project. (http://www.webmproject.org/code)
41 // It is used to decode bits from a vp8 stream. 41 // It is used to decode bits from a vp8 stream.
42 42
43 #ifndef MEDIA_FILTERS_VP8_BOOL_DECODER_H_ 43 #ifndef MEDIA_FILTERS_VP8_BOOL_DECODER_H_
44 #define MEDIA_FILTERS_VP8_BOOL_DECODER_H_ 44 #define MEDIA_FILTERS_VP8_BOOL_DECODER_H_
45 45
46 #include <sys/types.h> 46 #include <sys/types.h>
47 47
48 #include "base/logging.h" 48 #include "base/logging.h"
49 #include "base/macros.h"
49 #include "media/base/media_export.h" 50 #include "media/base/media_export.h"
50 51
51 namespace media { 52 namespace media {
52 53
53 // A class to decode the VP8's boolean entropy coded stream. It's a variant of 54 // A class to decode the VP8's boolean entropy coded stream. It's a variant of
54 // arithmetic coding. See RFC 6386 - Chapter 7. Boolean Entropy Decoder. 55 // arithmetic coding. See RFC 6386 - Chapter 7. Boolean Entropy Decoder.
55 class MEDIA_EXPORT Vp8BoolDecoder { 56 class MEDIA_EXPORT Vp8BoolDecoder {
56 public: 57 public:
57 Vp8BoolDecoder(); 58 Vp8BoolDecoder();
58 59
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 size_t value_; 124 size_t value_;
124 int count_; 125 int count_;
125 size_t range_; 126 size_t range_;
126 127
127 DISALLOW_COPY_AND_ASSIGN(Vp8BoolDecoder); 128 DISALLOW_COPY_AND_ASSIGN(Vp8BoolDecoder);
128 }; 129 };
129 130
130 } // namespace media 131 } // namespace media
131 132
132 #endif // MEDIA_FILTERS_VP8_BOOL_DECODER_H_ 133 #endif // MEDIA_FILTERS_VP8_BOOL_DECODER_H_
OLDNEW
« no previous file with comments | « media/filters/video_renderer_algorithm.h ('k') | media/filters/vp8_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698