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
#! /usr/bin/python | |
############################################################################### | |
# Script converts a single frame, compliant with ITU-R BT.656-5, | |
# into a picture of given format (like PNG, JPEG, BMP, etc) | |
# | |
# Tested with Python 2.7.5, Pillow 2.7 | |
############################################################################### | |
from PIL import Image |
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
#! /usr/bin/python | |
############################################################################### | |
# Script converts an arbitrary picture into a single frame, | |
# compliant with ITU-R BT.656-5, see: | |
# | |
# http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.656-5-200712-I!!PDF-E.pdf | |
# | |
# Tested on Ubuntu 12.04, Python 2.7.3 | |
############################################################################### |
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
#include "dictionary.h" | |
#include <stdlib.h> | |
#include <stdbool.h> | |
//////////////////////////////////////////////////////////////////////////////// | |
// static function forward declarations | |
// dictionary node static | |
static DictionaryNode *DictionaryNodeAlloc(void); |