applemedia: don't call CVPixelBufferLockBaseAddress when doing texture sharing
authorAlessandro Decina <alessandro.d@gmail.com>
Tue, 27 Jan 2015 13:43:09 +0000 (00:43 +1100)
committerAlessandro Decina <alessandro.d@gmail.com>
Thu, 29 Jan 2015 13:34:08 +0000 (00:34 +1100)
commit8734abb1ce02745a9fe39ea0b32e56aef4041989
tree64562654f85ad719a208525b21a640787f60c777
parent5f547c56001c25fcb352ed735ca79c0ff344322c
applemedia: don't call CVPixelBufferLockBaseAddress when doing texture sharing

When doing texture sharing we don't need to call CVPixelBufferLockBaseAddress to
map the buffer in CPU. This cuts about 10% relative cpu time from a vtdec !
glimagesink pipeline.
sys/applemedia/avfassetsrc.m
sys/applemedia/avfvideosrc.m
sys/applemedia/coremediabuffer.c
sys/applemedia/coremediabuffer.h
sys/applemedia/vtenc.c