Searched defs:pic (Results 1 - 25 of 59) sorted by relevance

123

/external/ImageMagick/Magick++/demo/
H A Dgravity.cpp59 Image pic = base; local
60 pic.annotate( "NorthWest", Geometry(0,0,x,y), NorthWestGravity, angle );
61 pic.annotate( "North", Geometry(0,0,0,y), NorthGravity, angle );
62 pic.annotate( "NorthEast", Geometry(0,0,x,y), NorthEastGravity, angle );
63 pic.annotate( "East", Geometry(0,0,x,0), EastGravity, angle );
64 pic.annotate( "Center", Geometry(0,0,0,0), CenterGravity, angle );
65 pic.annotate( "SouthEast", Geometry(0,0,x,y), SouthEastGravity, angle );
66 pic.annotate( "South", Geometry(0,0,0,y), SouthGravity, angle );
67 pic.annotate( "SouthWest", Geometry(0,0,x,y), SouthWestGravity, angle );
68 pic
[all...]
/external/skia/tools/
H A Dskp_parser.cpp29 sk_sp<SkPicture> pic = SkPicture::MakeFromStream(&input); local
30 if (!pic) {
34 SkISize size = pic->cullRect().roundOut().size();
36 pic->playback(&debugCanvas);
H A Dok_vias.cpp52 auto pic = rec.finishRecordingAsPicture(); variable
55 pic->playback(canvas);
H A Dpinspect.cpp36 auto pic = SkPicture::MakeFromStream(&stream); local
37 if (nullptr == pic) {
42 pic->cullRect().fLeft, pic->cullRect().fTop,
43 pic->cullRect().fRight, pic->cullRect().fBottom);
44 return pic;
47 static void dumpOps(SkPicture* pic) { argument
51 canvas.drawPicture(pic);
73 auto pic(inspec
[all...]
H A Dok_srcs.cpp79 sk_sp<SkPicture> pic; member in struct:SKPStream::SKPSrc
82 if (pic) { return; }
84 pic = SkPicture::MakeFromData(skp.get());
93 return pic->cullRect().roundOut().size();
99 pic->playback(canvas);
/external/mesa3d/src/gallium/drivers/radeon/
H A Dradeon_vce_50.c50 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod
51 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate
52 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate
53 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum
55 RVCE_CS(enc->pic.quant_i_frames); // encQP_I
56 RVCE_CS(enc->pic.quant_p_frames); // encQP_P
57 RVCE_CS(enc->pic.quant_b_frames); // encQP_B
58 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize
59 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen
63 RVCE_CS(enc->pic
236 radeon_vce_50_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
[all...]
H A Dradeon_vce_40_2_2.c107 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod
108 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate
109 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate
110 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum
112 RVCE_CS(enc->pic.quant_i_frames); // encQP_I
113 RVCE_CS(enc->pic.quant_p_frames); // encQP_P
114 RVCE_CS(enc->pic.quant_b_frames); // encQP_B
115 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize
116 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen
120 RVCE_CS(enc->pic
434 radeon_vce_40_2_2_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
[all...]
H A Dradeon_vce_52.c43 static void get_rate_control_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
45 enc->enc_pic.rc.rc_method = pic->rate_ctrl.rate_ctrl_method;
46 enc->enc_pic.rc.target_bitrate = pic->rate_ctrl.target_bitrate;
47 enc->enc_pic.rc.peak_bitrate = pic->rate_ctrl.peak_bitrate;
48 enc->enc_pic.rc.quant_i_frames = pic->quant_i_frames;
49 enc->enc_pic.rc.quant_p_frames = pic->quant_p_frames;
50 enc->enc_pic.rc.quant_b_frames = pic->quant_b_frames;
51 enc->enc_pic.rc.gop_size = pic->gop_size;
52 enc->enc_pic.rc.frame_rate_num = pic->rate_ctrl.frame_rate_num;
53 enc->enc_pic.rc.frame_rate_den = pic
64 get_motion_estimation_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
81 get_pic_control_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
115 get_vui_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
141 radeon_vce_52_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
[all...]
/external/skia/samplecode/
H A DSampleClamp.cpp47 SkPicture pic; local
48 SkCanvas* c = pic.beginRecording(100, 100, 0);
H A DSamplePathFinder.cpp38 sk_sp<SkPicture> pic = SkPicture::MakeFromStream(&stream); local
39 if (!pic) {
43 pic->playback(this);
H A DSamplePdfFileViewer.cpp42 SkPicture* pic = new SkPicture; local
43 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(),
46 pic->endRecording();
47 return pic;
H A DGMSampleView.cpp71 sk_sp<SkPicture> pic = recorder.finishRecordingAsPicture(); local
73 pic = round_trip_serialize(pic.get());
75 origCanvas->drawPicture(pic);
H A DSamplePictFile.cpp148 sk_sp<SkPicture> pic; local
158 pic = recorder.finishRecordingAsPicture();
162 pic = SkPicture::MakeFromStream(&stream);
169 pic->playback(recorder.beginRecording(pic->cullRect().width(),
170 pic->cullRect().height(),
181 if (nullptr == pic) {
189 return pic;
198 pic->playback(recorder.beginRecording(pic
[all...]
/external/skia/tools/viewer/
H A DSKPSlide.cpp44 auto pic = SkPicture::MakeFromStream(stream.get()); local
45 if (!pic) {
48 return pic;
/external/skia/bench/
H A DRecordingBench.cpp14 PictureCentricBench::PictureCentricBench(const char* name, const SkPicture* pic) : fName(name) { argument
17 pic->playback(rec.beginRecording(pic->cullRect(), nullptr,
37 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH, bool lite) argument
38 : INHERITED(name, pic)
74 PipingBench::PipingBench(const char* name, const SkPicture* pic) : INHERITED(name, pic) { argument
H A DSKPAnimationBench.cpp13 SKPAnimationBench::SKPAnimationBench(const char* name, const SkPicture* pic, const SkIRect& clip, argument
15 : INHERITED(name, pic, clip, 1.0, false, doLooping)
H A DSKPBench.cpp24 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, argument
26 : fPic(SkRef(pic))
/external/clang/test/Analysis/engine/
H A Dreplay-without-inlining.c37 static void readILBM(IB *st, Info *pic) { argument
39 pic->usedtobeundef.w = 5;
52 Info pic; local
56 readILBM(&st,&pic);
57 return pic.usedtobeundef.w; // No undefined value warning here.
/external/skia/gm/
H A Dimage_shader.cpp29 static sk_sp<SkImage> make_raster(GrContext*, SkPicture* pic, const SkImageInfo& info) { argument
32 surface->getCanvas()->drawPicture(pic);
36 static sk_sp<SkImage> make_texture(GrContext* ctx, SkPicture* pic, const SkImageInfo& info) { argument
45 surface->getCanvas()->drawPicture(pic);
49 static sk_sp<SkImage> make_pict_gen(GrContext*, SkPicture* pic, const SkImageInfo& info) { argument
50 return SkImage::MakeFromPicture(sk_ref_sp(pic), info.dimensions(), nullptr, nullptr,
55 static sk_sp<SkImage> make_encode_gen(GrContext* ctx, SkPicture* pic, const SkImageInfo& info) { argument
56 sk_sp<SkImage> src(make_raster(ctx, pic, info));
H A Dfilterfastbounds.cpp240 sk_sp<SkPicture> pic; variable
247 pic = rec.finishRecordingAsPicture();
251 create_paints(&pifPaints, SkPictureImageFilter::Make(pic));
/external/skia/src/core/
H A DSkPictureRecorder.cpp61 auto pic = fMiniRecorder->detachAsPicture(fBBH ? nullptr : &fCullRect); local
63 return pic;
/external/skia/src/images/
H A DSkWebpEncoder.cpp144 WebPPicture pic; local
145 WebPPictureInit(&pic);
146 SkAutoTCallVProc<WebPPicture, WebPPictureFree> autoPic(&pic);
147 pic.width = pixmap.width();
148 pic.height = pixmap.height();
149 pic.writer = stream_writer;
160 pic.use_argb = 0;
164 pic.use_argb = 1;
172 pic.custom_ptr = icc ? (void*)&tmp : (void*)stream;
175 const int rgbStride = pic
[all...]
/external/v4l2_codec2/vda/
H A Dh264_dpb.cc69 for (auto& pic : pics_) {
70 pic->dpb_position = i;
97 void H264DPB::StorePic(const scoped_refptr<H264Picture>& pic) { argument
99 DVLOG(3) << "Adding PicNum: " << pic->pic_num << " ref: " << (int)pic->ref
100 << " longterm: " << (int)pic->long_term << " to DPB";
101 pic->dpb_position = pics_.size();
102 pics_.push_back(pic);
120 for (const auto& pic : pics_) {
121 if (pic
[all...]
H A Dvp9_decoder.cc135 scoped_refptr<VP9Picture> pic = accelerator_->CreateVP9Picture(); local
136 if (!pic)
139 pic->frame_hdr.reset(curr_frame_hdr_.release());
141 if (!DecodeAndOutputPicture(pic)) {
148 void VP9Decoder::RefreshReferenceFrames(const scoped_refptr<VP9Picture>& pic) { argument
150 DCHECK(!pic->frame_hdr->IsKeyframe() || pic->frame_hdr->RefreshFlag(i));
151 if (pic->frame_hdr->RefreshFlag(i))
152 ref_frames_[i] = pic;
157 const scoped_refptr<VP9Picture>& pic,
156 UpdateFrameContext( const scoped_refptr<VP9Picture>& pic, const base::Callback<void(const Vp9FrameContext&)>& context_refresh_cb) argument
171 DecodeAndOutputPicture(scoped_refptr<VP9Picture> pic) argument
[all...]
/external/webp/src/enc/
H A Dpicture_rescale_enc.c35 static void SnapTopLeftPosition(const WebPPicture* const pic, argument
37 if (!pic->use_argb) {
44 static int AdjustAndCheckRectangle(const WebPPicture* const pic, argument
47 SnapTopLeftPosition(pic, left, top);
50 if ((*left) + width > pic->width) return 0;
51 if ((*top) + height > pic->height) return 0;
122 int WebPPictureCrop(WebPPicture* pic, argument
126 if (pic == NULL) return 0;
127 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0;
129 PictureGrabSpecs(pic,
181 AlphaMultiplyARGB(WebPPicture* const pic, int inverse) argument
187 AlphaMultiplyY(WebPPicture* const pic, int inverse) argument
194 WebPPictureRescale(WebPPicture* pic, int width, int height) argument
[all...]

Completed in 924 milliseconds

123