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

Side by Side Diff: third_party/WebKit/public/platform/WebMediaPlayer.h

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scoping Y8 out. Created 4 years, 2 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 unsigned target, 199 unsigned target,
200 unsigned texture, 200 unsigned texture,
201 int level, 201 int level,
202 int xoffset, 202 int xoffset,
203 int yoffset, 203 int yoffset,
204 bool premultiplyAlpha, 204 bool premultiplyAlpha,
205 bool flipY) { 205 bool flipY) {
206 return false; 206 return false;
207 } 207 }
208 208
209 // Do tex(Sub)Image2D/3D for current frame. If it is not implemented for given parameters or fails, it returns false.
210 virtual bool texImageImpl(const char* functionID,
211 unsigned target,
212 gpu::gles2::GLES2Interface* gl,
213 int level,
214 int internalformat,
215 unsigned format,
216 unsigned type,
217 int xoffset,
218 int yoffset,
219 int zoffset,
220 bool flipY,
221 bool premultiplyAlpha) {
222 return false;
223 }
224
209 virtual WebAudioSourceProvider* getAudioSourceProvider() { return nullptr; } 225 virtual WebAudioSourceProvider* getAudioSourceProvider() { return nullptr; }
210 226
211 virtual void setContentDecryptionModule( 227 virtual void setContentDecryptionModule(
212 WebContentDecryptionModule* cdm, 228 WebContentDecryptionModule* cdm,
213 WebContentDecryptionModuleResult result) { 229 WebContentDecryptionModuleResult result) {
214 result.completeWithError( 230 result.completeWithError(
215 WebContentDecryptionModuleExceptionNotSupportedError, 0, "ERROR"); 231 WebContentDecryptionModuleExceptionNotSupportedError, 0, "ERROR");
216 } 232 }
217 233
218 // Sets the poster image URL. 234 // Sets the poster image URL.
(...skipping 10 matching lines...) Expand all
229 245
230 virtual void enabledAudioTracksChanged( 246 virtual void enabledAudioTracksChanged(
231 const WebVector<TrackId>& enabledTrackIds) {} 247 const WebVector<TrackId>& enabledTrackIds) {}
232 // |selectedTrackId| is null if no track is selected. 248 // |selectedTrackId| is null if no track is selected.
233 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {} 249 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {}
234 }; 250 };
235 251
236 } // namespace blink 252 } // namespace blink
237 253
238 #endif 254 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698