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

Side by Side Diff: content/common/gpu/media/video_decode_accelerator_unittest.cc

Issue 1745903002: Introduce GpuVideoDecodeAcceleratorFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // The bulk of this file is support code; sorry about that. Here's an overview 5 // The bulk of this file is support code; sorry about that. Here's an overview
6 // to hopefully help readers of this code: 6 // to hopefully help readers of this code:
7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or 7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or
8 // Win/EGL. 8 // Win/EGL.
9 // - ClientState is an enum for the state of the decode client used by the test. 9 // - ClientState is an enum for the state of the decode client used by the test.
10 // - ClientStateNotification is a barrier abstraction that allows the test code 10 // - ClientStateNotification is a barrier abstraction that allows the test code
(...skipping 29 matching lines...) Expand all
40 #include "base/strings/stringize_macros.h" 40 #include "base/strings/stringize_macros.h"
41 #include "base/strings/stringprintf.h" 41 #include "base/strings/stringprintf.h"
42 #include "base/strings/utf_string_conversions.h" 42 #include "base/strings/utf_string_conversions.h"
43 #include "base/synchronization/condition_variable.h" 43 #include "base/synchronization/condition_variable.h"
44 #include "base/synchronization/lock.h" 44 #include "base/synchronization/lock.h"
45 #include "base/synchronization/waitable_event.h" 45 #include "base/synchronization/waitable_event.h"
46 #include "base/thread_task_runner_handle.h" 46 #include "base/thread_task_runner_handle.h"
47 #include "base/threading/thread.h" 47 #include "base/threading/thread.h"
48 #include "build/build_config.h" 48 #include "build/build_config.h"
49 #include "content/common/gpu/media/fake_video_decode_accelerator.h" 49 #include "content/common/gpu/media/fake_video_decode_accelerator.h"
50 #include "content/common/gpu/media/gpu_video_decode_accelerator_factory_impl.h"
50 #include "content/common/gpu/media/rendering_helper.h" 51 #include "content/common/gpu/media/rendering_helper.h"
51 #include "content/common/gpu/media/video_accelerator_unittest_helpers.h" 52 #include "content/common/gpu/media/video_accelerator_unittest_helpers.h"
53 #include "gpu/command_buffer/service/gpu_preferences.h"
52 #include "media/filters/h264_parser.h" 54 #include "media/filters/h264_parser.h"
53 #include "testing/gtest/include/gtest/gtest.h" 55 #include "testing/gtest/include/gtest/gtest.h"
54 #include "ui/gfx/codec/png_codec.h" 56 #include "ui/gfx/codec/png_codec.h"
55 #include "ui/gl/gl_image.h" 57 #include "ui/gl/gl_image.h"
56 58
57 #if defined(OS_WIN) 59 #if defined(OS_WIN)
58 #include "base/win/windows_version.h" 60 #include "base/win/windows_version.h"
59 #include "content/common/gpu/media/dxva_video_decode_accelerator_win.h" 61 #include "content/common/gpu/media/dxva_video_decode_accelerator_win.h"
60 #elif defined(OS_CHROMEOS) 62 #elif defined(OS_CHROMEOS)
61 #if defined(USE_V4L2_CODEC) 63 #if defined(USE_V4L2_CODEC)
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 int num_queued_fragments() { return num_queued_fragments_; } 353 int num_queued_fragments() { return num_queued_fragments_; }
352 int num_decoded_frames() { return num_decoded_frames_; } 354 int num_decoded_frames() { return num_decoded_frames_; }
353 double frames_per_second(); 355 double frames_per_second();
354 // Return the median of the decode time of all decoded frames. 356 // Return the median of the decode time of all decoded frames.
355 base::TimeDelta decode_time_median(); 357 base::TimeDelta decode_time_median();
356 bool decoder_deleted() { return !decoder_.get(); } 358 bool decoder_deleted() { return !decoder_.get(); }
357 359
358 private: 360 private:
359 typedef std::map<int32_t, scoped_refptr<TextureRef>> TextureRefMap; 361 typedef std::map<int32_t, scoped_refptr<TextureRef>> TextureRefMap;
360 362
361 scoped_ptr<media::VideoDecodeAccelerator> CreateFakeVDA();
362 scoped_ptr<media::VideoDecodeAccelerator> CreateDXVAVDA();
363 scoped_ptr<media::VideoDecodeAccelerator> CreateV4L2VDA();
364 scoped_ptr<media::VideoDecodeAccelerator> CreateV4L2SliceVDA();
365 scoped_ptr<media::VideoDecodeAccelerator> CreateVaapiVDA();
366
367 void BindImage(uint32_t client_texture_id,
368 uint32_t texture_target,
369 scoped_refptr<gl::GLImage> image,
370 bool can_bind_as_sampler);
371
372 void SetState(ClientState new_state); 363 void SetState(ClientState new_state);
373 void FinishInitialization(); 364 void FinishInitialization();
374 void ReturnPicture(int32_t picture_buffer_id); 365 void ReturnPicture(int32_t picture_buffer_id);
375 366
376 // Delete the associated decoder helper. 367 // Delete the associated decoder helper.
377 void DeleteDecoder(); 368 void DeleteDecoder();
378 369
379 // Compute & return the first encoded bytes (including a start frame) to send 370 // Compute & return the first encoded bytes (including a start frame) to send
380 // to the decoder, starting at |start_pos| and returning one fragment. Skips 371 // to the decoder, starting at |start_pos| and returning one fragment. Skips
381 // to the first decodable position. 372 // to the first decodable position.
(...skipping 12 matching lines...) Expand all
394 size_t window_id_; 385 size_t window_id_;
395 RenderingHelper* rendering_helper_; 386 RenderingHelper* rendering_helper_;
396 gfx::Size frame_size_; 387 gfx::Size frame_size_;
397 std::string encoded_data_; 388 std::string encoded_data_;
398 const int num_in_flight_decodes_; 389 const int num_in_flight_decodes_;
399 int outstanding_decodes_; 390 int outstanding_decodes_;
400 size_t encoded_data_next_pos_to_decode_; 391 size_t encoded_data_next_pos_to_decode_;
401 int next_bitstream_buffer_id_; 392 int next_bitstream_buffer_id_;
402 ClientStateNotification<ClientState>* note_; 393 ClientStateNotification<ClientState>* note_;
403 scoped_ptr<VideoDecodeAccelerator> decoder_; 394 scoped_ptr<VideoDecodeAccelerator> decoder_;
404 scoped_ptr<base::WeakPtrFactory<VideoDecodeAccelerator> > 395 base::WeakPtr<VideoDecodeAccelerator> weak_vda_;
405 weak_decoder_factory_; 396 scoped_ptr<base::WeakPtrFactory<VideoDecodeAccelerator>>
397 weak_vda_ptr_factory_;
398 scoped_ptr<GpuVideoDecodeAcceleratorFactoryImpl> vda_factory_;
406 int remaining_play_throughs_; 399 int remaining_play_throughs_;
407 int reset_after_frame_num_; 400 int reset_after_frame_num_;
408 int delete_decoder_state_; 401 int delete_decoder_state_;
409 ClientState state_; 402 ClientState state_;
410 int num_skipped_fragments_; 403 int num_skipped_fragments_;
411 int num_queued_fragments_; 404 int num_queued_fragments_;
412 int num_decoded_frames_; 405 int num_decoded_frames_;
413 int num_done_bitstream_buffers_; 406 int num_done_bitstream_buffers_;
414 base::TimeTicks initialize_done_ticks_; 407 base::TimeTicks initialize_done_ticks_;
415 media::VideoCodecProfile profile_; 408 media::VideoCodecProfile profile_;
(...skipping 17 matching lines...) Expand all
433 // textures. 426 // textures.
434 TextureRefMap active_textures_; 427 TextureRefMap active_textures_;
435 428
436 // A map of the textures that are still pending in the renderer. 429 // A map of the textures that are still pending in the renderer.
437 // We check this to ensure all frames are rendered before entering the 430 // We check this to ensure all frames are rendered before entering the
438 // CS_RESET_State. 431 // CS_RESET_State.
439 TextureRefMap pending_textures_; 432 TextureRefMap pending_textures_;
440 433
441 int32_t next_picture_buffer_id_; 434 int32_t next_picture_buffer_id_;
442 435
436 base::WeakPtr<GLRenderingVDAClient> weak_this_;
437 base::WeakPtrFactory<GLRenderingVDAClient> weak_this_factory_;
438
443 DISALLOW_IMPLICIT_CONSTRUCTORS(GLRenderingVDAClient); 439 DISALLOW_IMPLICIT_CONSTRUCTORS(GLRenderingVDAClient);
444 }; 440 };
445 441
442 static bool DoNothingReturnTrue() {
443 return true;
444 }
445
446 static bool DummyBindImage(uint32_t client_texture_id,
447 uint32_t texture_target,
448 const scoped_refptr<gl::GLImage>& image,
449 bool can_bind_to_sampler) {
450 return true;
451 }
452
446 GLRenderingVDAClient::GLRenderingVDAClient( 453 GLRenderingVDAClient::GLRenderingVDAClient(
447 size_t window_id, 454 size_t window_id,
448 RenderingHelper* rendering_helper, 455 RenderingHelper* rendering_helper,
449 ClientStateNotification<ClientState>* note, 456 ClientStateNotification<ClientState>* note,
450 const std::string& encoded_data, 457 const std::string& encoded_data,
451 int num_in_flight_decodes, 458 int num_in_flight_decodes,
452 int num_play_throughs, 459 int num_play_throughs,
453 int reset_after_frame_num, 460 int reset_after_frame_num,
454 int delete_decoder_state, 461 int delete_decoder_state,
455 int frame_width, 462 int frame_width,
(...skipping 20 matching lines...) Expand all
476 num_skipped_fragments_(0), 483 num_skipped_fragments_(0),
477 num_queued_fragments_(0), 484 num_queued_fragments_(0),
478 num_decoded_frames_(0), 485 num_decoded_frames_(0),
479 num_done_bitstream_buffers_(0), 486 num_done_bitstream_buffers_(0),
480 fake_decoder_(fake_decoder), 487 fake_decoder_(fake_decoder),
481 texture_target_(0), 488 texture_target_(0),
482 suppress_rendering_(suppress_rendering), 489 suppress_rendering_(suppress_rendering),
483 delay_reuse_after_frame_num_(delay_reuse_after_frame_num), 490 delay_reuse_after_frame_num_(delay_reuse_after_frame_num),
484 decode_calls_per_second_(decode_calls_per_second), 491 decode_calls_per_second_(decode_calls_per_second),
485 render_as_thumbnails_(render_as_thumbnails), 492 render_as_thumbnails_(render_as_thumbnails),
486 next_picture_buffer_id_(1) { 493 next_picture_buffer_id_(1),
494 weak_this_factory_(this) {
487 LOG_ASSERT(num_in_flight_decodes > 0); 495 LOG_ASSERT(num_in_flight_decodes > 0);
488 LOG_ASSERT(num_play_throughs > 0); 496 LOG_ASSERT(num_play_throughs > 0);
489 // |num_in_flight_decodes_| is unsupported if |decode_calls_per_second_| > 0. 497 // |num_in_flight_decodes_| is unsupported if |decode_calls_per_second_| > 0.
490 if (decode_calls_per_second_ > 0) 498 if (decode_calls_per_second_ > 0)
491 LOG_ASSERT(1 == num_in_flight_decodes_); 499 LOG_ASSERT(1 == num_in_flight_decodes_);
492 500
493 // Default to H264 baseline if no profile provided. 501 // Default to H264 baseline if no profile provided.
494 profile_ = (profile != media::VIDEO_CODEC_PROFILE_UNKNOWN 502 profile_ = (profile != media::VIDEO_CODEC_PROFILE_UNKNOWN
495 ? profile 503 ? profile
496 : media::H264PROFILE_BASELINE); 504 : media::H264PROFILE_BASELINE);
505
506 weak_this_ = weak_this_factory_.GetWeakPtr();
497 } 507 }
498 508
499 GLRenderingVDAClient::~GLRenderingVDAClient() { 509 GLRenderingVDAClient::~GLRenderingVDAClient() {
500 DeleteDecoder(); // Clean up in case of expected error. 510 DeleteDecoder(); // Clean up in case of expected error.
501 LOG_ASSERT(decoder_deleted()); 511 LOG_ASSERT(decoder_deleted());
502 SetState(CS_DESTROYED); 512 SetState(CS_DESTROYED);
503 } 513 }
504 514
505 static bool DoNothingReturnTrue() { return true; }
506
507 scoped_ptr<media::VideoDecodeAccelerator>
508 GLRenderingVDAClient::CreateFakeVDA() {
509 scoped_ptr<media::VideoDecodeAccelerator> decoder;
510 if (fake_decoder_) {
511 decoder.reset(new FakeVideoDecodeAccelerator(
512 static_cast<gfx::GLContext*> (rendering_helper_->GetGLContextHandle()),
513 frame_size_,
514 base::Bind(&DoNothingReturnTrue)));
515 }
516 return decoder;
517 }
518
519 scoped_ptr<media::VideoDecodeAccelerator>
520 GLRenderingVDAClient::CreateDXVAVDA() {
521 scoped_ptr<media::VideoDecodeAccelerator> decoder;
522 #if defined(OS_WIN)
523 if (base::win::GetVersion() >= base::win::VERSION_WIN7) {
524 const bool enable_accelerated_vpx_decode = false;
525 decoder.reset(new DXVAVideoDecodeAccelerator(
526 base::Bind(&DoNothingReturnTrue),
527 rendering_helper_->GetGLContext().get(),
528 enable_accelerated_vpx_decode));
529 }
530 #endif
531 return decoder;
532 }
533
534 scoped_ptr<media::VideoDecodeAccelerator>
535 GLRenderingVDAClient::CreateV4L2VDA() {
536 scoped_ptr<media::VideoDecodeAccelerator> decoder;
537 #if defined(OS_CHROMEOS) && defined(USE_V4L2_CODEC)
538 scoped_refptr<V4L2Device> device = V4L2Device::Create(V4L2Device::kDecoder);
539 if (device.get()) {
540 base::WeakPtr<VideoDecodeAccelerator::Client> weak_client = AsWeakPtr();
541 decoder.reset(new V4L2VideoDecodeAccelerator(
542 static_cast<EGLDisplay>(rendering_helper_->GetGLDisplay()),
543 static_cast<EGLContext>(rendering_helper_->GetGLContextHandle()),
544 weak_client, base::Bind(&DoNothingReturnTrue), device,
545 base::ThreadTaskRunnerHandle::Get()));
546 }
547 #endif
548 return decoder;
549 }
550
551 scoped_ptr<media::VideoDecodeAccelerator>
552 GLRenderingVDAClient::CreateV4L2SliceVDA() {
553 scoped_ptr<media::VideoDecodeAccelerator> decoder;
554 #if defined(OS_CHROMEOS) && defined(USE_V4L2_CODEC)
555 scoped_refptr<V4L2Device> device = V4L2Device::Create(V4L2Device::kDecoder);
556 if (device.get()) {
557 base::WeakPtr<VideoDecodeAccelerator::Client> weak_client = AsWeakPtr();
558 decoder.reset(new V4L2SliceVideoDecodeAccelerator(
559 device, static_cast<EGLDisplay>(rendering_helper_->GetGLDisplay()),
560 static_cast<EGLContext>(rendering_helper_->GetGLContextHandle()),
561 weak_client, base::Bind(&DoNothingReturnTrue),
562 base::ThreadTaskRunnerHandle::Get()));
563 }
564 #endif
565 return decoder;
566 }
567
568 scoped_ptr<media::VideoDecodeAccelerator>
569 GLRenderingVDAClient::CreateVaapiVDA() {
570 scoped_ptr<media::VideoDecodeAccelerator> decoder;
571 #if defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY)
572 decoder.reset(new VaapiVideoDecodeAccelerator(
573 base::Bind(&DoNothingReturnTrue),
574 base::Bind(&GLRenderingVDAClient::BindImage, base::Unretained(this))));
575 #endif
576 return decoder;
577 }
578
579 void GLRenderingVDAClient::BindImage(uint32_t client_texture_id,
580 uint32_t texture_target,
581 scoped_refptr<gl::GLImage> image,
582 bool can_bind_to_sampler) {}
583
584 void GLRenderingVDAClient::CreateAndStartDecoder() { 515 void GLRenderingVDAClient::CreateAndStartDecoder() {
585 LOG_ASSERT(decoder_deleted()); 516 LOG_ASSERT(decoder_deleted());
586 LOG_ASSERT(!decoder_.get()); 517 LOG_ASSERT(!decoder_.get());
587 518
588 VideoDecodeAccelerator::Client* client = this; 519 if (fake_decoder_) {
520 decoder_.reset(new FakeVideoDecodeAccelerator(
521 frame_size_, base::Bind(&DoNothingReturnTrue)));
522 LOG_ASSERT(decoder_->Initialize(profile_, this));
523 } else {
524 if (!vda_factory_) {
525 vda_factory_ = GpuVideoDecodeAcceleratorFactoryImpl::Create(
526 base::Bind(&RenderingHelper::GetGLContext,
527 base::Unretained(rendering_helper_)),
528 base::Bind(&DoNothingReturnTrue), base::Bind(&DummyBindImage));
529 LOG_ASSERT(vda_factory_);
530 }
589 531
590 scoped_ptr<media::VideoDecodeAccelerator> decoders[] = { 532 VideoDecodeAccelerator::Config config(profile_);
591 CreateFakeVDA(), 533 gpu::GpuPreferences gpu_preferences;
592 CreateDXVAVDA(), 534 decoder_ = vda_factory_->CreateVDA(this, config, gpu_preferences);
593 CreateV4L2VDA(), 535 }
594 CreateV4L2SliceVDA(),
595 CreateVaapiVDA(),
596 };
597 536
598 for (size_t i = 0; i < arraysize(decoders); ++i) { 537 LOG_ASSERT(decoder_) << "Failed creating a VDA";
599 if (!decoders[i]) 538
600 continue; 539 decoder_->TryToSetupDecodeOnSeparateThread(
601 decoder_ = std::move(decoders[i]); 540 weak_this_, base::ThreadTaskRunnerHandle::Get());
602 weak_decoder_factory_.reset( 541
603 new base::WeakPtrFactory<VideoDecodeAccelerator>(decoder_.get())); 542 SetState(CS_DECODER_SET);
604 if (decoder_->Initialize(profile_, client)) { 543 FinishInitialization();
605 SetState(CS_DECODER_SET);
606 FinishInitialization();
607 return;
608 }
609 }
610 // Decoders are all initialize failed.
611 LOG(ERROR) << "VideoDecodeAccelerator::Initialize() failed";
612 LOG_ASSERT(false);
613 } 544 }
614 545
615 void GLRenderingVDAClient::ProvidePictureBuffers( 546 void GLRenderingVDAClient::ProvidePictureBuffers(
616 uint32_t requested_num_of_buffers, 547 uint32_t requested_num_of_buffers,
617 const gfx::Size& dimensions, 548 const gfx::Size& dimensions,
618 uint32_t texture_target) { 549 uint32_t texture_target) {
619 if (decoder_deleted()) 550 if (decoder_deleted())
620 return; 551 return;
621 std::vector<media::PictureBuffer> buffers; 552 std::vector<media::PictureBuffer> buffers;
622 553
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 LOG_ASSERT(1U == pending_textures_.erase(picture_buffer_id)); 637 LOG_ASSERT(1U == pending_textures_.erase(picture_buffer_id));
707 638
708 if (pending_textures_.empty() && state_ == CS_RESETTING) { 639 if (pending_textures_.empty() && state_ == CS_RESETTING) {
709 SetState(CS_RESET); 640 SetState(CS_RESET);
710 DeleteDecoder(); 641 DeleteDecoder();
711 return; 642 return;
712 } 643 }
713 644
714 if (num_decoded_frames_ > delay_reuse_after_frame_num_) { 645 if (num_decoded_frames_ > delay_reuse_after_frame_num_) {
715 base::MessageLoop::current()->PostDelayedTask( 646 base::MessageLoop::current()->PostDelayedTask(
716 FROM_HERE, 647 FROM_HERE, base::Bind(&VideoDecodeAccelerator::ReusePictureBuffer,
717 base::Bind(&VideoDecodeAccelerator::ReusePictureBuffer, 648 weak_vda_, picture_buffer_id),
718 weak_decoder_factory_->GetWeakPtr(),
719 picture_buffer_id),
720 kReuseDelay); 649 kReuseDelay);
721 } else { 650 } else {
722 decoder_->ReusePictureBuffer(picture_buffer_id); 651 decoder_->ReusePictureBuffer(picture_buffer_id);
723 } 652 }
724 } 653 }
725 654
726 void GLRenderingVDAClient::NotifyEndOfBitstreamBuffer( 655 void GLRenderingVDAClient::NotifyEndOfBitstreamBuffer(
727 int32_t bitstream_buffer_id) { 656 int32_t bitstream_buffer_id) {
728 // TODO(fischman): this test currently relies on this notification to make 657 // TODO(fischman): this test currently relies on this notification to make
729 // forward progress during a Reset(). But the VDA::Reset() API doesn't 658 // forward progress during a Reset(). But the VDA::Reset() API doesn't
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 } 760 }
832 761
833 for (int i = 0; i < num_in_flight_decodes_; ++i) 762 for (int i = 0; i < num_in_flight_decodes_; ++i)
834 DecodeNextFragment(); 763 DecodeNextFragment();
835 DCHECK_EQ(outstanding_decodes_, num_in_flight_decodes_); 764 DCHECK_EQ(outstanding_decodes_, num_in_flight_decodes_);
836 } 765 }
837 766
838 void GLRenderingVDAClient::DeleteDecoder() { 767 void GLRenderingVDAClient::DeleteDecoder() {
839 if (decoder_deleted()) 768 if (decoder_deleted())
840 return; 769 return;
841 weak_decoder_factory_.reset(); 770 weak_vda_ptr_factory_.reset();
842 decoder_.reset(); 771 decoder_.reset();
843 STLClearObject(&encoded_data_); 772 STLClearObject(&encoded_data_);
844 active_textures_.clear(); 773 active_textures_.clear();
845 774
846 // Cascade through the rest of the states to simplify test code below. 775 // Cascade through the rest of the states to simplify test code below.
847 for (int i = state_ + 1; i < CS_MAX; ++i) 776 for (int i = state_ + 1; i < CS_MAX; ++i)
848 SetState(static_cast<ClientState>(i)); 777 SetState(static_cast<ClientState>(i));
849 } 778 }
850 779
851 std::string GLRenderingVDAClient::GetBytesForFirstFragment( 780 std::string GLRenderingVDAClient::GetBytesForFirstFragment(
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 content::VaapiWrapper::PreSandboxInitialization(); 1575 content::VaapiWrapper::PreSandboxInitialization();
1647 #endif 1576 #endif
1648 1577
1649 content::g_env = 1578 content::g_env =
1650 reinterpret_cast<content::VideoDecodeAcceleratorTestEnvironment*>( 1579 reinterpret_cast<content::VideoDecodeAcceleratorTestEnvironment*>(
1651 testing::AddGlobalTestEnvironment( 1580 testing::AddGlobalTestEnvironment(
1652 new content::VideoDecodeAcceleratorTestEnvironment())); 1581 new content::VideoDecodeAcceleratorTestEnvironment()));
1653 1582
1654 return RUN_ALL_TESTS(); 1583 return RUN_ALL_TESTS();
1655 } 1584 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698