Home
last modified time | relevance | path

Searched refs:picture (Results 1 – 25 of 818) sorted by relevance

12345678910>>...33

/external/mesa3d/src/gallium/state_trackers/vdpau/
Ddecode.c226 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, in vlVdpDecoderRenderMpeg12() argument
233 r = vlVdpGetReferenceFrame(picture_info->forward_reference, &picture->ref[0]); in vlVdpDecoderRenderMpeg12()
237 r = vlVdpGetReferenceFrame(picture_info->backward_reference, &picture->ref[1]); in vlVdpDecoderRenderMpeg12()
241 picture->picture_coding_type = picture_info->picture_coding_type; in vlVdpDecoderRenderMpeg12()
242 picture->picture_structure = picture_info->picture_structure; in vlVdpDecoderRenderMpeg12()
243 picture->frame_pred_frame_dct = picture_info->frame_pred_frame_dct; in vlVdpDecoderRenderMpeg12()
244 picture->q_scale_type = picture_info->q_scale_type; in vlVdpDecoderRenderMpeg12()
245 picture->alternate_scan = picture_info->alternate_scan; in vlVdpDecoderRenderMpeg12()
246 picture->intra_vlc_format = picture_info->intra_vlc_format; in vlVdpDecoderRenderMpeg12()
247 picture->concealment_motion_vectors = picture_info->concealment_motion_vectors; in vlVdpDecoderRenderMpeg12()
[all …]
/external/webp/src/enc/
Dpicture_enc.c26 const WebPPicture* const picture) { in DummyWriter() argument
30 (void)picture; in DummyWriter()
34 int WebPPictureInitInternal(WebPPicture* picture, int version) { in WebPPictureInitInternal() argument
38 if (picture != NULL) { in WebPPictureInitInternal()
39 memset(picture, 0, sizeof(*picture)); in WebPPictureInitInternal()
40 picture->writer = DummyWriter; in WebPPictureInitInternal()
41 WebPEncodingSetError(picture, VP8_ENC_OK); in WebPPictureInitInternal()
48 static void WebPPictureResetBufferARGB(WebPPicture* const picture) { in WebPPictureResetBufferARGB() argument
49 picture->memory_argb_ = NULL; in WebPPictureResetBufferARGB()
50 picture->argb = NULL; in WebPPictureResetBufferARGB()
[all …]
Dpicture_csp_enc.c58 int WebPPictureHasTransparency(const WebPPicture* picture) { in WebPPictureHasTransparency() argument
59 if (picture == NULL) return 0; in WebPPictureHasTransparency()
60 if (!picture->use_argb) { in WebPPictureHasTransparency()
61 return CheckNonOpaque(picture->a, picture->width, picture->height, in WebPPictureHasTransparency()
62 1, picture->a_stride); in WebPPictureHasTransparency()
65 return CheckNonOpaque((const uint8_t*)picture->argb + alpha_offset, in WebPPictureHasTransparency()
66 picture->width, picture->height, in WebPPictureHasTransparency()
67 4, picture->argb_stride * sizeof(*picture->argb)); in WebPPictureHasTransparency()
397 WebPPicture* const picture) { in ConvertWRGBToYUV() argument
399 uint8_t* dst_y = picture->y; in ConvertWRGBToYUV()
[all …]
Dalpha_enc.c55 WebPPicture picture; in EncodeLossless() local
57 WebPPictureInit(&picture); in EncodeLossless()
58 picture.width = width; in EncodeLossless()
59 picture.height = height; in EncodeLossless()
60 picture.use_argb = 1; in EncodeLossless()
61 picture.stats = stats; in EncodeLossless()
62 if (!WebPPictureAlloc(&picture)) return 0; in EncodeLossless()
65 WebPDispatchAlphaToGreen(data, width, picture.width, picture.height, in EncodeLossless()
66 picture.argb, picture.argb_stride); in EncodeLossless()
89 ok = (VP8LEncodeStream(&config, &picture, bw, 0 /*use_cache*/) == VP8_ENC_OK); in EncodeLossless()
[all …]
Dnear_lossless_enc.c110 int VP8ApplyNearLossless(const WebPPicture* const picture, int quality, in VP8ApplyNearLossless() argument
113 const int xsize = picture->width; in VP8ApplyNearLossless()
114 const int ysize = picture->height; in VP8ApplyNearLossless()
115 const int stride = picture->argb_stride; in VP8ApplyNearLossless()
130 memcpy(argb_dst + i * xsize, picture->argb + i * picture->argb_stride, in VP8ApplyNearLossless()
137 NearLossless(xsize, ysize, picture->argb, stride, limit_bits, copy_buffer, in VP8ApplyNearLossless()
Dvp8l_enc.c1250 const WebPPicture* const picture = enc->pic_; in MakeInputImageCopy() local
1251 const int width = picture->width; in MakeInputImageCopy()
1252 const int height = picture->height; in MakeInputImageCopy()
1260 const uint32_t* src = picture->argb; in MakeInputImageCopy()
1265 src += picture->argb_stride; in MakeInputImageCopy()
1475 const WebPPicture* const picture) { in VP8LEncoderNew() argument
1478 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY); in VP8LEncoderNew()
1482 enc->pic_ = picture; in VP8LEncoderNew()
1519 const WebPPicture* const picture = params->picture_; in EncodeStreamHook() local
1533 const int width = picture->width; in EncodeStreamHook()
[all …]
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/
Dvid_dec_mpeg12.c82 priv->picture.base.profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN; in vid_dec_mpeg12_Init()
83 priv->picture.mpeg12.intra_matrix = default_intra_matrix; in vid_dec_mpeg12_Init()
84 priv->picture.mpeg12.non_intra_matrix = default_non_intra_matrix; in vid_dec_mpeg12_Init()
93 if (priv->picture.mpeg12.picture_coding_type != PIPE_MPEG12_PICTURE_CODING_TYPE_B) { in BeginFrame()
94 priv->picture.mpeg12.ref[0] = priv->picture.mpeg12.ref[1]; in BeginFrame()
95 priv->picture.mpeg12.ref[1] = NULL; in BeginFrame()
98 if (priv->target == priv->picture.mpeg12.ref[0]) { in BeginFrame()
106 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in BeginFrame()
114 priv->codec->end_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_mpeg12_EndFrame()
117 if (priv->picture.mpeg12.picture_coding_type != PIPE_MPEG12_PICTURE_CODING_TYPE_B) { in vid_dec_mpeg12_EndFrame()
[all …]
Dvid_dec_h264.c90 priv->picture.base.profile = PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH; in vid_dec_h264_Init()
97 priv->picture.h264.field_order_cnt[0] = priv->picture.h264.field_order_cnt[1] = INT_MAX; in vid_dec_h264_Init()
116 templat.max_references = priv->picture.h264.num_ref_frames; in vid_dec_h264_BeginFrame()
120 templat.level = priv->picture.h264.pps->sps->level_idc; in vid_dec_h264_BeginFrame()
131 priv->picture.h264.num_ref_frames = priv->picture.h264.pps->sps->max_num_ref_frames; in vid_dec_h264_BeginFrame()
133 priv->picture.h264.slice_count = 0; in vid_dec_h264_BeginFrame()
134 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_BeginFrame()
178 priv->codec->end_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_EndFrame()
182 priv->picture.h264.frame_num_list[0] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame()
183 priv->picture.h264.field_order_cnt_list[0][0] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame()
[all …]
Dvid_dec_h265.c128 priv->picture.h265.CurrPicOrderCntVal = i; in set_poc()
140 return priv->picture.h265.CurrPicOrderCntVal; in get_poc()
643 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h265_BeginFrame()
688 priv->picture.h265.NumPocStCurrBefore = 0; in vid_dec_h265_EndFrame()
689 priv->picture.h265.NumPocStCurrAfter = 0; in vid_dec_h265_EndFrame()
690 memset(priv->picture.h265.RefPicSetStCurrBefore, 0, 8); in vid_dec_h265_EndFrame()
691 memset(priv->picture.h265.RefPicSetStCurrAfter, 0, 8); in vid_dec_h265_EndFrame()
693 priv->picture.h265.ref[i] = NULL; in vid_dec_h265_EndFrame()
694 priv->picture.h265.PicOrderCntVal[i] = 0; in vid_dec_h265_EndFrame()
702 priv->picture.h265.NumDeltaPocsOfRefRpsIdx = rps->num_delta_poc; in vid_dec_h265_EndFrame()
[all …]
/external/webp/src/webp/
Dencode.h236 const WebPPicture* picture);
257 const WebPPicture* picture);
262 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
366 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument
367 return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION); in WebPPictureInit()
377 WEBP_EXTERN int WebPPictureAlloc(WebPPicture* picture);
384 WEBP_EXTERN void WebPPictureFree(WebPPicture* picture);
424 WEBP_EXTERN int WebPPictureCrop(WebPPicture* picture,
444 WEBP_EXTERN int WebPPictureIsView(const WebPPicture* picture);
458 WebPPicture* picture, const uint8_t* rgb, int rgb_stride);
[all …]
/external/webp/include/webp/
Dencode.h236 const WebPPicture* picture);
257 const WebPPicture* picture);
262 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
366 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument
367 return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION); in WebPPictureInit()
377 WEBP_EXTERN int WebPPictureAlloc(WebPPicture* picture);
384 WEBP_EXTERN void WebPPictureFree(WebPPicture* picture);
424 WEBP_EXTERN int WebPPictureCrop(WebPPicture* picture,
444 WEBP_EXTERN int WebPPictureIsView(const WebPPicture* picture);
458 WebPPicture* picture, const uint8_t* rgb, int rgb_stride);
[all …]
/external/skia/docs/
DSkPicture_Reference.bmh25 #Line # utility to stop picture playback ##
105 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
107 picture->playback(canvas, &callback);
129 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
131 picture->serialize(&writableStream);
156 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
158 picture->serialize(&writableStream);
181 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
183 picture->serialize(&writableStream);
207 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
[all …]
/external/skqp/docs/
DSkPicture_Reference.bmh25 #Line # utility to stop picture playback ##
105 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
107 picture->playback(canvas, &callback);
129 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
131 picture->serialize(&writableStream);
156 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
158 picture->serialize(&writableStream);
181 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
183 picture->serialize(&writableStream);
207 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
[all …]
/external/skia/src/effects/imagefilters/
DSkPictureImageFilter.cpp21 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture) { in Make() argument
22 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture))); in Make()
25 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture, in Make() argument
27 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture), cropRect, nullptr)); in Make()
30 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture) in SkPictureImageFilter() argument
32 , fPicture(std::move(picture)) in SkPictureImageFilter()
36 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, in SkPictureImageFilter() argument
39 , fPicture(std::move(picture)) in SkPictureImageFilter()
57 sk_sp<SkPicture> picture; in CreateProc() local
61 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
[all …]
/external/skqp/src/effects/imagefilters/
DSkPictureImageFilter.cpp21 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture) { in Make() argument
22 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture))); in Make()
25 sk_sp<SkImageFilter> SkPictureImageFilter::Make(sk_sp<SkPicture> picture, in Make() argument
27 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture), cropRect, nullptr)); in Make()
30 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture) in SkPictureImageFilter() argument
32 , fPicture(std::move(picture)) in SkPictureImageFilter()
36 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, in SkPictureImageFilter() argument
39 , fPicture(std::move(picture)) in SkPictureImageFilter()
57 sk_sp<SkPicture> picture; in CreateProc() local
61 picture = SkPicturePriv::MakeFromBuffer(buffer); in CreateProc()
[all …]
/external/skia/tests/
DGpuLayerCacheTest.cpp51 const SkPicture& picture,
57 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
65 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(),
71 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
120 sk_sp<SkPicture> picture;
128 picture = recorder.finishRecordingAsPicture();
135 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
139 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
168 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
185 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
[all …]
DPictureTest.cpp60 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_deleting_empty_picture() local
69 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_serializing_empty_picture() local
71 picture->serialize(&stream); in test_serializing_empty_picture()
149 void check_save_state(skiatest::Reporter* reporter, SkPicture* picture, in check_save_state() argument
152 SaveCountingCanvas canvas(SkScalarCeilToInt(picture->cullRect().width()), in check_save_state()
153 SkScalarCeilToInt(picture->cullRect().height())); in check_save_state()
155 picture->playback(&canvas); in check_save_state()
193 static void check_balance(skiatest::Reporter* reporter, SkPicture* picture) { in check_balance() argument
204 canvas.drawPicture(picture); in check_balance()
333 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_peephole() local
[all …]
DPictureShaderTest.cpp52 sk_sp<SkPicture> picture = makePicture(); in DEF_TEST() local
53 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
59 paint.setShader(SkPictureShader::Make(picture, in DEF_TEST()
65 REPORTER_ASSERT(reporter, !picture->unique()); in DEF_TEST()
79 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
/external/skqp/tests/
DGpuLayerCacheTest.cpp51 const SkPicture& picture,
57 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
65 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(),
71 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
120 sk_sp<SkPicture> picture;
128 picture = recorder.finishRecordingAsPicture();
135 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
139 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
168 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
185 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
[all …]
DPictureTest.cpp60 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_deleting_empty_picture() local
69 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_serializing_empty_picture() local
71 picture->serialize(&stream); in test_serializing_empty_picture()
149 void check_save_state(skiatest::Reporter* reporter, SkPicture* picture, in check_save_state() argument
152 SaveCountingCanvas canvas(SkScalarCeilToInt(picture->cullRect().width()), in check_save_state()
153 SkScalarCeilToInt(picture->cullRect().height())); in check_save_state()
155 picture->playback(&canvas); in check_save_state()
193 static void check_balance(skiatest::Reporter* reporter, SkPicture* picture) { in check_balance() argument
204 canvas.drawPicture(picture); in check_balance()
333 sk_sp<SkPicture> picture(recorder.finishRecordingAsPicture()); in test_peephole() local
[all …]
/external/libaom/libaom/av1/encoder/
Dhash_motion.c181 void av1_generate_block_2x2_hash_value(const YV12_BUFFER_CONFIG *picture, in av1_generate_block_2x2_hash_value() argument
187 const int x_end = picture->y_crop_width - width + 1; in av1_generate_block_2x2_hash_value()
188 const int y_end = picture->y_crop_height - height + 1; in av1_generate_block_2x2_hash_value()
191 if (picture->flags & YV12_FLAG_HIGHBITDEPTH) { in av1_generate_block_2x2_hash_value()
197 CONVERT_TO_SHORTPTR(picture->y_buffer) + y_pos * picture->y_stride + in av1_generate_block_2x2_hash_value()
199 picture->y_stride, p); in av1_generate_block_2x2_hash_value()
217 picture->y_buffer + y_pos * picture->y_stride + x_pos, in av1_generate_block_2x2_hash_value()
218 picture->y_stride, p); in av1_generate_block_2x2_hash_value()
233 void av1_generate_block_hash_value(const YV12_BUFFER_CONFIG *picture, in av1_generate_block_hash_value() argument
240 const int pic_width = picture->y_crop_width; in av1_generate_block_hash_value()
[all …]
/external/ImageMagick/coders/
Dwebp.c550 static int WebPEncodeProgress(int percent,const WebPPicture* picture) in WebPEncodeProgress() argument
560 image=(Image *) picture->user_data; in WebPEncodeProgress()
568 const WebPPicture *const picture) in WebPEncodeWriter() argument
573 image=(Image *) picture->custom_ptr; in WebPEncodeWriter()
611 picture; in WriteWEBPImage() local
627 if ((WebPPictureInit(&picture) == 0) || (WebPConfigInit(&configure) == 0)) in WriteWEBPImage()
630 picture.writer=WebPEncodeWriter; in WriteWEBPImage()
631 picture.custom_ptr=(void *) image; in WriteWEBPImage()
634 picture.writer=WebPMemoryWrite; in WriteWEBPImage()
635 picture.custom_ptr=(&writer_info); in WriteWEBPImage()
[all …]
/external/skqp/src/core/
DSkMultiPictureDraw.cpp18 void SkMultiPictureDraw::DrawData::init(SkCanvas* canvas, const SkPicture* picture, in init() argument
20 fPicture = SkRef(picture); in init()
57 const SkPicture* picture, in add() argument
60 if (nullptr == canvas || nullptr == picture) { in add()
66 array.append()->init(canvas, picture, matrix, paint); in add()
102 const SkPicture* picture = data.fPicture; in draw() local
104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
/external/skia/src/core/
DSkMultiPictureDraw.cpp18 void SkMultiPictureDraw::DrawData::init(SkCanvas* canvas, const SkPicture* picture, in init() argument
20 fPicture = SkRef(picture); in init()
57 const SkPicture* picture, in add() argument
60 if (nullptr == canvas || nullptr == picture) { in add()
66 array.append()->init(canvas, picture, matrix, paint); in add()
102 const SkPicture* picture = data.fPicture; in draw() local
104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
/external/flac/libFLAC/
Dmetadata_object.c486 object->data.picture.type = FLAC__STREAM_METADATA_PICTURE_TYPE_OTHER; in FLAC__metadata_object_new()
487 object->data.picture.mime_type = 0; in FLAC__metadata_object_new()
488 object->data.picture.description = 0; in FLAC__metadata_object_new()
498 if (!copy_cstring_(&object->data.picture.mime_type, "")) { in FLAC__metadata_object_new()
502 if (!copy_cstring_((char**)(&object->data.picture.description), "")) { in FLAC__metadata_object_new()
503 free(object->data.picture.mime_type); in FLAC__metadata_object_new()
595 to->data.picture.type = object->data.picture.type; in FLAC__metadata_object_clone()
596 if (!copy_cstring_(&to->data.picture.mime_type, object->data.picture.mime_type)) { in FLAC__metadata_object_clone()
600 …if (!copy_cstring_((char**)(&to->data.picture.description), (const char*)object->data.picture.desc… in FLAC__metadata_object_clone()
604 to->data.picture.width = object->data.picture.width; in FLAC__metadata_object_clone()
[all …]

12345678910>>...33