Module ImportFrom alias alias alias alias Assign NameStore Call NameLoad Str Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Yield NameLoad For NameStore NameLoad body AugAssignAdd NameStore NameLoad Expr Yield NameLoad decorator_list Import alias ImportFrom alias alias ImportFrom alias alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Assert Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Num Assign NameStore Num For NameStore NameLoad body If CompareEq NameLoad Str body AugAssignAdd NameStore Num Expr Yield TupleLoad NameLoad Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad AugAssignAdd NameStore Num Expr Yield TupleLoad NameLoad Call NameLoad keyword NameLoad keyword SubscriptLoad Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index NameLoad keyword SubscriptLoad Dict Str Str Str Str Num Num Num Num Index NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad AugAssignAdd NameStore Num AugAssignAdd NameStore Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad keyword Num keyword Num Assert CompareEq AttributeLoad Call NameLoad NameLoad keyword Num keyword Num attr BinOpFloorDiv Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Slice Num Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel NameLoad Slice Num Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr ListLoad Assert CompareEq Call NameLoad Call NameLoad AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad keyword Num attr Str keyword Num keyword Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore Call NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Str decorator_list
N/A __future__ unicode_literals print_function division absolute_import N/A str N/A type N/A io N/A mock N/A N/A itertools accumulate N/A N/A N/A ImportError N/A accumulate N/A N/A iterable N/A N/A N/A it N/A iter iterable N/A total N/A next it N/A N/A total N/A element it N/A N/A total element N/A N/A total N/A N/A pytest picamera.encoders PiVideoFrame PiVideoFrameType picamera.streams CircularIO PiCameraCircularIO test_init N/A N/A N/A N/A N/A stream N/A CircularIO 10 N/A N/A N/A stream readable N/A N/A N/A stream writable N/A N/A N/A stream seekable N/A N/A N/A stream size 10 N/A N/A N/A N/A stream tell 0 N/A N/A N/A pytest raises ValueError N/A N/A N/A CircularIO -1 N/A test_seek_tell N/A N/A N/A N/A N/A stream N/A CircularIO 10 N/A N/A N/A N/A stream tell 0 N/A N/A N/A stream write defghijklm N/A N/A N/A N/A stream tell 10 N/A N/A N/A stream seek 0 N/A N/A N/A N/A stream tell 0 N/A N/A N/A stream seek 4 N/A io SEEK_CUR N/A N/A N/A N/A stream tell 4 N/A N/A N/A stream seek 0 N/A io SEEK_END N/A N/A N/A N/A stream tell 10 N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A stream seek -20 N/A io SEEK_END N/A test_read N/A N/A N/A N/A N/A stream N/A CircularIO 10 N/A N/A N/A stream write abcdef N/A N/A N/A stream write ghijklm N/A N/A N/A stream seek 0 N/A N/A N/A N/A stream read 1 d N/A N/A N/A N/A stream read 4 efgh N/A N/A N/A N/A stream read ijklm N/A N/A N/A N/A stream tell 10 N/A N/A N/A N/A stream read N/A N/A N/A stream seek 0 N/A N/A N/A N/A stream read defghijklm N/A test_read1 N/A N/A N/A N/A N/A stream N/A CircularIO 10 N/A N/A N/A stream write abcdef N/A N/A N/A stream write ghijklm N/A N/A N/A stream seek 0 N/A N/A N/A N/A stream read1 def N/A N/A N/A stream seek 0 N/A N/A N/A N/A stream read1 5 def N/A N/A N/A N/A stream read1 3 ghi N/A N/A N/A N/A stream read1 jklm N/A N/A N/A N/A stream read1 N/A test_write N/A N/A N/A N/A N/A stream N/A CircularIO 10 N/A N/A N/A stream write N/A N/A N/A N/A stream tell 0 N/A N/A N/A N/A stream getvalue N/A N/A N/A stream seek 2 N/A N/A N/A stream write abc N/A N/A N/A N/A stream getvalue abc N/A N/A N/A N/A stream tell 5 N/A N/A N/A stream write def N/A N/A N/A N/A stream getvalue abcdef N/A N/A N/A N/A stream tell 8 N/A N/A N/A stream write ghijklm N/A N/A N/A N/A stream getvalue defghijklm N/A N/A N/A N/A stream tell 10 N/A N/A N/A stream seek 1 N/A N/A N/A stream write aaa N/A N/A N/A N/A stream getvalue daaahijklm N/A N/A N/A N/A stream tell 4 N/A N/A N/A stream seek -2 N/A io SEEK_END N/A N/A N/A stream write bbb N/A N/A N/A N/A stream tell 10 N/A N/A N/A N/A stream getvalue aaahijkbbb N/A test_truncate N/A N/A N/A N/A N/A stream N/A CircularIO 10 N/A N/A N/A stream write abcdef N/A N/A N/A stream write ghijklm N/A N/A N/A stream seek 8 N/A N/A N/A stream truncate N/A N/A N/A stream seek 0 N/A io SEEK_END N/A N/A N/A N/A stream tell 8 N/A N/A N/A stream seek 10 N/A N/A N/A stream truncate N/A N/A N/A stream seek 8 N/A N/A N/A N/A stream read N/A N/A N/A stream truncate 4 N/A N/A N/A stream seek 0 N/A N/A N/A N/A stream read defg N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A stream truncate -1 N/A generate_frames N/A N/A s index N/A 0 N/A N/A pos 0 N/A timestamp 0 N/A data s N/A N/A N/A data k N/A N/A pos 1 N/A N/A N/A data N/A PiVideoFrame index index frame_type N/A PiVideoFrameType key_frame frame_size 1 video_size pos split_size pos timestamp timestamp complete False N/A pos 1 N/A N/A N/A data N/A PiVideoFrame index index frame_type N/A N/A f k h m N/A PiVideoFrameType frame N/A PiVideoFrameType key_frame N/A PiVideoFrameType sps_header N/A PiVideoFrameType motion_data N/A data frame_size N/A N/A f k h m 1 2 1 1 N/A data video_size pos split_size pos timestamp timestamp complete True N/A index 1 N/A timestamp 1000000 N/A test_camera_stream_init N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A N/A N/A pytest raises ValueError N/A N/A N/A PiCameraCircularIO None size 1 N/A N/A N/A pytest raises ValueError N/A N/A N/A PiCameraCircularIO camera N/A N/A N/A pytest raises ValueError N/A N/A N/A PiCameraCircularIO camera size 1 seconds 1 N/A N/A N/A N/A PiCameraCircularIO camera seconds 1 bitrate 1024 size N/A 1024 8 N/A test_camera_stream_frames N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A stream N/A PiCameraCircularIO camera size 10 N/A frames N/A N/A N/A data frame N/A generate_frames hkffkff N/A N/A N/A encoder frame frame N/A N/A frame complete N/A N/A N/A N/A frames append frame N/A N/A N/A stream write data N/A N/A N/A N/A stream getvalue hkkffkkff N/A N/A N/A list N/A stream frames frames N/A N/A N/A list N/A reversed N/A stream frames N/A frames N/A -1 N/A test_camera_stream_frames_trunc_right N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A stream N/A PiCameraCircularIO camera size 10 N/A frames N/A N/A N/A data frame N/A generate_frames hkffkff N/A N/A N/A encoder frame frame N/A N/A frame complete N/A N/A N/A N/A frames append frame N/A N/A N/A stream write data N/A N/A N/A stream seek 7 N/A N/A N/A stream truncate N/A N/A frames N/A -2 N/A N/A N/A N/A stream getvalue hkkffkk N/A N/A N/A list N/A stream frames frames N/A N/A N/A list N/A reversed N/A stream frames N/A frames N/A -1 N/A test_camera_stream_frames_trunc_left N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A stream N/A PiCameraCircularIO camera size 10 N/A frames N/A N/A N/A data frame N/A generate_frames hkffkffhkff N/A N/A N/A encoder frame frame N/A N/A frame complete N/A N/A N/A N/A frames append frame N/A N/A N/A stream write data N/A N/A frames N/A 3 N/A sizes N/A accumulate N/A N/A f frame_size N/A f frames N/A frames N/A N/A PiVideoFrame N/A f index N/A f frame_type N/A f frame_size size size N/A f timestamp N/A f complete N/A N/A f size N/A zip frames sizes N/A N/A N/A N/A stream getvalue fkkffhkkff N/A N/A N/A list N/A stream frames frames N/A N/A N/A list N/A reversed N/A stream frames N/A frames N/A -1 N/A test_camera_stream_clear N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A stream N/A PiCameraCircularIO camera size 10 N/A N/A data frame N/A generate_frames hkffkff N/A N/A N/A encoder frame frame N/A N/A N/A stream write data N/A N/A N/A stream clear N/A N/A N/A N/A stream getvalue N/A N/A N/A list N/A stream frames N/A N/A N/A N/A list N/A reversed N/A stream frames N/A N/A test_camera_stream_copy_bad N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A N/A PiCameraCircularIO camera size 10 copy_to foo size 1000 seconds 10 N/A test_camera_stream_copy_all N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A stream N/A PiCameraCircularIO camera size 10 N/A N/A data frame N/A generate_frames hkffkff N/A N/A N/A encoder frame frame N/A N/A N/A stream write data N/A output N/A N/A io BytesIO N/A N/A N/A stream copy_to output N/A N/A N/A N/A output getvalue hkkffkkff N/A N/A data frame N/A generate_frames hkffkff N/A N/A N/A encoder frame frame N/A N/A N/A stream write data N/A N/A N/A N/A stream getvalue fhkkffkkff N/A output N/A N/A io BytesIO N/A N/A N/A stream copy_to output N/A N/A N/A N/A output getvalue hkkffkkff N/A test_camera_stream_copy_size N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A stream N/A PiCameraCircularIO camera size 10 N/A N/A data frame N/A generate_frames hkffkff N/A N/A N/A encoder frame frame N/A N/A N/A stream write data N/A output N/A N/A io BytesIO N/A N/A N/A stream copy_to output size 5 N/A N/A N/A N/A output getvalue N/A N/A N/A stream copy_to output size 10 N/A N/A N/A N/A output getvalue hkkffkkff N/A test_camera_stream_copy_seconds N/A N/A N/A N/A N/A camera N/A N/A mock Mock N/A encoder N/A N/A mock Mock N/A N/A camera _encoders N/A 1 encoder N/A stream N/A PiCameraCircularIO camera size 10 N/A N/A data frame N/A generate_frames hkffkff N/A N/A N/A encoder frame frame N/A N/A N/A stream write data N/A output N/A N/A io BytesIO N/A N/A N/A stream copy_to output seconds 1 N/A N/A N/A N/A output getvalue N/A N/A N/A stream copy_to output seconds 10 N/A N/A N/A N/A output getvalue hkkffkkff N/A