/external/chromium_org/media/base/ |
video_frame.cc | 21 scoped_refptr<VideoFrame> VideoFrame::CreateFrame( 22 VideoFrame::Format format, 28 scoped_refptr<VideoFrame> frame(new VideoFrame( 31 case VideoFrame::YV12: 32 case VideoFrame::YV12A: 33 case VideoFrame::YV16: 34 case VideoFrame::I420: 35 case VideoFrame::YV12J [all...] |
video_frame_pool_unittest.cc | 14 scoped_refptr<VideoFrame> CreateFrame(VideoFrame::Format format, 33 scoped_refptr<VideoFrame> frame = CreateFrame(VideoFrame::YV12, 10); 34 const uint8* old_y_data = frame->data(VideoFrame::kYPlane); 40 scoped_refptr<VideoFrame> new_frame = CreateFrame(VideoFrame::YV12, 10); 41 EXPECT_EQ(old_y_data, new_frame->data(VideoFrame::kYPlane)); 45 scoped_refptr<VideoFrame> frame_a = CreateFrame(VideoFrame::YV12, 10) [all...] |
video_frame_unittest.cc | 24 void InitializeYV12Frame(VideoFrame* frame, double white_to_black) { 25 EXPECT_EQ(VideoFrame::YV12, frame->format()); 28 uint8* y_plane = frame->data(VideoFrame::kYPlane); 31 memset(y_plane, color, frame->stride(VideoFrame::kYPlane)); 32 y_plane += frame->stride(VideoFrame::kYPlane); 34 uint8* u_plane = frame->data(VideoFrame::kUPlane); 35 uint8* v_plane = frame->data(VideoFrame::kVPlane); 37 memset(u_plane, 0x80, frame->stride(VideoFrame::kUPlane)); 38 memset(v_plane, 0x80, frame->stride(VideoFrame::kVPlane)); 39 u_plane += frame->stride(VideoFrame::kUPlane) [all...] |
video_util.h | 15 class VideoFrame; 22 // Copies a plane of YUV(A) source into a VideoFrame object, taking into account 27 VideoFrame* frame); 29 VideoFrame* frame); 31 VideoFrame* frame); 33 VideoFrame* frame); 36 MEDIA_EXPORT void MakeOpaqueAPlane(int stride, int rows, VideoFrame* frame); 38 // |plane| is one of VideoFrame::kYPlane, VideoFrame::kUPlane, 39 // VideoFrame::kVPlane or VideoFrame::kAPlan [all...] |
video_util.cc | 35 VideoFrame* frame) { 53 void CopyYPlane(const uint8* source, int stride, int rows, VideoFrame* frame) { 54 CopyPlane(VideoFrame::kYPlane, source, stride, rows, frame); 57 void CopyUPlane(const uint8* source, int stride, int rows, VideoFrame* frame) { 58 CopyPlane(VideoFrame::kUPlane, source, stride, rows, frame); 61 void CopyVPlane(const uint8* source, int stride, int rows, VideoFrame* frame) { 62 CopyPlane(VideoFrame::kVPlane, source, stride, rows, frame); 65 void CopyAPlane(const uint8* source, int stride, int rows, VideoFrame* frame) { 66 CopyPlane(VideoFrame::kAPlane, source, stride, rows, frame); 69 void MakeOpaqueAPlane(int stride, int rows, VideoFrame* frame) [all...] |
video_frame_pool.cc | 23 scoped_refptr<VideoFrame> CreateFrame(VideoFrame::Format format, 43 void FrameReleased(const scoped_refptr<VideoFrame>& frame); 47 std::list<scoped_refptr<VideoFrame> > frames_; 58 scoped_refptr<VideoFrame> VideoFramePool::PoolImpl::CreateFrame( 59 VideoFrame::Format format, 67 scoped_refptr<VideoFrame> frame; 70 scoped_refptr<VideoFrame> pool_frame = frames_.front(); 84 frame = VideoFrame::CreateFrame( 88 return VideoFrame::WrapVideoFrame [all...] |
video_frame_pool.h | 13 // Simple VideoFrame pool used to avoid unnecessarily allocating and destroying 14 // VideoFrame objects. The pool manages the memory for the VideoFrame 29 scoped_refptr<VideoFrame> CreateFrame(VideoFrame::Format format,
|
video_frame.h | 20 class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { 93 static scoped_refptr<VideoFrame> CreateFrame( 111 // Wraps a native texture of the given parameters with a VideoFrame. When the 121 static scoped_refptr<VideoFrame> WrapNativeTexture( 136 // Wraps packed image data residing in a memory buffer with a VideoFrame. 142 static scoped_refptr<VideoFrame> WrapExternalPackedMemory( 153 // Wraps external YUV data of the given parameters with a VideoFrame. 154 // The returned VideoFrame does not own the data passed in. When the frame 158 static scoped_refptr<VideoFrame> WrapExternalYuvData [all...] |
/external/chromium_org/media/cast/test/ |
video_utility.cc | 15 double I420PSNR(const scoped_refptr<media::VideoFrame>& frame1, 16 const scoped_refptr<media::VideoFrame>& frame2) { 21 frame1->data(VideoFrame::kYPlane), frame1->stride(VideoFrame::kYPlane), 22 frame1->data(VideoFrame::kUPlane), frame1->stride(VideoFrame::kUPlane), 23 frame1->data(VideoFrame::kVPlane), frame1->stride(VideoFrame::kVPlane), 24 frame2->data(VideoFrame::kYPlane), frame2->stride(VideoFrame::kYPlane) [all...] |
video_utility.h | 13 double I420PSNR(const scoped_refptr<media::VideoFrame>& frame1, 14 const scoped_refptr<media::VideoFrame>& frame2); 19 void PopulateVideoFrame(VideoFrame* frame, int start_value); 23 bool PopulateVideoFrameFromFile(VideoFrame* frame, FILE* video_file);
|
linux_output_window.h | 20 class VideoFrame; 37 void RenderFrame(const scoped_refptr<media::VideoFrame>& video_frame);
|
/external/chromium_org/cc/test/ |
fake_video_frame_provider.h | 13 // Fake video frame provider that always provides the same VideoFrame. 20 virtual scoped_refptr<media::VideoFrame> GetCurrentFrame() OVERRIDE; 21 virtual void PutCurrentFrame(const scoped_refptr<media::VideoFrame>&) 24 void set_frame(const scoped_refptr<media::VideoFrame>& frame) { 29 scoped_refptr<media::VideoFrame> frame_;
|
fake_video_frame_provider.cc | 21 scoped_refptr<media::VideoFrame> FakeVideoFrameProvider::GetCurrentFrame() {
|
/external/chromium/webkit/glue/ |
webvideoframe_impl.h | 15 // This converts a WebKit::WebVideoFrame to a media::VideoFrame. 16 static media::VideoFrame* toVideoFrame( 19 WebVideoFrameImpl(scoped_refptr<media::VideoFrame> video_frame); 31 scoped_refptr<media::VideoFrame> video_frame_;
|
/external/chromium_org/cc/resources/ |
video_resource_updater.cc | 49 const scoped_refptr<media::VideoFrame>& video_frame) { 53 if (video_frame->format() == media::VideoFrame::NATIVE_TEXTURE) 60 const scoped_refptr<media::VideoFrame>& video_frame) { 69 case media::VideoFrame::YV12: 70 case media::VideoFrame::YV12A: 71 case media::VideoFrame::YV16: 72 case media::VideoFrame::YV12J: 73 case media::VideoFrame::NATIVE_TEXTURE: 75 case media::VideoFrame::HOLE: 80 case media::VideoFrame::UNKNOWN [all...] |
video_resource_updater_unittest.cc | 32 scoped_refptr<media::VideoFrame> CreateTestYUVVideoFrame() { 39 return media::VideoFrame::WrapExternalYuvData( 40 media::VideoFrame::YV16, // format 63 scoped_refptr<media::VideoFrame> video_frame = CreateTestYUVVideoFrame(); 73 scoped_refptr<media::VideoFrame> video_frame = CreateTestYUVVideoFrame();
|
/external/chromium_org/media/filters/ |
skcanvas_video_renderer.cc | 15 static bool IsEitherYV12OrYV16(media::VideoFrame::Format format) { 16 return format == media::VideoFrame::YV12 || 17 format == media::VideoFrame::YV16 || 18 format == media::VideoFrame::YV12J; 21 static bool IsEitherYV12OrYV16OrNative(media::VideoFrame::Format format) { 23 format == media::VideoFrame::NATIVE_TEXTURE; 26 static bool IsEitherYV12OrYV12AOrYV16(media::VideoFrame::Format format) { 28 format == media::VideoFrame::YV12A; 32 media::VideoFrame::Format format) { 34 format == media::VideoFrame::YV12A [all...] |
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 26 #include <private/media/VideoFrame.h> 228 VideoFrame *videoFrame = NULL; 230 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object 231 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer()); 233 if (videoFrame == NULL) { 234 ALOGE("getFrameAtTime: videoFrame is a NULL pointer"); 239 videoFrame->mDisplayWidth, 240 videoFrame->mDisplayHeight [all...] |
/external/chromium/webkit/glue/media/ |
video_renderer_impl.cc | 54 scoped_refptr<media::VideoFrame> video_frame; 84 scoped_refptr<media::VideoFrame>* frame_out) { 89 scoped_refptr<media::VideoFrame> frame) { 154 void VideoRendererImpl::SlowPaint(media::VideoFrame* video_frame, 163 DCHECK(video_frame->format() == media::VideoFrame::YV12 || 164 video_frame->format() == media::VideoFrame::YV16); 165 DCHECK(video_frame->stride(media::VideoFrame::kUPlane) == 166 video_frame->stride(media::VideoFrame::kVPlane)); 167 DCHECK(video_frame->planes() == media::VideoFrame::kNumYUVPlanes); 170 (video_frame->format() == media::VideoFrame::YV12) [all...] |
/external/chromium_org/media/cdm/ppapi/ |
fake_cdm_video_decoder.cc | 41 cdm::VideoFrame* decoded_frame) { 74 decoded_frame->SetPlaneOffset(cdm::VideoFrame::kYPlane, y_offset); 75 decoded_frame->SetPlaneOffset(cdm::VideoFrame::kVPlane, v_offset); 76 decoded_frame->SetPlaneOffset(cdm::VideoFrame::kUPlane, u_offset); 77 decoded_frame->SetStride(cdm::VideoFrame::kYPlane, y_stride); 78 decoded_frame->SetStride(cdm::VideoFrame::kVPlane, uv_stride); 79 decoded_frame->SetStride(cdm::VideoFrame::kUPlane, uv_stride);
|
/external/chromium_org/content/renderer/media/ |
native_handle_impl.h | 17 explicit NativeHandleImpl(scoped_refptr<media::VideoFrame> frame); 25 scoped_refptr<media::VideoFrame> frame_;
|
native_handle_impl.cc | 9 NativeHandleImpl::NativeHandleImpl(scoped_refptr<media::VideoFrame> frame)
|
/external/chromium_org/media/cast/video_receiver/codecs/vp8/ |
vp8_decoder.cc | 76 DCHECK(VideoFrame::IsValidConfig(VideoFrame::I420, visible_size, 79 scoped_refptr<VideoFrame> decoded_frame = 80 VideoFrame::CreateFrame(VideoFrame::I420, visible_size, 85 CopyPlane(VideoFrame::kYPlane, img->planes[VPX_PLANE_Y], 87 CopyPlane(VideoFrame::kUPlane, img->planes[VPX_PLANE_U], 89 CopyPlane(VideoFrame::kVPlane, img->planes[VPX_PLANE_V],
|
/external/chromium_org/media/tools/player_x11/ |
gl_video_renderer.h | 15 class VideoFrame; 22 void Paint(media::VideoFrame* video_frame);
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtctexturevideoframe.h | 33 #include "talk/media/base/videoframe.h" 39 class WebRtcTextureVideoFrame : public VideoFrame { 45 // From base class VideoFrame. 73 virtual VideoFrame* Copy() const; 83 virtual void CopyToFrame(VideoFrame* target) const; 91 virtual void StretchToFrame(VideoFrame* target, bool interpolate, 93 virtual VideoFrame* Stretch(size_t w, size_t h, bool interpolate, 98 virtual VideoFrame* CreateEmptyFrame(int w, int h, size_t pixel_width,
|