Question about Compilers & Programming Tools

2 Answers

Run length encoding source code in c++ - Compilers & Programming Tools

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that has over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 10 Answers

Here is a complete design of MPEG2 VLSI design which uses Run Length Encoder, and you can also find corresponding C++, verilog and VHDL code

Posted on Jun 08, 2012

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    President:

    An expert whose answer got voted for 500 times.

  • Master
  • 392 Answers

Dear friend I don't know C++ well but I just can suggest you to check this website:
http://www.codeproject.com/
I think you can find your answer there easily by a simple search.
I hope it could help. Good luck

Posted on Feb 24, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

What is error statemant?


The try...catch Statement The try...catch statement allows you to test a block of code for errors. The try block contains the code to be run, and the catch block contains the code to be executed if an error occurs
The try...catch Statement The try...catch statement allows you to test a block of code for errors. The try block contains the code to be run, and the catch block contains the code to be executed if an error occurs

Syntax:

try
{
//Run some code here
}
catch(err)
{
//Handle errors here
}try
{
//Run some code here
}
catch(err)
{
//Handle errors here
}

Apr 03, 2010 | ArcMedia JavaScript Source Code 3000 Pro...

Tip

Kodak video converter for windows


Kodak Video Converter - Convert Kodak video files
Kodak video converter converts Kodak video files to all popular formats like MP4, SWF, WMV, AVI, DV, MKV, FLV, RMVB, 3GP and HD videos without lowering any quality.
b1f3419.png
The output video files MOV from Kodak camcorder is not supported by many media player, portable devices and editing applications. With Kodak video converter, all headache will be resolved. Kodak Video Converter supports batch convert Kodak videos to something more common and editable and enable you import video to Windows Movie Maker, Sony Vegas and other editing program. You can simply choose to convert the best part of videos and integrate them with other source and merge into one. Free download the free trial copy and have a full evaluation now.
Note:
This version is for Windows?. If you are using Mac OS, please click here.

Simple yet Powerful video converter:
Bene fit from batch conversion of Kodak videos. Convert several video files at once and merge them into one, transfer them to devices.

Kodak camcorder family:
Kodak Zi8, Kodak Zi6, Kodak Zx1, Kodak PLAYSPORT, Kodak Easyshare, etc.

Powerful video converter:
Convert between video/audio files to import into Windows movie maker, Sony Vegas and Adobe premiere pro, Windows DVD maker, iTunes, Final Cut Pro (FCP) for Windows XP, Vista.

Output for portable devices:
iPod, iPhone, iPad, Apple TV, Sony PSP, Creative Zen, Zune, BlackBerry, Gphone, Nexus one, Wii, etc.

Make videos ready for website:
Flash SWF and FLV, RM or WMV movies.

Manage almost all video and audio formats:
Kodak video converter can accept all regular formats (HD videos are included), such as TOD, MOD, MTS, M2TS, TS, TP, MOV, WMV, MP4, AVI, FLV, DV, RM, RMVB, SWF, MPG, 3GP, etc.

Edit video files with basic editing function

Trim set start and end point to define the playing length .

Crop set aspect ratio, 16:9, 4:3, full screen etc.

Apply Effect adjusts brightness, contrast, and saturation; special effect: gray, emboss, old film etc.

Output parameter settings Resolution, Frame Rate, Encoder and Briate of video, Sample Rate, Channel, Encoder and Bitrate of Audio.

Merge join multi-file into whole movie.

Split One Into Several From one single file, split it into several part so you can fit them on your multimedia device.

Snapshot capture images simply using snapshot button while previewing the movie.

Rotate: Rotate vertically and horizontally
Screenshot
6b8c81e.jpg

on Sep 17, 2010 | Compilers & Programming Tools

Tip

Speak like Stephen Hawking or Gorf on your PC using this VBscript


I have been doing this since I had a Sinclair Spectrum before Alan Sugar and Sir Clive exchanged goods, now you to can do it with a simple Visual Basic Script

9c3f60b.jpg

All you need to do is type in the text that you want your PC to speak and press enter.

Download link for my texttalk.exe or the encoded VBS is on my Public Sky Drive HERE if you wish to play with the source code please e-mail me at owendawson@sky.com for my original VBS file, £1 donations welcomed at the same paypal account for the code

on May 30, 2010 | Microsoft Visual Basic Professional...

2 Answers

Please i want source code calculator using asp.net


i want the source code for simple calculater in asp.net

Mar 17, 2009 | Microsoft Compilers & Programming Tools

1 Answer

Java source code


