summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-09-14 10:36:53 -0700
committerJames Dong <jdong@google.com>2012-09-14 10:36:53 -0700
commitbcb54a4662bf8659762db59cd66ae3c06382fd4b (patch)
tree7a8f920b7db8d1e5b947a6f2290168d51a739c67 /libvideoeditor
parentafcb6aec27a52b87f3990691698ebe6b62e7a7bf (diff)
downloadframeworks_av-bcb54a4662bf8659762db59cd66ae3c06382fd4b.zip
frameworks_av-bcb54a4662bf8659762db59cd66ae3c06382fd4b.tar.gz
frameworks_av-bcb54a4662bf8659762db59cd66ae3c06382fd4b.tar.bz2
Make a small correction in terms of GOP structure in the recorded video
When we have a 30 fps frame rate, and one second key-frame or I-frame interval, we really would like to have for each second, 29 P-frames + 1 I-frame. Thus, we should calculate the number of P frames so that it is equal to frame_rate * I_frame_interval - 1 Change-Id: I5b9be6e4c101e7a6b718015aa4041496961c0f19
Diffstat (limited to 'libvideoeditor')
0 files changed, 0 insertions, 0 deletions