>>> import numpy as np
>>> from av import VideoFrame
>>> a = np.zeros((3,3,3))
>>> a[:,:,2] = 255
>>> a = a.astype(np.uint8)
>>> a
array([[[ 0, 0, 255],
[ 0, 0, 255],
[ 0, 0, 255]],
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Scroll demo</title> | |
<style> | |
#canvas { | |
height: 1200px; | |
background-color: rgb(69, 111, 225) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[no_mangle] | |
pub fn a_function(arg_1: &mut u32, arg_2: &mut u32) -> u32 { | |
// pub fn a_function(arg_1: &mut u32) { | |
*arg_1 = 10; | |
*arg_2 = 11; | |
*arg_2 | |
} | |
fn main() { |
I hereby claim:
- I am mtn on github.
- I am mnoronha (https://keybase.io/mnoronha) on keybase.
- I have a public key ASArvWa0tesG_XGrp_dP-LKtdBLqCW2lvY5EwpJsKRNmUAo
To claim this, I am signing this object: