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

Side by Side Diff: ppapi/examples/video_encode/video_encode.cc

Issue 2532483003: Replace the term 'poor man' with another phrase (gender-neutral fixit). (Closed)
Patch Set: Respond to review comments. Created 4 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 | « ppapi/examples/video_decode/video_decode_dev.cc ('k') | remoting/host/linux/x11_util.cc » ('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 #include <math.h> 5 #include <math.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <deque> 10 #include <deque>
(...skipping 15 matching lines...) Expand all
26 #include "ppapi/cpp/video_encoder.h" 26 #include "ppapi/cpp/video_encoder.h"
27 #include "ppapi/cpp/video_frame.h" 27 #include "ppapi/cpp/video_frame.h"
28 #include "ppapi/utility/completion_callback_factory.h" 28 #include "ppapi/utility/completion_callback_factory.h"
29 29
30 // When compiling natively on Windows, PostMessage can be #define-d to 30 // When compiling natively on Windows, PostMessage can be #define-d to
31 // something else. 31 // something else.
32 #ifdef PostMessage 32 #ifdef PostMessage
33 #undef PostMessage 33 #undef PostMessage
34 #endif 34 #endif
35 35
36 // Use assert as a poor-man's CHECK, even in non-debug mode. 36 // Use assert as a makeshift CHECK, even in non-debug mode.
37 // Since <assert.h> redefines assert on every inclusion (it doesn't use 37 // Since <assert.h> redefines assert on every inclusion (it doesn't use
38 // include-guards), make sure this is the last file #include'd in this file. 38 // include-guards), make sure this is the last file #include'd in this file.
39 #undef NDEBUG 39 #undef NDEBUG
40 #include <assert.h> 40 #include <assert.h>
41 #include <stddef.h> 41 #include <stddef.h>
42 #include <stdint.h> 42 #include <stdint.h>
43 43
44 #define fourcc(a, b, c, d) \ 44 #define fourcc(a, b, c, d) \
45 (((uint32_t)(a) << 0) | ((uint32_t)(b) << 8) | ((uint32_t)(c) << 16) | \ 45 (((uint32_t)(a) << 0) | ((uint32_t)(b) << 8) | ((uint32_t)(c) << 16) | \
46 ((uint32_t)(d) << 24)) 46 ((uint32_t)(d) << 24))
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 } 609 }
610 610
611 } // anonymous namespace 611 } // anonymous namespace
612 612
613 namespace pp { 613 namespace pp {
614 // Factory function for your specialization of the Module object. 614 // Factory function for your specialization of the Module object.
615 Module* CreateModule() { 615 Module* CreateModule() {
616 return new VideoEncoderModule(); 616 return new VideoEncoderModule();
617 } 617 }
618 } // namespace pp 618 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/examples/video_decode/video_decode_dev.cc ('k') | remoting/host/linux/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698