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

Unified Diff: source/libvpx/examples/force_keyframe.txt

Issue 148913004: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/examples/force_keyframe.c ('k') | source/libvpx/examples/gen_example_code.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/examples/force_keyframe.txt
===================================================================
--- source/libvpx/examples/force_keyframe.txt (revision 247498)
+++ source/libvpx/examples/force_keyframe.txt (working copy)
@@ -1,28 +0,0 @@
-@TEMPLATE encoder_tmpl.c
-Forcing A Keyframe
-==================
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
-This is an example demonstrating how to control placement of keyframes
-on a frame-by-frame basis.
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
-
-
-Configuration
--------------
-Keyframes can be forced by setting the VPX_EFLAG_FORCE_KF bit of the
-flags passed to `vpx_codec_control()`. In this example, we force a
-keyframe every 8 frames.
-
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PER_FRAME_CFG
-if(!(frame_cnt & 7))
- flags |= VPX_EFLAG_FORCE_KF;
-else
- flags &= ~VPX_EFLAG_FORCE_KF;
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PER_FRAME_CFG
-
-
-Observing The Effects
----------------------
-The output of the encoder examples shows a 'K' rather than a dot '.'
-when the encoder generates a keyframe. Note that every 8 frames a 'K'
-is output.
« no previous file with comments | « source/libvpx/examples/force_keyframe.c ('k') | source/libvpx/examples/gen_example_code.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698