B_MEDIA_RAW_VIDEO
return type == B_MEDIA_ENCODED_VIDEO || type == B_MEDIA_RAW_VIDEO;
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO: fprintf(stderr,"RAW_VIDEO"); break;
case B_MEDIA_RAW_VIDEO: fprintf(stderr,"RAW_VIDEO"); break;
dev->formats[0].type = B_MEDIA_RAW_VIDEO;
, BBufferProducer(B_MEDIA_RAW_VIDEO)
hdr->type = B_MEDIA_RAW_VIDEO;
ID_STATE, B_MEDIA_RAW_VIDEO, "State", B_GENERIC);
ID_REGION, B_MEDIA_RAW_VIDEO, "Region", B_GENERIC);
ID_CHANNEL, B_MEDIA_RAW_VIDEO, "Channel",
ID_AUDIO, B_MEDIA_RAW_VIDEO, "Audio", B_GENERIC);
case B_MEDIA_RAW_VIDEO:
fDefaultFormatRawVideo.type = B_MEDIA_RAW_VIDEO;
fMediaFormat.type = B_MEDIA_RAW_VIDEO;
fOutput.format.type = B_MEDIA_RAW_VIDEO;
h->type = B_MEDIA_RAW_VIDEO;
case B_MEDIA_RAW_VIDEO: fprintf(stderr,"RAW_VIDEO"); break;
case B_MEDIA_RAW_VIDEO: fprintf(stderr,"RAW_VIDEO"); break;
fMediaFormat[0].type = B_MEDIA_RAW_VIDEO;
fMediaFormat[1].type = B_MEDIA_RAW_VIDEO;
fMediaFormat[2].type = B_MEDIA_RAW_VIDEO;
fMediaFormat[3].type = B_MEDIA_RAW_VIDEO;
if (format->type != B_MEDIA_RAW_VIDEO)
if (type != B_MEDIA_RAW_VIDEO)
format->type = B_MEDIA_RAW_VIDEO;
format->type = B_MEDIA_RAW_VIDEO;
if (format->type != B_MEDIA_RAW_VIDEO)
BBufferProducer(B_MEDIA_RAW_VIDEO),
fOutput.format.type = B_MEDIA_RAW_VIDEO;
h->type = B_MEDIA_RAW_VIDEO;
fOutput.format.type = B_MEDIA_RAW_VIDEO;
P_SOURCE, B_MEDIA_RAW_VIDEO, "Video Input:", "Video Input:");
P_AUDIO_SOURCE, B_MEDIA_RAW_VIDEO, "Audio Input:", "Audio Input:");
controls2->MakeContinuousParameter(P_BRIGHTNESS, B_MEDIA_RAW_VIDEO,"Brightness", "BRIGHTNESS", "", -100, 100, 1);
controls2->MakeContinuousParameter(P_CONTRAST, B_MEDIA_RAW_VIDEO, "Contrast", "CONTRAST", "", 0, 100, 1);
controls2->MakeContinuousParameter(P_SHARPNESS, B_MEDIA_RAW_VIDEO, "Sharpness", B_LEVEL, "dB", 0, 15, 1);
controls3->MakeContinuousParameter(P_SATURATION, B_MEDIA_RAW_VIDEO, "Saturation", "SATURATION", "", -100, 100, 1);
controls3->MakeContinuousParameter(P_HUE, B_MEDIA_RAW_VIDEO, "Hue", B_LEVEL, "°", -90, 90, 1);
P_RESOLUTION, B_MEDIA_RAW_VIDEO, "Default Image Size:", B_RESOLUTION);
P_FORMAT, B_MEDIA_RAW_VIDEO, "Default Colors:", B_COLOR_SPACE);
P_STANDARD, B_MEDIA_RAW_VIDEO, "Video Format:", B_VIDEO_FORMAT);
P_MODE, B_MEDIA_RAW_VIDEO, "Video Interlace:", B_GENERIC);
fMediaFormat.type = B_MEDIA_RAW_VIDEO;
h->type = B_MEDIA_RAW_VIDEO;
fOutput.format.type = B_MEDIA_RAW_VIDEO;
P_COLOR, B_MEDIA_RAW_VIDEO, "Color", "Color");
BBufferProducer(B_MEDIA_RAW_VIDEO),
fMediaFormat.type = B_MEDIA_RAW_VIDEO;
P_INFO, B_MEDIA_RAW_VIDEO, "", "Info", 256);
fOutput.format.type = B_MEDIA_RAW_VIDEO;
BBufferProducer(B_MEDIA_RAW_VIDEO),
h->type = B_MEDIA_RAW_VIDEO;
B_MEDIA_RAW_VIDEO, "RGB gain",
B_MEDIA_RAW_VIDEO, "Contrast",
B_MEDIA_RAW_VIDEO, "Brightness",
B_MEDIA_RAW_VIDEO, "Backlight Compensation",
B_MEDIA_RAW_VIDEO, "Backlight Compensation",
B_MEDIA_RAW_VIDEO, "Frequency", B_GAIN, "", 0, 60.0, 1.0 / 60.0);
B_MEDIA_RAW_VIDEO, name, B_GAIN, "", minValue, maxValue,
subgroup->MakeDiscreteParameter(index, B_MEDIA_RAW_VIDEO, "Auto",
B_MEDIA_RAW_VIDEO, "global gain",
B_MEDIA_RAW_VIDEO, "global gain",
outFormat->type = B_MEDIA_RAW_VIDEO;
outFormat->type = B_MEDIA_RAW_VIDEO;
BBufferConsumer(B_MEDIA_RAW_VIDEO), // Raw video buffers in
BBufferProducer(B_MEDIA_RAW_VIDEO), // Raw video buffers out
case B_MEDIA_RAW_VIDEO:
format->type = B_MEDIA_RAW_VIDEO;
if (format->type != B_MEDIA_RAW_VIDEO) {
fMediaFormat.type = B_MEDIA_RAW_VIDEO;
P_COLOR, B_MEDIA_RAW_VIDEO, "Color", "Color");
fOutput.format.type = B_MEDIA_RAW_VIDEO;
BBufferProducer(B_MEDIA_RAW_VIDEO),
h->type = B_MEDIA_RAW_VIDEO;
fInputFormat.type = B_MEDIA_RAW_VIDEO;
if (info->in_formats[0].type != B_MEDIA_RAW_VIDEO) {
format->type = B_MEDIA_RAW_VIDEO;
if (format->type != B_MEDIA_RAW_VIDEO)
, BBufferConsumer(B_MEDIA_RAW_VIDEO)
, BBufferConsumer(B_MEDIA_RAW_VIDEO)
fInput.format.type = B_MEDIA_RAW_VIDEO;
fHeader.type = B_MEDIA_RAW_VIDEO;
inOutFormat->type = B_MEDIA_RAW_VIDEO;
else if (fInputFormat.type == B_MEDIA_RAW_VIDEO)
if (fInputFormat.type == B_MEDIA_RAW_VIDEO) {
case B_MEDIA_RAW_VIDEO:
if (format->type == B_MEDIA_RAW_VIDEO) {
B_MEDIA_RAW_VIDEO,
B_MEDIA_RAW_VIDEO,
B_MEDIA_RAW_VIDEO,
B_MEDIA_RAW_VIDEO,
B_MEDIA_RAW_VIDEO,
B_MEDIA_RAW_VIDEO,
if (fInputFormat.type == B_MEDIA_RAW_VIDEO)
format.type = B_MEDIA_RAW_VIDEO;
if (ioEncodedFormat->type != B_MEDIA_RAW_AUDIO && ioEncodedFormat->type != B_MEDIA_RAW_VIDEO)
if (ioEncodedFormat->type == B_MEDIA_RAW_VIDEO) {
&cnt, B_MEDIA_RAW_VIDEO);
&fConsumerIn, 1, &cnt, B_MEDIA_RAW_VIDEO);
format.type = B_MEDIA_RAW_VIDEO;
fIn.format.type = B_MEDIA_RAW_VIDEO;
format->type = B_MEDIA_RAW_VIDEO;
if (format->type != B_MEDIA_RAW_VIDEO) {
BBufferConsumer(B_MEDIA_RAW_VIDEO),
case B_MEDIA_RAW_VIDEO: {
case B_MEDIA_RAW_VIDEO: {
m_format.type = B_MEDIA_RAW_VIDEO;
case B_MEDIA_RAW_VIDEO:
|| childAsFormat->m_format.type != B_MEDIA_RAW_VIDEO) {
if(m_format.type != B_MEDIA_RAW_VIDEO)
case B_MEDIA_RAW_VIDEO:
f.types[f.type_count] = B_MEDIA_RAW_VIDEO;
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
format.type = B_MEDIA_RAW_VIDEO; // !!! hmmm.. how to fully wildcard this?
if ((inputs[i].format.type == B_MEDIA_RAW_VIDEO)
if ((inputs[i].format.type == B_MEDIA_RAW_VIDEO)
if ((outputs[i].format.type == B_MEDIA_RAW_VIDEO)
if ((outputs[i].format.type == B_MEDIA_RAW_VIDEO)
if ((flavorInfo.in_formats[i].type == B_MEDIA_RAW_VIDEO)
if ((flavorInfo.out_formats[i].type == B_MEDIA_RAW_VIDEO)
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO: {
outVidFormat.type = B_MEDIA_RAW_VIDEO;
format.type = B_MEDIA_RAW_VIDEO;
format.type = B_MEDIA_RAW_VIDEO;
} else if (format.type == B_MEDIA_RAW_VIDEO) {
&videoOutput, 1, &count, B_MEDIA_RAW_VIDEO);
&videoInput, 1, &count, B_MEDIA_RAW_VIDEO);
format.type = B_MEDIA_RAW_VIDEO;
fIn.format.type = B_MEDIA_RAW_VIDEO;
format->type = B_MEDIA_RAW_VIDEO;
if (format->type != B_MEDIA_RAW_VIDEO) {
BBufferConsumer(B_MEDIA_RAW_VIDEO),
fOutput.format.type = B_MEDIA_RAW_VIDEO;
BBufferProducer(B_MEDIA_RAW_VIDEO),
h->type = B_MEDIA_RAW_VIDEO;
err = gMediaRoster->GetFreeOutputsFor(dvb_node, &output, 1, &count, B_MEDIA_RAW_VIDEO);
err = gMediaRoster->GetFreeInputsFor(video_window_node, &input, 1, &count, B_MEDIA_RAW_VIDEO);
fmt.type = B_MEDIA_RAW_VIDEO;
fmt.type = B_MEDIA_RAW_VIDEO;
&count, B_MEDIA_RAW_VIDEO);
fInput.format.type = B_MEDIA_RAW_VIDEO;
format->type = B_MEDIA_RAW_VIDEO;
if (format->type != B_MEDIA_RAW_VIDEO)
, BBufferConsumer(B_MEDIA_RAW_VIDEO)
if ((outputFormat.type == B_MEDIA_RAW_VIDEO
replycommand.info.format.type = B_MEDIA_RAW_VIDEO;
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
case B_MEDIA_RAW_VIDEO:
_format->type = B_MEDIA_RAW_VIDEO;
if (_format->type == B_MEDIA_RAW_VIDEO) {
case B_MEDIA_RAW_VIDEO:
_FindNodes(B_MEDIA_RAW_VIDEO, B_PHYSICAL_OUTPUT, fVideoOutputs);
_FindNodes(B_MEDIA_RAW_VIDEO, B_PHYSICAL_INPUT, fVideoInputs);
B_MEDIA_RAW_VIDEO);
B_MEDIA_RAW_VIDEO);
rawMediaFormat.type = B_MEDIA_RAW_VIDEO;
liveformat.type = B_MEDIA_RAW_VIDEO;