/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
//package optimalcluster;
/**
*
* @author CSEEXAM2008
*/
import java.awt.*;
import java.awt.geom.*;
import javax.swing.*;
public class GraphingData extends JPanel {
double[] data = {
0.504782921308152, 1.174144134378306, 2.0933754535558546,6.2625807939548823,8.8484441414277364,10.0000003,12.908978000,14.8906789456,12.9087654567 };
final int PAD = 20;
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
int w = getWidth();
int h = getHeight();
// Draw ordinate.
g2.draw(new Line2D.Double(PAD, PAD, PAD, h-PAD));
// Draw abcissa.
g2.draw(new Line2D.Double(PAD, h-PAD, w-PAD, h-PAD));
double xInc = (double)(w - 2*PAD)/(data.length-1);
double scale = (double)(h - 2*PAD)/getMax();
// Mark data points.
g2.setPaint(Color.red);

for(int i = 0; i < data.length; i++) {
double x = PAD + i*xInc;
double y = h - PAD - scale*data[i];
g2.fill(new Ellipse2D.Double(x-2, y-2, 4, 4));

}
g2.setPaint(Color.black);
for(int i = 0; i < data.length; i++) {
double x = PAD + i*xInc;
double y = h - PAD - scale*data[i];
g2.fill(new Ellipse2D.Double(x-2+4, y-2+4, 4, 4));
}
g2.setPaint(Color.blue);

for(int i = 0; i < data.length; i++) {
double x = PAD + i*xInc;
double y = h - PAD - scale*data[i];
g2.fill(new Ellipse2D.Double(x-2+6, y-2+6, 4, 4));
}
g2.setPaint(Color.pink);

for(int i = 0; i < data.length; i++) {
double x = PAD + i*xInc;
double y = h - PAD - scale*data[i];
g2.fill(new Ellipse2D.Double(x-2+8, y-2+8, 4, 4));
}

}
private double getMax() {
double max = -Integer.MAX_VALUE;
for(int i = 0; i < data.length; i++) {
if(data[i] > max)
max = data[i];
}
return max;
}
public static void main(String[] args) {
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.add(new GraphingData());
f.setSize(400,400);
f.setLocation(200,200);
f.setVisible(true);
}
}

Feb 07, 2009 | ArcMedia JavaScript Source Code 3000 Pro...

1 Answer

Unable to View Java Applet


"load: class JFI.class not found."
Based on the console output, it means that it cannot find the java applet class. In other words, the applet is missing on the server side. There is nothing that you can do about it, unless you know the person who created the applet. Good luck :)

Dec 23, 2008 | ArcMedia JavaScript Source Code 3000 Pro...

2 Answers

PHP Source


hi,

i would like to tell that the php code doesn't appear when you open the source of the webpage , the server hides the php codes simply ,

thanks !

Sep 03, 2008 | The PHP Group PHP

1 Answer

Use vb.net and access


Imports System
Imports System.IO
Imports System.Data
Public Class SaveImage
Shared Sub main()
Dim o As System.IO.FileStream
Dim r As StreamReader
Dim gifFile As String
Console.Write("Enter a Valid .Gif file path")
gifFile = Console.ReadLine
If Dir(gifFile) = "" Then
Console.Write("Invalid File Path")
Exit Sub
End If
o = New FileStream(gifFile, FileMode.Open, FileAccess.Read, FileShare.Read)
r = New StreamReader(o)
Try
Dim FileByteArray(o.Length - 1) As Byte
o.Read(FileByteArray, 0, o.Length)
Dim Con As New _ System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data
Source=Test.mdb")
Dim Sql As String = "INSERT INTO images (Pic,FileSize) VALUES (?,?)"
Dim Cmd As New System.Data.OleDb.OleDbCommand(Sql, Con)
Cmd.Parameters.Add("@Pic", System.Data.OleDb.OleDbType.Binary, o.Length).Value = FileByteArray
Cmd.Parameters.Add("@FileSize", System.Data.OleDb.OleDbType.VarChar, 100).Value = o.Length
Con.Open()
Cmd.ExecuteNonQuery()
Con.Close()
Catch ex As Exception
Console.Write(ex.ToString)
End Try
End Sub
End Class

Jul 08, 2008 | Microsoft Compilers & Programming Tools

Not finding what you are looking for?
Compilers & Programming Tools Logo

Related Topics:

1,194 people viewed this question

Ask a Question

Usually answered in minutes!

Top Compilers & Programming Tools Experts

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Fred Block
Fred Block

Level 2 Expert

289 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18304 Answers

Are you a Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...